Inspiration
Writing commit messages consistently and meaningfully can be a boring but crucial task, especially when working on multiple features or trying to maintain clean Git history. DevGhost was inspired by the desire to automate commit messaging using AI, so developers spend less time thinking about wording and more time building great software. It leverages AI (specifically Google’s Gemini API) to generate human-like, diff-aware commit messages.
What it does
DevGhost is a smart CLI tool that: Reads your Git diff. Sends the changes to an AI model. Generates a high-quality, meaningful commit message for you. Automatically stages and commits your code all in one command. It works across Git projects and aims to improve collaboration by keeping commit logs clean, readable, and consistent.
How we built it
-Language & Platform: Built in Python so it’s lightweight and easy to install. -AI Integration: Uses Google Gemini API to generate commit messages from diffs. -CLI Tool: Packaged with a command (devghost suggest) that runs in any Git repository. -User Setup: A simple devghost setup command collects: GitHub Personal Access Token Gemini API Key And stores them securely for future use. -Workflow: After setup: Make changes in your project. Run devghost suggest. DevGhost stages, generates a commit message, and commits with one Enter press.
Challenges we ran into
Cross-platform compatibility: Supporting Linux, macOS, and Windows required careful handling of Git commands.
Accomplishments that we're proud of
Built a fully functioning AI-powered Git commit CLI that automates real developer workflows.
What we learned
Developer experience is key: Simple CLI flows are more valuable than complex features — even if the idea is powerful. AI prompts matter: The quality of the commit message depends heavily on how prompts are structured before sending diffs to Gemini.
What's next for Devghost
Optional editing before commit (so users can tweak AI-generated messages). Multi-model support (e.g., Gemini, GPT, Claude), giving developers flexibility in AI backends.
Log in or sign up for Devpost to join the conversation.