Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

git-ghost: I summoned the ghost of my first commit with a local Gemma model

说明与用途

git-ghost 让开发者使用本地 Gemma 模型召唤他们的第一个作者,获得关于仓库起始状态、演变和建议的事实性叙述,且不将数据发送至云端。

问题

Developers want to reflect on the earliest state of a repository without exposing commit history to external services.

结果

git-ghost enables developers to hear a nostalgic, fact-based story of their project’s earliest days, providing insight and actionable advice without external data exposure.

工作流

  • 1. Run python git_ghost.py <repo_path>
  • 2. git_ghost.py executes git log to fetch first and latest commits
  • 3. It streams the commit data to a local Ollama instance via /api/chat
  • 4. The Gemma model generates a three-part narrative based on the commit facts
  • 5. The output is printed to the terminal and fades back into .git

证据

git-ghost is a tiny command-line tool that summons the ghost of your past self from the oldest commits of any git repository.

来源

It reads your first commits (the memories) and your latest commits (the living developer), then lets Gemma, an open-weight model running locally through Ollama, speak as the ghost of the developer you used to be.

来源

The whole tool is one Python file with zero dependencies: git log through subprocess, and a streaming call to the local Ollama /api/chat endpoint with urllib.

来源

  • 记录日期: 2026-11-02T01:43:55.278Z