Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

obby-cli

Talk to OpenAI GPT-5 from your terminal via Vercel AI Gateway.

Install

npm i -g obby-cli

Usage

obby "hey, what's up"
obby hello
echo"explain this code"| obby
obby -m openai/gpt-oss-120b "who is rauchg"

If AI_GATEWAY_API_KEY is not set, obby will open the Vercel dashboard and you should create one.

Environment variables:

  • AI_GATEWAY_API_KEY (required)
  • AI_GATEWAY_MODEL (optional, default: openai/gpt-5)

Options:

  • -m, --model — Specify AI model (default: openai/gpt-5)
  • -h, --help — Show help message

Get an API Key: AI Gateway

Configure API key

  • macOS/Linux (zsh):
    echo'export AI_GATEWAY_API_KEY="YOUR_KEY"'>>~/.zshrc
    source~/.zshrc
  • macOS/Linux (bash):
    echo'export AI_GATEWAY_API_KEY="YOUR_KEY"'>>~/.bashrc
    source~/.bashrc
  • fish:
    set -Ux AI_GATEWAY_API_KEY YOUR_KEY
  • Windows (PowerShell):
    setx AI_GATEWAY_API_KEY "YOUR_KEY"# open a new terminal for it to take effect

Verify:

obby "cowsay what"

Author

eersningtonObby

About

Talk to AI from your terminal via Vercel AI Gateway. Super minimal terminal chat

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages