GitGeist ๐ป: The Ghost in the Machines .week 4
GitGeist: The Ghost in the Machine ๐ป | Offline-First AI for Haunted Git Histories Built for the Hacktoberfest Open-Source AI Challenge โ Week 4: Ghost in the Machine . Every codebase has a haunted corridor. It's that one file containing a mysterious time.sleep(0.666) , a forgotten workaround, or a comment that says: // temporary fix โ DO NOT TOUCH . You run git blame to investigate, only toโฆ
GitGeist is an offline-first AI tool designed to analyze haunted Git histories and provide insights into suspicious code snippets. It's part of an Open-Source AI challenge for Hacktoberfest, aiming to help developers investigate old code without exposing private repository data. GitGeist combines two open-weight AI models, TabPFN and Google's Gemma 3, running on a local machine through Ollama.
The tool offers three main features. First is the TabPFN Haunting Forecaster, which analyses Git and system telemetry, including commit time, lines changed, cyclomatic complexity changes, days since a file was last modified, and test coverage signals to generate a Haunting Risk Score. Second is the Haunted Terminal Sรฉance, which uses Gemma 3 locally to provide an understandable explanation of suspicious code.
This includes the commit hash, author, timestamp, and forecast from the risk engine. If Ollama is unavailable, a deterministic fallback can still format the available metadata. Finally, the Digital Code Ofrenda creates a digital remembrance card for retired code and its maintainers, giving developers a way to acknowledge past work.
GitGeist is designed for developers maintaining legacy codebases, engineers investigating regressions, open-source maintainers, and teams seeking local AI-assisted code analysis. The tool runs locally, including on CPU-only systems, without needing a paid AI API key. It offers two interfaces: a Haunted Terminal CLI and a web interface. The project's code is available on GitHub under the MIT license.
Written by urgent.news from Dev.to's reporting โ not their text. Machine-written โ may contain errors; check the original before relying on it.