← Projects

Projects

Coterm

CLI TOOL

English in, CLI command out. Rust, a Vercel edge function, OpenAI. Asks before it runs something dumb.

Coterm, terminal demo

What it is

I know what I want. I forget the flags. Coterm takes English, gives a command, lets you edit it, then runs it on a keypress. Rust client, OpenAI behind a Vercel edge function, and a check for commands that can wreck a disk.

Stack

RustOpenAI APIVercel Edge FunctionsCLI

What it does

  • • English to a CLI command
  • • Edit the command before you run it
  • • Warns on dangerous commands
  • • One key to run, after you confirm

What was hard

  • • A command that is useful and not reckless
  • • Edit in place
  • • Run on one key after a confirm
  • • Keep the model call on the edge

What happened

  • • Public releases on GitHub
  • • Useful when someone freezes at the prompt
Home