Show HN: I made a shell with AI suggestions – Caroushell (github.com)

🤖 AI Summary
Caroushell is a new interactive terminal that blends your shell history with live AI-generated command suggestions in a scrollable “carousel” UI. As you type, the top of the screen shows recent history and the bottom lists LLM-sourced completions; arrow keys move the highlight, Enter runs the selected command, Tab autocompletes files, and comments can be used to ask for contextual completions (e.g., an ffmpeg “slowmo 50%” comment produces ready-to-run ffmpeg flags). It logs activity to ~/.caroushell/logs and saves an extensible config at ~/.caroushell/config.toml so users can point the tool at different providers. Technically, Caroushell targets Node.js 18+, supports any endpoint implementing the OpenAI Chat Completions API (OpenAI, OpenRouter, etc.), and prompts for an API URL/key/model on first run; a Gemini API key will default to Gemini Flash Lite 2.5. Installable via npm/npx, it ships compiled in dist/, includes tests for AI generation, and is MIT-licensed. For the AI/ML community this is a practical example of LLMs as developer tooling—streamlining CLI workflows and provenance of prompts—but it also raises operational considerations: API key management, privacy of commands sent to providers, and potential risk from auto-executing suggested commands, so inspect logs/config and vet models/providers accordingly.
Loading comments...
loading comments...