Menu

1 / 2

I built a 3D graveyard for my abandoned GitHub repos (18 of 22 are dead)

DEV Community: javascript·Selim·40 minutes ago
#lg6HIQ1F
#devtojavascript#devto#dev#repo#graveyard
Reading 0:00
15s threshold

I have 22 public repos on GitHub. 18 of them haven't been touched in over a year.

The oldest one is called todolist . Of course it is.

Instead of feeling bad about it, I gave them a proper funeral. Repo Graveyard takes a GitHub username, finds the repos nobody has pushed to in a while and buries them in a 3D graveyard you can walk through. Every repo gets a tombstone with its name, birth and death years, its description as the epitaph, and a cause of death.

No login, no backend, no build step. Plain HTML, CSS and JavaScript modules, Three.js from a CDN, and the public GitHub API called straight from your browser.

Here's how the interesting parts work.

When is a repo "dead"?

GitHub gives us pushed_at for every repo, which is the last time anything was pushed. If it's older than a threshold (1 year by default, you can pick 6 months or 2 years), the repo is dead. Archived repos are always dead. Forks are skipped unless you ask for them.

export function classify ( repos , { now = Date .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.