TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Fig: Visual Apps and Shortcuts for Your Terminal

102 点作者 DanielKehoe将近 5 年前

19 条评论

mschrage将近 5 年前
Hey HN! I&#x27;m Matt Schrage, one of the cofounders of Fig.<p>We were planning on launching on HN later on, so this caught us a bit off guard. (As someone noted, our &#x27;Fig&#x27; icon is, in fact, an emoji pear). Still we&#x27;re super excited to share what we&#x27;ve been working on.<p>Fig lets you connect web apps directly to your terminal. You can use Fig like a browser to get quick access to sites like Github, Stack Overflow, or Notion. You can also run apps built on the Fig.js runtime that integrate directly with your terminal. We want to be a low-cost abstraction. Use a Fig app when it&#x27;s useful, drop back down to the shell when it&#x27;s not.<p>I just wanted to respond to a couple of points.<p>The app is actually written in Swift: we&#x27;re using a WKWebView under the hood but the majority of the codebase is native. Also because we aren&#x27;t built on Electron, we don&#x27;t need to bundle v8 and node along with the app, so the binary is pretty small (12mb).<p>Fig is extensible. The apps shown on the website (git, curl, and finder) are just a few examples of what is possible. You can check out the documentation at <a href="https:&#x2F;&#x2F;withfig.com&#x2F;docs" rel="nofollow">https:&#x2F;&#x2F;withfig.com&#x2F;docs</a> and build your own.<p>Fig works with the tools you already use - we integrate with any terminal emulator (iTerm, Terminal.app, Hyper, Alactritty, etc.). Previous attempts at building GUI terminals have required throwing away 50 years worth of tooling and transitioning to a new application entirely. Fig is built around the premise that in order to upgrade the terminal, <i>changes must be backwards compatible</i>.<p>Happy to answer any more questions and really appreciate the feedback we&#x27;ve gotten so far.
评论 #23768237 未加载
评论 #23770093 未加载
pcr910303将近 5 年前
Wow, HN is really harsh on the idea of merging CLIs and GUIs...<p>I think that merging CLIs and GUIs have a great potential.<p>GUIs are superior than CLIs on interaction because it gives context of the current state and visual cues. (And no, TUIs aren&#x27;t CLIs nor are they better than GUIs.) However users still use CLIs - the biggest advantage that CLIs have is that it allows various programs interact with each other, e.g. via piping. That&#x27;s why we have CLI programs that&#x27;s sole purposes that are communicating with GUI programs, for example almost every programmer&#x27;s text editor ships with a binary that can i.e. reading from stdin, opening an temporary file, and spitting out to stdin (or at least gives the capability of doing that) so that we can use it in e.g. moreutils vipe.<p>It seems Fig is an product that allows the reverse, e.g. tying GUIs to CLIs so that people can use git, curl or other CLI programs in a more interaction-friendly way. I think this is has a great potential, if it&#x27;s rightly executed (i.e. hopefully doesn&#x27;t use Electron...?)<p>PS: The argument that &#x27;every programmer knows how to use CLI, so this isn&#x27;t needed&#x27; is just proving the point - programmers deserve better than an plain-text 1970-era interaction, yet we have to use the Terminal daily to accomplish something.
评论 #23767699 未加载
评论 #23767864 未加载
评论 #23776880 未加载
foreigner将近 5 年前
The initial example with curl looks very compelling. I like that it&#x27;s not a replacement for the CLI, just a graphical way to build the CLI commands. Seems like a much better way of learning arcane command line arguments than the searching through man pages that I do now.<p>Some of the other examples like changing directories and the git client are less interesting for me - if I wanted to actually replace the CLI with a GUI there are better options.<p>I signed up for early access.
self_awareness将近 5 年前
I have no idea what it is. The main page is really terrible in telling me how it even looks like, I don&#x27;t even know why I would want this.<p>Is it a small web browser embedded into the terminal window? Or it&#x27;s a different thing? No idea.<p>GUI wrappers for common tools? How do you create a GUI wrapper for &#x27;bg&#x27;? With a form and 1 button named &quot;Run&quot;?
评论 #23767603 未加载
ipsum2将近 5 年前
&quot;TRUSTED BY ENGINEERS AT WORLD CLASS COMPANIES&quot;. This is embarrassing. Please stop doing this - just because a friend from a FAANG company installed your app, doesn&#x27;t mean its trusted by any company, or that anyone would use it on their internal codebase.
评论 #23767988 未加载
pixxel将近 5 年前
I should have closed the tab when I saw the boast of Facebook&#x2F;Google&#x2F;Microsoft logos and the words &quot;trusted by&quot;. But I thought I&#x27;d join the waiting list to see the product in action. So I give my email, I&#x27;m then whisked away to TypeForm&#x27;s website and I have to fill out a fucking form which starts by demanding my full name. I&#x27;m not giving an &quot;online survey service&quot; any of my details just to join a waiting list.
edfletcher_t137将近 5 年前
I use a terminal because it is NOT a GUI, significantly improving productivity once learned. I cannot grok this, it feels like a step in precisely the other direction.
评论 #23768207 未加载
rbosinger将近 5 年前
I can see the power in a future OS interface that really combined the terminal and GUI in a powerful way. Maybe this is a good start to thinking about that.
评论 #23767634 未加载
评论 #23776911 未加载
评论 #23767633 未加载
mahaganapati将近 5 年前
To me the logo looks like a pear instead of a fig
评论 #23767420 未加载
29athrowaway将近 5 年前
Just a reminder that Dialog&#x2F;Zenity&#x2F;KDialog can be used to create &quot;friendly&quot; user interfaces to scripts.
fmajid将近 5 年前
MPW (Macintosh Programmer’s Workshop) had a feature like that, called commandos IIRC, over 30 years ago. It did not set the world afire.<p>Furthermore, a closed-source solution is a non-starter.<p>The fish shell has an interesting feature where it parses man pages to autocomplete commands.
square_usual将近 5 年前
I personally don&#x27;t see the point. If you want a GUI for some commands, why not just get GUI apps which do those things? Why try to bolt a GUI onto a CLI, especially one that works by pasting commands back into a CLI? You&#x27;re relying on fig to develop UIs for all of your frequently used commands, and if you don&#x27;t like fig&#x27;s UIs for certain commands, you&#x27;re SOL until they let you make your own UIs, and at that point it&#x27;s basically an OS with an App Store. If you want a productivity boost from eliminating repeated commands, you&#x27;re better off writing aliases or bash scripts for your personal use, in my opinion.<p>Side note: I think the title should reflect the name of the service, Fig.
评论 #23767494 未加载
评论 #23767128 未加载
评论 #23767130 未加载
评论 #23768075 未加载
评论 #23768103 未加载
GeneralMaximus将近 5 年前
I really like this idea!<p>There are tons of CLI tools for which I&#x27;ve burned pretty much every flag that I&#x27;ll ever need into my muscle memory. But there are far more tools that I use only ocassionally -- like mysqldump -- where I have to dig through a manpage or tutorial just to get basic tasks done.<p>Something like this built into my terminal would make my life so much easier. It&#x27;s almost like a quick reference card or cheatsheet, except it&#x27;s totally interactive.
laumars将近 5 年前
So this is basically just an Electron terminal emulator with some shortcuts included? You can already do all this in a fair few existing terminal emulators, not to mention shell aliases et al. I mean I get the problem space they’re trying to solve but the landing page is so hyperbolic I’m put off investing any time to see if this actually has usability gains over what the team already do use
评论 #23768033 未加载
评论 #23767495 未加载
评论 #23767580 未加载
beshrkayali将近 5 年前
It might not be directly related to this, but I think it&#x27;s way better for learners to actually read the docs&#x2F;manpage and then try to craft the command themselves (getting it wrong a couple of times as well). This is kind of like copy&#x2F;pasting the answer, which solves the immediate problem but is terrible for learning what&#x27;s going on or how it works.
filmgirlcw将近 5 年前
For whatever hate this is getting, I like the idea a lot and signed-up and hope to be able to play with this. I can already think of a ton of apps I would build&#x2F;use with something like this -- not just for me, but for demos&#x2F;tutorials&#x2F;documentation I make for other users.<p>Keep doing your thing! It&#x27;s a good idea!
trevyn将近 5 年前
Unfortunately, it&#x27;s gotten to the point where adding anything proprietary to the workflow is a liability.
totetsu将近 5 年前
Should call it Fig leaf, because you&#x27;re hiding the best bits.
nobody9999将近 5 年前
Firstly, the webpage <i>bluescreened</i> my Windows 7 box in Firefox ESR <i>twice</i> with Javascript disabled.<p>Secondly, this is a stupid idea. If you want to do something like this to help folks learn the CLI, a tool like SMIT&#x2F;smitty (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;System_Management_Interface_Tool" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;System_Management_Interface_To...</a>) is the way to go.