{"id":41374552,"url":"https://github.com/emmanuel-ferdman/gh-gonest","last_synced_at":"2026-02-01T20:00:51.507Z","repository":{"id":316323333,"uuid":"1062884688","full_name":"emmanuel-ferdman/gh-gonest","owner":"emmanuel-ferdman","description":":octocat: GitHub CLI extension that automatically detects and removes ghost notifications from banned/deleted repos","archived":false,"fork":false,"pushed_at":"2025-12-05T11:22:46.000Z","size":197,"stargazers_count":116,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-12-08T21:16:04.446Z","etag":null,"topics":["gh","gh-extension","github","github-cli","github-cli-extension","notifications","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/emmanuel-ferdman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T21:40:49.000Z","updated_at":"2025-12-05T11:33:53.000Z","dependencies_parsed_at":"2025-09-25T22:00:21.131Z","dependency_job_id":null,"html_url":"https://github.com/emmanuel-ferdman/gh-gonest","commit_stats":null,"previous_names":["emmanuel-ferdman/gh-gonest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emmanuel-ferdman/gh-gonest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-ferdman%2Fgh-gonest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-ferdman%2Fgh-gonest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-ferdman%2Fgh-gonest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-ferdman%2Fgh-gonest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmanuel-ferdman","download_url":"https://codeload.github.com/emmanuel-ferdman/gh-gonest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-ferdman%2Fgh-gonest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28988406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"last_error":"SSL_read: 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":["gh","gh-extension","github","github-cli","github-cli-extension","notifications","shell"],"created_at":"2026-01-23T10:00:30.291Z","updated_at":"2026-02-01T20:00:51.499Z","avatar_url":"https://github.com/emmanuel-ferdman.png","language":"Shell","funding_links":[],"categories":["🧩 Categories","Shell","Notifications"],"sub_categories":["Repository Management"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/emmanuel-ferdman/gh-gonest\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://raw.githubusercontent.com/emmanuel-ferdman/gh-gonest/main/assets/logo-with-title.png\" alt=\"gh-gonest\" height=\"200px\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n`gh-gonest` is a [GitHub CLI extension][gh-extension] that automatically detects and removes phantom notifications from deleted repositories. When repositories create issues with mass @mentions and then get deleted, they leave behind \"ghost\" notifications due to a GitHub bug that prevents them from being cleared through the GitHub UI. This tool finds and cleans them up, restoring your notification sanity. See more information [here][github-discussion].\n\n## 🎯 Problem\n\nSpam repositories create issues, tag thousands of users via @mentions, then get deleted by GitHub. This leaves \"phantom notifications\" that:\n\n- 🔵 Show persistent blue dot on notification bell\n- 👻 Display \"1-0 of X\" in notification count\n- 🚫 Cannot be cleared through GitHub UI\n- 😤 Drive developers crazy\n\n## ✨ Solution\n\n`gh-gonest` automatically finds and removes these phantom notifications by:\n\n1. **Scanning** all your notifications\n2. **Detecting** phantom notifications from deleted repos (404 responses)\n3. **Cleaning** them via read → done → unsubscribe sequence\n\n## 👻 Why gh-gonest?\n\nThe `gh-gonest` extension approach focuses on:\n\n- **Selective targeting**: Only marks ghost notifications as done, preserving all legitimate notifications\n- **Automated detection**: Automatically identifies phantom notifications by checking for 404 repository responses - no manual notification ID lookup required\n- **No manual token generation**: Leverages existing `gh auth login` setup without requiring manual GitHub token creation with specific permissions\n- **Safe preview mode**: The `--dry-run` flag shows exactly what would be removed before taking action\n- **Minimal dependencies**: Uses widely used tools (`gh` and `jq`) with simple shell scripting - no additional programming languages or unusual dependencies\n- **Flexible date filtering**: Target specific time ranges with `--after` and `--before` flags for precise control\n\n## ⚡ Getting Started\n\n### 🛠️ Requirements\n\n- [GitHub CLI][github-cli] (`gh`) - version 2.0+\n- [jq][jq] - JSON processor\n- GitHub authentication (`gh auth login`)\n\n### 🚀 Installation\n\n```bash\n# Install the extension\ngh extension install emmanuel-ferdman/gh-gonest\n\n# Or manually install from source\ngit clone https://github.com/emmanuel-ferdman/gh-gonest.git\ncd gh-gonest\ngh extension install .\n```\n\n### 📖 Usage\n\n```bash\n# Preview what would be cleaned (safe)\ngh gonest --dry-run\n\n# Clean phantom notifications\ngh gonest\n\n# Only check notifications after a specific date\ngh gonest --after 2025-09-01T00:00:00Z --dry-run\n\n# Only check notifications before a specific date  \ngh gonest --before 2025-09-30T23:59:59Z --dry-run\n\n# Check notifications in a specific date range\ngh gonest --after 2025-09-01T00:00:00Z --before 2025-09-30T23:59:59Z --dry-run\n```\n\n## 🛠️ Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/emmanuel-ferdman/gh-gonest.git\ncd gh-gonest\n\n# Install development dependencies\nmake setup\n\n# Run the tests suite\nmake test\n\n# Run the linter\nmake lint\n\n# Install extension locally\nmake install\n```\n\n## 🤝 Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## 📄 License\n\nThe library is freely distributable under the terms of the [MIT license][license].\n\n## 💖 Thanks for the Support\n\nEvery star ⭐, fork 🍴, and contribution 🤝 means a lot! Your support helps keep `gh-gonest` growing and improving.\n\nIf you've found this project useful, please consider:\n- Giving it a star on GitHub ⭐\n- Sharing it with friends or colleagues\n- Opening issues, discussions, or pull requests to make it better\n\nTogether we can keep GitHub notifications ghost-free 👻✨\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/emmanuel-ferdman/gh-gonest\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://api.star-history.com/svg?repos=emmanuel-ferdman/gh-gonest\u0026type=Date\" alt=\"gh-gonest\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- Link references --\u003e\n[gh-extension]: https://cli.github.com/manual/gh_extension\n[github-cli]: https://cli.github.com\n[github-discussion]: https://github.com/orgs/community/discussions/6874\n[jq]: https://jqlang.github.io/jq\n[license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuel-ferdman%2Fgh-gonest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmanuel-ferdman%2Fgh-gonest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuel-ferdman%2Fgh-gonest/lists"}