Vibe Coding Forem

Cover image for Sharing My Little Experiment: Code Genie – A Simple Open-Source Tool to Help with Code Ideas
Sherin Joseph Roy
Sherin Joseph Roy

Posted on

Sharing My Little Experiment: Code Genie – A Simple Open-Source Tool to Help with Code Ideas

I’ve been trying to simplify my development workflow for a while.
Most days, I open my editor just to fix a tiny issue…and end up context-switching more than writing code.

So I built a small tool for myself — and decided to open-source it in case it helps anyone else.

Code-Genie: https://github.com/Sherin-SEF-AI/code-genie
(If you try it out, feedback is really appreciated.)


🌱 Why I Made It

Nothing fancy — just a few simple goals:

  • reduce time spent switching between terminal ↔ editor
  • fix small bugs quickly
  • generate boilerplate when I’m tired
  • make refactoring less…painful

It’s definitely not perfect, but it’s been useful for me.


✨ What It Can Do (In Simple Terms)

✔️ Write or edit code from natural language

codegenie "Convert this to async/await"
Enter fullscreen mode Exit fullscreen mode

✔️ Fix errors in a file

codegenie "Fix the undefined variable"
Enter fullscreen mode Exit fullscreen mode

✔️ Generate small building blocks

codegenie "Create a FastAPI POST route"
Enter fullscreen mode Exit fullscreen mode

✔️ Improve readability / optimize code

codegenie "Clean up this function"
Enter fullscreen mode Exit fullscreen mode

It just works on the file you point it to and makes minimal edits.


🛠️ How It Works (Very Simply)

  • Python CLI
  • Reads your local file
  • Sends context to an LLM (OpenAI/Anthropic/Groq/local models)
  • Applies the patch

I tried hard to keep the project small, clean, and easy to hack on.


📦 Installation

git clone https://github.com/Sherin-SEF-AI/code-genie
Enter fullscreen mode Exit fullscreen mode

🙏 I’d Love Feedback

This is just an early version — I’m still learning and improving it.
If you spot bugs, have suggestions, or want to contribute, I’d really appreciate it.


💬 Question for Dev.to Community

What small coding pain would you automate if you could?
Curious to hear what others struggle with — it might help shape the next update.


Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.