@satirr/ghostcode
v0.1.25
Published
Terminal AI coding assistant — chat with LLMs, generate and save code, all from your terminal
Downloads
1,700
Maintainers
Readme
GhostCode
Terminal AI coding assistant. Chat with multiple AI providers, save code blocks automatically.
npm i -g @satirr/ghostcode
ghostcodeQuick start
npm i -g @satirr/ghostcode
ghostcodeInside the app, connect an API key:
/api connect groq gsk-<your-key>Get a free key at console.groq.com.
Commands
| Command | What it does |
|---|---|
| /api | Show provider list with status |
| /api connect <provider> <key> | Set API key directly |
| /api disconnect <provider> | Remove provider's key |
| /model <name> | Switch model for active provider |
| /provider <name> | Switch active provider |
| /clear | Clear chat history |
| /help | Show this help |
Auto-save: Code blocks in AI responses saved to ghostcode_gen/.
Providers
| Provider | Status | |---|---| | Groq | ✅ | | OpenAI | ✅ | | Anthropic | ✅ | | Ollama | ✅ | | OpenRouter | ✅ | | NVIDIA | ✅ |
API keys stored at ~/.ghostcode/config.json.
License
Apache 2.0 — see LICENSE.
