BashBuddy - AI Terminal Assistant
Published on Mar 7, 2025
What is BashBuddy?
BashBuddy is an AI terminal assistant that helps you create or complete bash commands naturally from the terminal, without having to jump into ChatGPT or similar. It was a weekend project that turned out to be useful to more people than I expected.
The idea came from constantly forgetting complex find or awk commands and having to open a browser to search for them. Why not just ask right there in the terminal?
It’s completely free and open-source! Check it out at wosherco/bashbuddy

How is it developed?
BashBuddy runs locally using Bun and ollama. The CLI is coded with Typescript, keeping it fast and type-safe.
For the cloud version, as well as the website, I used SvelteKit and Postgres. This gives users the choice: run everything locally for privacy, or use the cloud version for faster responses without needing to install ollama.
The local version uses your own ollama models, so no data leaves your machine. The cloud version uses more powerful models but still doesn’t store your command history.
Launch
The launch was a total success, with over 150 upvotes on our Product Hunt page , and 100+ users in the first week. What surprised me most was seeing people use it for learning - beginners would ask questions about what certain commands do, and BashBuddy would explain and generate examples.