Home / use case

rip: a local Gemma 2 2B writes epitaphs and revival ideas for your abandoned side projects

At a glance
Models & engines
Ollama running gemma2:2b locally
Key gotcha
Developer folders often hold credentials and private code, which is why the author kept file contents out of the prompt entirely rather than scanning them with a cloud model.

What they built

razorbill built rip for the Hacktoberfest Open-Source AI Challenge, timed for Halloween and Día de los Muertos. It is a command-line "digital cemetery" for half-finished prototypes, late-night scripts and repos whose last commit was something like "fixing bugs please work".

It scans your workspaces for dormant projects and has a local Gemma 2 2B model act as gravekeeper, writing a witty epitaph for why each one died. With the --ofrenda flag it adds a concrete suggestion for bringing the project back.

Results show as ASCII tombstones in the terminal and as a self-contained dark-mode HTML gallery, cemetery.html.

Setup

  • Ollama running gemma2:2b locally
  • Python 3 with the rich library for terminal panels
  • Standard-library pathlib and subprocess to read folder metadata and git log -1

How it works

  1. rip reads only high-level metadata for each project: last modified date, size and last Git commit.
  2. It sends Gemma just the project name, days inactive and the last commit message, at temperature 0.7, and never reads code or file contents.
  3. Gemma returns JSON that rip renders as tombstones and an HTML gallery; the author found the 2B model consistent at returning clean, parseable JSON without stray markdown fences.

Results & numbers

  • It runs entirely on local compute through Ollama, so it also works with Wi-Fi off.
  • The author ran it against his own old folders and found seeing Gemma roast months-old commits oddly motivating, a prompt to pick a project back up rather than feel guilty about it.

Gotchas

  • Developer folders often hold credentials and private code, which is why the author kept file contents out of the prompt entirely rather than scanning them with a cloud model.
“Scanning 200 forgotten repositories costs $0 in token fees.”— razorbill

Do it yourself

  1. Install Ollama and pull gemma2:2b.
  2. Write a script that walks your workspace folders and collects each project's name, days since last modification, size and git log -1 message.
  3. Send only those fields to Gemma through Ollama, asking for a short epitaph and a revival idea as JSON.
  4. Render the results in the terminal with rich, and optionally write them to an HTML page.
Source: razorbill (DEV Community) · Published 2026-11-01 · Added 2026-11-03. This write-up summarizes the original source; see it for full details.

Similar setups

GitSéance: local Gemma 2B explains deleted code from git history and refuses to guess

Francisco Grandón built GitSéance, a Python tool that mines a repo's deleted functions from git log and has gemma2:2b in Ollama write a grounded epitaph for each, skipping the model entirely when the commit message is too vague.

Francisco Grandón (DEV Community) · 2026-10-28

PatchPal TinyAgent: a coding agent on a 4B model and a 6GB laptop GPU

WiseProbe adapted its PatchPal coding agent to run Gemma 4 E4B or Qwen3.5 4B through Ollama on a 6GB RTX A1000, using handoff-note compaction and capped file reads to work inside a 16K or 32K window.

WiseProbe Blog · 2026-11-25

Morning Digest: a local Gemma 3 agent that summarizes overnight Telegram group chats

Waleed Shamhan, a student in Yemen, built Morning Digest, a single Python script that reads a Telegram Desktop export and uses Gemma 3 via Ollama to write a short Arabic digest of the last 12 hours of group chats.

Waleed Shamhan (DEV Community) · 2026-10-25

Local AI: a one-click Windows app that picks a model for your PC and sets up Ollama for friends

Tired of setting up local LLMs for friends, a developer built a free MIT-licensed Windows app that detects your GPU and RAM, installs Ollama without admin rights, pulls a fitting model and opens a private chat.

Oleg Che (DEV Community) · 2026-11-04