Kiroween 2026 · Costume Contest

Epitaph

Every dead export deserves a proper funeral.

Source on GitHub Watch the 2-minute demo Devpost entry

This page is a static overview. Epitaph is local-first by design: the scanner is a Node server bound to 127.0.0.1, with no accounts, no telemetry and no runtime network calls. Run it in one command; the demo video shows it end to end.

What it does

Epitaph scans a JavaScript/TypeScript repository, builds a real module graph with the TypeScript compiler API, and finds exports nobody imports plus modules nobody reaches. Each finding becomes a tombstone with a cause of death, a confidence, git age, and a deterministic epitaph.

Evidence, not guesses

Entry points, imports and reachability from ts-morph. Type-only imports count as usage; opaque re-exports are marked uncertain. No regex heuristics.

A place, not a list

Filter by kind, confidence or name. Séance mode lights the graves. ?plain=1 removes every atmospheric layer and leaves a plain, keyboard-accessible tool.

Read-only by construction

“Prepare burial” returns a unified diff. You review it, download it, and git apply it yourself. Epitaph never deletes or rewrites your code.

Screens

Epitaph graveyard: tombstones grouped by file
The graveyard — one tombstone per dead symbol
Séance mode: candlelight dims the living chrome
Séance mode — atmosphere that encodes the data model
Plain mode with ?plain=1
?plain=1 — same tool, no atmosphere
Responsive mobile layout
Responsive down to 390 px

Run it locally (60 seconds)

git clone https://github.com/afei8732-hub/epitaph.git
cd epitaph
npm ci
npm start          # http://127.0.0.1:4318

In the page, scan fixtures/haunted-sample — a tiny TypeScript repo with a known body count (fixtures/haunted-sample/EXPECTED.json). Or use the CLI:

node bin/epitaph.mjs scan fixtures/haunted-sample

No login, no API key, no network access after npm ci. Node ≥ 20.11.

Built with Kiro

The whole build ran through Kiro. The repository keeps the working artefacts at the root, in .kiro/:

119 testsNode.jsTypeScript compiler APIfast-checkMIT