{"id":36476085,"url":"https://github.com/jobin-404/debtbomb","last_synced_at":"2026-01-15T22:11:38.232Z","repository":{"id":331968168,"uuid":"1131256705","full_name":"jobin-404/debtbomb","owner":"jobin-404","description":"DebtBomb lets teams ship temporary hacks safely by attaching an expiry date to them. When the date passes, the bomb explodes and your CI fails — forcing the code to be cleaned up instead of rotting forever.","archived":false,"fork":false,"pushed_at":"2026-01-11T21:55:47.000Z","size":586,"stargazers_count":38,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T02:51:32.862Z","etag":null,"topics":["ci-cd","cli-tool","code-quality","maintainability","static-analysis","technical-debt","todo"],"latest_commit_sha":null,"homepage":"https://jobinjose.me/debtBomb","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jobin-404.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-09T17:58:18.000Z","updated_at":"2026-01-11T21:55:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jobin-404/debtbomb","commit_stats":null,"previous_names":["jobin-404/debtbomb"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jobin-404/debtbomb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobin-404%2Fdebtbomb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobin-404%2Fdebtbomb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobin-404%2Fdebtbomb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobin-404%2Fdebtbomb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jobin-404","download_url":"https://codeload.github.com/jobin-404/debtbomb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobin-404%2Fdebtbomb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28472624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T20:50:13.584Z","status":"ssl_error","status_checked_at":"2026-01-15T20:49:17.379Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","cli-tool","code-quality","maintainability","static-analysis","technical-debt","todo"],"created_at":"2026-01-12T00:53:37.641Z","updated_at":"2026-01-15T22:11:38.228Z","avatar_url":"https://github.com/jobin-404.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧨 DebtBomb\n![DebtBomb Logo](assets/logo.png)\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Jira-Issue%20Tracking-1F2A37?style=flat\u0026logo=jira\u0026logoColor=F97316\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Slack-Team%20Alerts-1F2A37?style=flat\u0026logo=slack\u0026logoColor=F97316\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Discord-Real--time%20Updates-1F2A37?style=flat\u0026logo=discord\u0026logoColor=F97316\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Teams-Org%20Visibility-1F2A37?style=flat\u0026logo=microsoftteams\u0026logoColor=F97316\" /\u003e\n\u003c/p\u003e\n\nDebtBomb is a cross-language **technical-debt enforcement tool** that scans source code comments for time-limited “debt bombs” and fails CI when they expire.\n\nIt lets teams ship temporary hacks safely by attaching an expiry date to them.\nWhen the date passes, the build fails — forcing the debt to be cleaned up instead of silently rotting forever.\n\n---\n\n## Why this exists\n\nEvery codebase has comments like:\n\n```\nTODO: remove later\nFIXME: temporary workaround\n```\n\nThey almost never get removed.\n\nDebtBomb gives those comments a **deadline**.\n\nTemporary code is allowed — but it must be **time-bounded, owned, and visible**.\n\n---\n\n## Installation\n\n### Using Go\n\n```bash\ngo install github.com/jobin-404/debtbomb/cmd/debtbomb@latest\n```\n\nIf the `debtbomb` command is not found, add Go’s bin directory to your PATH:\n\n**macOS / Linux**\n\n```bash\necho 'export PATH=\"$HOME/go/bin:$PATH\"' \u003e\u003e ~/.zshrc  # or ~/.bashrc\nsource ~/.zshrc\n```\n\n**Windows**\nAdd `%USERPROFILE%\\go\\bin` to your PATH environment variable.\n\n---\n\n### Build from source\n\n```bash\ngit clone https://github.com/jobin-404/debtbomb.git\ncd debtbomb\ngo build -o debtbomb cmd/debtbomb/main.go\n```\n\n---\n\n## Usage\n\nFor a complete reference of all commands and flags, see [CLI Reference](docs/CLI_REFERENCE.md).\n\n### Enforce in CI\n\n```bash\ndebtbomb check\n```\n\nFails with exit code `1` if any debt bomb is expired.\n\n---\n\n### Warning window\n\nWarn before things explode:\n\n```bash\ndebtbomb check --warn-in-days 7\n```\n\nThis surfaces expiring debt in CI without blocking releases yet.\n\n---\n\n### Listing debt\n\n```bash\ndebtbomb list\ndebtbomb list --expired\ndebtbomb list --json\n```\n\n---\n\n### Aggregated Reports\n\nGenerate a high-level summary of technical debt:\n\n```bash\ndebtbomb report\ndebtbomb report --json\n```\n\nThis shows debt breakdown by:\n\n* Owner\n* Folder/Module\n* Reason\n* Urgency (Expired, \u003c 30 days, \u003c 90 days)\n\n---\n\n## Syntax\n\nDebtBomb looks for comments containing `@debtbomb`.\nIt works with any language because it only reads comments.\n\nSupported comment styles:\n\n* `//`\n* `#`\n* `--`\n* `/* */`\n\n---\n\n### Single-line\n\n```go\n// @debtbomb(expire=2026-02-10, owner=pricing, ticket=JIRA-123)\n```\n\n---\n\n### Multi-line\n\n```go\n// @debtbomb\n//   expire: 2026-02-10\n//   owner: pricing\n//   ticket: JIRA-123\n//   reason: Temporary surge override\n```\n\n---\n\n### Fields\n\n| Field    | Description                |\n| -------- | -------------------------- |\n| `expire` | **Required.** YYYY-MM-DD   |\n| `owner`  | Team or person responsible |\n| `ticket` | Issue tracker reference    |\n| `reason` | Why this debt exists       |\n\n---\n\n## Ignoring files\n\nCreate a `.debtbombignore` file to exclude paths:\n\n```\nmigrations/\nlegacy/\nsrc/generated/*.go\n```\n\n---\n\n## Automatic exclusions\n\nDebtBomb skips files that are not human-written source.\n\n**Directories**\n\n* `node_modules`, `vendor`, `.venv`, `__pycache__`\n* `dist`, `build`, `out`, `target`, `bin`, `pkg`, `obj`\n* `.git`, `.svn`, `.hg`\n* `.idea`, `.vscode`, `.terraform`\n\n**Files**\n\n* Images, videos, archives, executables\n* PDFs and office documents\n* Minified files (`.min.js`, `.min.css`)\n* Lock files\n* Any file larger than **1MB**\n\nThis keeps it fast even on large repos.\n\n---\n\n## License\n\nMIT\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobin-404%2Fdebtbomb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjobin-404%2Fdebtbomb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobin-404%2Fdebtbomb/lists"}