How I Built RepoSéance: A Local-First AI Ghost Hunter That Resurrects Abandoned Codebases
Описание и применение
RepoSéance – локальный инструмент, который анализирует забытые репозитории, строит офлайн‑индекс и использует открытые модели LLM для восстановления архитектуры, выявления точек входа и создания дорожной карты восстановления, сохраняя конфиденциальность данных.
Задача
Developers often encounter abandoned GitHub repositories with unclear entry points, deprecated dependencies, and undocumented assumptions, making it hard to assess their viability or revive them while preserving privacy.
Результат
RepoSéance transforms a neglected codebase into a documented, analyzable artifact with a clear entry point and actionable tasks, all while keeping data local and private.
Рабочий процесс
- Select local folder or ZIP
- Scanner validates path, respects .gitignore, redacts credentials, extracts Git history
- Local embeddings built with nomic-embed-text or bge-small-en
- Vector index created
- Open‑weight LLM (Qwen2.5-Coder, Qwen2.5-3B, Gemma 2-2B via Ollama) performs structured autopsy
- Ghost Chat answers queries with file‑path citations
- Revival roadmap generated and exported as Markdown
Доказательства
RepoSéance is a local-first, privacy-respecting software archaeology companion. You provide a local directory path or upload a ZIP archive of any neglected project, and RepoSéance conducts a digital séance:
Deterministic Repository Archaeology: Safely maps directory structures, scans dependencies, inspects local Git commit histories, and catalogs buried TODO/FIXME markers without executing a single line of untrusted code.
Local Code Indexing & Bounded Evidence Retrieval: Chunks source code, extracts semantic tokens, and builds an offline vector index using local embedding models (nomic-embed-text / bge-small-en).
Structured Project Autopsy: Uses a locally running open-weight model (Qwen2.5-Coder / Qwen2.5-3B / Gemma 2-2B via Ollama) to reconstruct the project's true purpose, identify architecture flows, highlight entry points, and distinguish verified facts from AI hypotheses.
RepoSéance requires zero external API keys and runs completely on standard laptop hardware.
- Дата записи: 2026-11-02T04:59:04.537Z