NecroGit:我打造了 AI「亡靈法師」,讓停滯的開源程式碼庫重獲新生
NecroGit: I built an AI necromancer to resurrect dead open-source repositories
NecroGit 可協助復活停滯的開源程式碼庫,將舊程式碼改造為現代化、加固的軟件。它以 TabPFN-3.5 評估程式碼庫的「死亡時間」和腐化風險,透過 Browserbase(Stagehand v4)搜尋 Internet Archive,並用本地 Gemma 2(透過 Ollama)整理過時 AST、生成測試。整個示範在本機運行,內部程式碼不會離開用戶的裝置。
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine
What I Built
Over 40 million open-source repositories on GitHub lie dead in the digital graveyard—abandoned by creators, killed by bitrot, and haunted by deprecated APIs and unpatched CVEs.
In the spirit of Día de los Muertos and Halloween, NecroGit honors open-source history by summoning the ghosts of dead codebases and resurrecting them into modern, hardened software.
Point NecroGit at an abandoned repository (e.g., dead Python 2 tools from 2012). It:
- Calculates repository "Time of Death" and bitrot risk using Prior Labs TabPFN-3.5.
- Hunts the Internet Archive via Browserbase (Stagehand v4) to unearth vintage documentation.
- Cleanses deprecated ASTs and synthesizes modern tests using local Gemma 2 (via Ollama).
- Narrates the codebase's resurrection in the voice of the original author using ElevenLabs.
Who gets to benefit: Any developer inheriting legacy technical debt, or anyone who hates watching brilliant open-source software die.
Demo
Runs 100% local (privacy-first: vintage internal codebases never leave your machine):
bash
git clone https://github.com/SynthReaper/ghw-hacktoberfest26.git
cd ghw-hacktoberfest26/necrogit
pnpm install
pnpm agent:seance # Runs digital séance across vintage graveyard repos
pnpm web:dev # Launches Next.js 15 Séance Crypt Dashboard on localhost:3000
來源:DEV Community · dev.to