Skip to main content

coffinit

Things OSS projects do before they die.

Demo output

🪣 coffinit — numpy/numpy

		  _________
	  /         \
	 /    ALIVE    \
 /             \
|               |
|    COFFIN     |
|               |
 \_____________/

Score: 91 / 100  ✅ Alive

📋 Detail Score
┌──────────────────────────────┬────────┐
│ Maintenance                  │ 25/25  │
│ PR response                  │ 18/25  │
│ Bug backlog                  │ 23/25  │
│ Author activity              │ 25/25  │
└──────────────────────────────┴────────┘

🕐 Last commit: 3 days ago
🔀 Latest PR: 21 days ago
🐛 bug-labelled issues: 8%
👤 Recent contributor: 2 days ago

1. Concept / Why

coffinit is a CLI tool that diagnoses whether a GitHub OSS project is alive or dead. It scores the repository from four angles and shows the result with coffin ASCII art.

2. Installation

# clone the repo
git clone https://github.com/<owner>/<repo>.git
cd coffinit

# install in editable mode
pip install -e .

3. Setup (GitHub token)

Create a GitHub personal access token and store it in .env:

GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Token steps (classic PAT):

  1. GitHub → Settings
  2. Developer settings
  3. Personal access tokens → Generate new token
  4. Enable public_repo scope
  5. Copy the token into .env

4. Usage

起動の仕方

coffinit

コマンド一覧

coffinit --help
coffinit --version
coffinit check <owner>/<repo>
coffinit set-lang

言語切り替え

  • Default language is ja.
  • coffinit set-lang is interactive (arrow keys + Enter) and saves your selection to a user config file.
  • Per-run overrides:
    • --lang ja|en
    • COFFINIT_LANG=ja|en

Examples:

# Persist selection (ja/en)
coffinit set-lang

# One-off override (CLI option)
coffinit --lang en check numpy/numpy

# One-off override (env var)
COFFINIT_LANG=en coffinit check numpy/numpy

5. Scoring

Total: 100 points (4 axes × 25 points).

1) Maintenance (last commit)

Days since last commit Score
0-30 25
31-90 18
91-180 10
181-365 5
365+ 0

2) PR response (latest open PR)

Days since latest open PR Score
No open PR 25
0-14 25
15-30 18
31-90 10
91-180 5
180+ 0

3) Bug backlog (open rate)

Open rate = open / (open + closed) for issues with bug label.

Open rate Score
No bug-labelled issues 25
0-10% 25
11-30% 18
31-50% 10
51-70% 5
71%+ 0

4) Author activity (contributors)

Based on the most recent activity among top 3 contributors.

Last activity Score
<= 30 days 25
31-90 days 18
91-180 days 10
181-365 days 5
365+ days 0

Final judgement

Total score Label Lid
80-100 ✅ Alive Fully open
50-79 ⚠️ Struggling Half open
20-49 🪦 On The Bucket List Slightly open
0-19 ⚰️ Dead Closed

6. Error Messages

Error messages are kept in Japanese, and in en mode the English text is appended in parentheses.

Case Message (JA)
Token missing 神父の名前も知らねぇのか?(GITHUB_TOKENを.envに設定しろ)
Repository not found この棺桶は空だ。死に損ないのジジババが終活のために買ったものなようだ。
Private repo おいおい、家族以外葬儀の立ち合いはできねぇぜ?
Rate limit 神父は今日はお休みだってよ。
Network error 霊柩車がパンクしちまった。
Unknown error なんか葬儀場で事故が起きたみたいだ。

7. Project Structure

coffinit/
	coffinit/
		__init__.py
		cli.py
		config.py
		display.py
		github.py
		i18n.py
		scorer.py
	LICENSE
	pyproject.toml
	README.md

8. Requirements

  • Python >= 3.11
  • Dependencies:
    • typer
    • rich
    • python-dotenv
    • requests

9. License

MIT License. See LICENSE.

Metadata

Release files for coffinit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coffinit 0.1.0
File Size Uploaded Provenance Actions
coffinit-0.1.0.tar.gz 16.0 kB Without provenance Details for coffinit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coffinit 0.1.0
File Interpreter ABI Platform Actions
coffinit-0.1.0-py3-none-any.whl Python 3 none any Details for coffinit-0.1.0-py3-none-any.whl

Total release size: 32.8 kB

Release files / coffinit-0.1.0.tar.gz

Download URL coffinit-0.1.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a6b1e1f8f446d1214ea297ec8fb1d2cb0cb5950b01322ace8b8cec7f84c2a043
BLAKE2b-256 checksum
How to use checksums
d313ecc621862046cb507ab0a69851f5a86a0b0b8ec03ba0890f23386aebc39f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / coffinit-0.1.0-py3-none-any.whl

Download URL coffinit-0.1.0-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f106436b45ef308ba04dfa232f348606ac7fbb404537c93e8085fe049713c62
BLAKE2b-256 checksum
How to use checksums
7e2e6bb78c2df9e74c3bd66ef7427e59cd0b5195f07d0aacd3eaab4b9b5d9d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for coffinit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page