GPT-3 Powered Shell

Dev tools

shell command generator

SHOW HN2022

308points
111comments
#132of 2,570 in 2022
Top 6%of 2022 by points

How HN took it

MixedNo clear lean

13 positive, 18 neutral or asking, 1 mixed, 9 critical, out of 41 comments about the project. Thread score +0.03.

Idea: 12 for, 4 againstExecution: 1 for, 4 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for remembering rarely used commands like ffmpeg and tar

    From 4 comments
    • The killer app for LLMs will finally be able to write ffmpeg invocations
      krackers on HN
    • Or enter a valid tar command on first try.
      skocznymroczny on HN
    • I believe that you should be able to do basic CLI at least, but for rarely used commands or some incredibly complex one like ffmpeg, having an AI to do it is the way to go.
      linhns on HN
    • Seems very useful. Even as a very long-time user of the CLI, there are times I'll need to google how to do something, either because I forgot how, or I simply never knew. But…
      jchw on HN

Objections

  • Risk of dangerous commands running, especially for beginners

    From 3 comments
    • It seems like the use case is for folks who might be noobs and in that regard I’d argue this tool is significantly dangerous. The user could accept a command that removes all…
      pixel_tracing on HN
    • If you wanted to wash your hands of the Bad Things this might do, I would put a disclaimer somewhere on the site and on the tool's output. Something along the lines of "Running…
      mshake2 on HN
    • It's this a path where something could go terribly wrong, as GPT-3 does make mistakes?
      DotaFan on HN
  • Removes learning and fun from using the command line

    From 3 comments
    • Half of the fun of using cli is using it with your own knowledge imo. Using GPT3 makes it feel like I may as well use some GUI tool. I understand gpt3 will/does save time and…
      pleb_nz on HN
    • I for one agree with pleb_nz, its kind of like replacing CLI with GUI. Thank you, but no thanks! To me writing custom bash script or "kill -9 $(lsof -t /dev/nvidia0)" is much…
      tux on HN
    • Just like driving a manual-transmission car, part of fun is in the doing. Further, though, part of the doing makes it practical: engagement while driving is a good thing. How, if…
      ultrarunner on HN
  • Generated commands can be wrong or not match the request

    From 2 comments
    • Not so convincing if even the most basic example does not work completely. The Git example video/gif fails to push because it creates a repository with branch main and wants to…
      Calzifer on HN
    • Actually by using something like GPT3 you are kind of doing copy-and-paste in a way, because you are given pre-defined set of commands without ability to modify its arguments. It…
      tux on HN

Requests

  • Add a disclaimer and confirm commands before running

    From 2 comments
    • If you wanted to wash your hands of the Bad Things this might do, I would put a disclaimer somewhere on the site and on the tool's output. Something along the lines of "Running…
      mshake2 on HN
    • The Fig CLI has this feature! And lets you confirm commands before they run. They are also a pretty cool company, and the tool does much more (like letting you share secrets with…
      khalidx on HN
  • Support for open-source local models instead of paid API

    From 2 comments
    • It is a shame that OpenAI charges a variable fee for using its API. Ideally I'd like to have a similar model running on my own server and have this tool pinging it instead.
      gtsnexp on HN
    • Pretty cool! Does anyone know how open-source alternatives like GPT-J compare to ChatGPT? I've heard that it's comparable to GPT-3, but nothing close to GPT-3.5. I'd much prefer…
      zaidhaan on HN

Questions

  • How does it call ChatGPT without an API

    From 1 comment
    • My first reaction was, wait how do you use ChatGPT programmatically when it doesn't have an API available yet? I looked into the code and it looks like this uses some kind of…
      radarsat1 on HN

Alternatives named

  • Fig CLI

    From 1 comment
    • The Fig CLI has this feature! And lets you confirm commands before they run. They are also a pretty cool company, and the tool does much more (like letting you share secrets with…
      khalidx on HN
  • terminal-copilot

    From 1 comment
    • I use a similar one, https://github.com/Methexis-Inc/terminal-copilot.
      stared on HN
  • tldr

    From 2 comments
    • I kind of agree, use the terminal a lot and am satisfied whenever I don’t need to look up a command. However, the point of it isn’t knowing as much of it by heart as possible.…
      diarrhea on HN
    • Very cool idea. I love and highly recommend tldr (https://tldr.sh/). I might give this a shot someday (though I've found I never stick with things that don't work primarily…
      breck on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/34102363)