Hi everyone,
I’ve been experimenting with some ways to simplify everyday coding tasks, and I ended up building a small CLI tool called Code-Genie. It’s open-source, and I thought it might be useful to share it here with the Forem community.
GitHub Repo: https://github.com/Sherin-SEF-AI/code-genie
🌱 Why I Built It
I found myself switching between the terminal, editor, browser, and docs for even the smallest code fixes. Most of these tasks didn’t require a full IDE session — just a quick solution.
So I made a simple tool that lets me:
- describe a change in plain English
- apply that change to a file
- generate small pieces of code when needed
- fix errors or refactor without context overload
Nothing fancy — just something that reduced friction for me.
✨ What Code-Genie Does
You can type things like:
codegenie "Refactor this to async/await"
or
codegenie "Fix the undefined variable"
or even:
codegenie "Create a FastAPI POST endpoint"
It reads your file, sends context to an LLM (configurable), and applies only the required changes.
🔧 How It Works
- Python CLI
- Supports OpenAI, Anthropic, Groq, or local models
- Minimal code diffing
- Designed to be easy to extend and hack on
I kept the codebase intentionally small so contributors can understand it easily.
📦 Installation
clone the repo:
git clone https://github.com/Sherin-SEF-AI/code-genie
🙏 Looking for Feedback & Suggestions
This is an early project, and I’d genuinely appreciate:
- feature ideas
- bug reports
- language support suggestions
- feedback on the UX
Even small comments help a lot.
💬 Question for the Community
What’s one small coding task you wish your terminal could just “handle for you”?
I’d love to explore more ideas to make this tool genuinely helpful.
Top comments (0)