Hey there! π€
I'm Brendan, co-founder & CEO of Fig. Fig adds IDE-style autocomplete to your existing terminal.
βοΈ Today, I'm excited to share Fig's take on traditional unix man pages: Manual Pages, by Fig (fig.io/manual).
Manual Pages provide beautiful, online documentation 300+ CLI tools. Here are some of the features we're excited about
π¦ Modern and beautiful
The terminal has barely changed since the 70s... Traditional man pages are black and white, monospaced, hard to scroll, and hard to quit...
It's 2022 - we thought we could do much better!! Fig's approach is modern, colorful, fast, discoverable, and web-based.
π Declarative Routing
We wanted to make it as easy as possible to share links to CLI tools and their specific subcommands. Therefore, all URLs follow a simple, declarative routing schema:
fig.io/manual/command/[subcommand...]
e.g.
- fig.io/manual/git
- fig.io/manual/git/stash
- fig.io/manual/git/stash/popπ¦ Open Graph Previews
When you share a fig.io/manual link on Twitter, LinkedIn etc, the social graph preview automatically shows the description + arguments taken by each subcommand. Check out the screenshot we shared.
It's a small touch but makes CLI tools much friendlier β¨
π Community driven and open source
All of Fig's autocomplete specs (the templates we use to generate autocomplete) are fully open source: github.com/withfig/autocomplete
If you find a problem with a subcommand, option, argument, or description feel free to contribute! It's super easy and we already have 200+ contributors
π₯ We'd love to hear what you think!
- Join our Discord community
- Join the conversation on Twitter
- Comment below!
Want to replace the built-in man pages with Fig?
Just run this bash/zsh function in your terminal:
```
man (){ open "https://fig.io/manual/$(echo "$*" | tr ' ' '/')" }
```
Then you can run commands like `man git commit` and https://fig.io/manual/git/commit will open in your browser :)
Hey guys! i am so happy for you guys!! congratulations on your launch
and also is the product going through smoothly or are there any technical glitches i want to eagerly try!! congrats on the launch @brendanfalk@robert_cooper
This is definitely the next generation of man pages.
I love how Fig is upgrading the terminal for the 21st century, starting with autocomplete and now with manual pages.
Really creative use of the open source completions. Traditional manual pages are literally from a different era - this is beautiful, easy to skim, and FAST! Great job on building this π
Cicada.build