{"id":15150389,"url":"https://github.com/judahpaul16/clear-badge-cache","last_synced_at":"2026-01-20T14:34:20.339Z","repository":{"id":236854392,"uuid":"793284462","full_name":"judahpaul16/clear-badge-cache","owner":"judahpaul16","description":"Clear GitHub badge image cache with Go","archived":false,"fork":false,"pushed_at":"2024-05-03T18:48:10.000Z","size":37386,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-02T00:06:13.332Z","etag":null,"topics":["badges","cache","cli","curl","github","golang","image-cache","readme","shields"],"latest_commit_sha":null,"homepage":"https://clear-badge-cache.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/judahpaul16.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}},"created_at":"2024-04-28T23:03:01.000Z","updated_at":"2025-09-30T00:15:48.000Z","dependencies_parsed_at":"2024-05-03T19:58:02.384Z","dependency_job_id":null,"html_url":"https://github.com/judahpaul16/clear-badge-cache","commit_stats":null,"previous_names":["judahpaul16/clear-badge-cache"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/judahpaul16/clear-badge-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judahpaul16%2Fclear-badge-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judahpaul16%2Fclear-badge-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judahpaul16%2Fclear-badge-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judahpaul16%2Fclear-badge-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/judahpaul16","download_url":"https://codeload.github.com/judahpaul16/clear-badge-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judahpaul16%2Fclear-badge-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"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":["badges","cache","cli","curl","github","golang","image-cache","readme","shields"],"created_at":"2024-09-26T14:03:31.758Z","updated_at":"2026-01-20T14:34:20.322Z","avatar_url":"https://github.com/judahpaul16.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clear Badge Cache CLI 🧹✨\n\n[![Go Version](https://img.shields.io/github/go-mod/go-version/judahpaul16/clear-badge-cache)](https://go.dev/dl/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/judahpaul16/clear-badge-cache)](https://goreportcard.com/report/github.com/judahpaul16/clear-badge-cache)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/judahpaul16/clear-badge-cache/go.yml)](https://github.com/judahpaul16/clear-badge-cache/actions)\n[![GitHub](https://img.shields.io/github/license/judahpaul16/clear-badge-cache)](LICENSE)\n[![Website](https://img.shields.io/badge/website-https://clear--badge--cache.com-blue)](https://clear-badge-cache.com/)\n\nClear Badge Cache is a tool designed to purge cached GitHub badge images. Based on the repository URL and badge file, it will delete the cached image from the GitHub CDN.\n\nInspired by [github-badge-cache-buster](https://github.com/sbts/github-badge-cache-buster) \n\nThere is a large list of bugs open (and incorrectly closed) relating to this.\nThe main issue is\n- [#224](https://github.com/github/markup/issues/224) - Aggressive image caching breaks image badges\n\nSome of the others are.....\n- [#9](https://github.com/rvagg/nodei.co/issues/9) - GitHub Image Proxy breaking Nodei.co images in markdown\n- [#15](https://github.com/badges/pypipins/issues/15) - Badges do not update with GitHubs caching\n- [#111]() - can't find the URL for this one\n- [#116]() - can't find the URL for this one\n- [#134](https://github.com/badges/shields/issues/134) - Serve cached images upon request timeout\n- [#137](https://github.com/badges/shields/issues/137) - Travis badges seem to be broken\n- [#218](https://github.com/codecov/support/issues/218) - GitHub caching affecting my badge\n- [#220](https://github.com/lemurheavy/coveralls-public/issues/220) - Set `Cache-Control` or `Expires` on S3 assets\n- [#257](https://github.com/drone/drone/pull/257) - Badge caching\n- [#414](https://github.com/lemurheavy/coveralls-public/issues/414) - Incorrect coverage badge\n- [#1970](https://github.com/travis-ci/travis-ci/issues/1970) - Build status image cached by GitHub\n- [#3122](https://github.com/PowerShell/PowerShell/issues/3122) - Code Coverage Status Badge is cached\n- [#3150](https://github.com/PowerShell/PowerShell/issues/3150) - Unix nightly badge is inaccurate\n- [#6040](https://github.com/pouchdb/pouchdb/pull/6040) - fix coveralls badge issue in README\n- [#17057](https://gitlab.com/gitlab-org/gitlab-ce/issues/17057) - Aggressive GitHub caching breaks Gitlab badge images.\n\nMore information [here](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls).\n\n## Quick Start 🚀\n\n### Prerequisites 📋\n\n- Go (1.22.2 or later)\n\n*Don't want to install Go? No worries; you can use the pre-built binaries in the `dist` directory using the same arguments as the Go program.*\n\n### Installation 🛠\n\n1. Clone the repository:\n\n   ```bash\n   git clone\n    ```\n2. Navigate to the project directory:\n\n   ```bash\n   cd clear-badge-cache\n   ```\n3. Run the go file directly with or without arguments:\n\n   ```bash\n   go run main.go [repoURL] [badgeFile]\n   ```\n\n   If no arguments are provided, the program will prompt you to enter the repository URL.\n️\n\n### Building 🔨\n\nRun the appropriate build script from the `build-scripts` directory for your operating system:\n\n- For Linux or MacOS, open your terminal and run:\n\n  ```bash\n  ./build-scripts/build.sh\n  ```\n\n- For Windows, run the following in Command Prompt or PowerShell:\n\n  ```cmd\n  .\\build-scripts\\build.bat\n  ```\n\nThis will compile the source code and produce an executable in the `dist` directory.\n\n### Running 🏃\n\nTo run Clear Badge Cache, navigate to the `dist` directory and execute the binary:\n\n- Linux/MacOS:\n\n  ```bash\n  sh ./clear-badge-cache.sh\n  ```\n- Windows:\n\n  ```cmd\n  .\\clear-badge-cache.exe\n  ```\n\n#### Command Line Arguments 🖊️\n\nYou can provide the repository URL and optionally a badge file as command-line arguments:\n\n```bash\nclear-badge-cache [repoURL] [badgeFile]\n```\n\nIf no arguments are provided, the program will prompt you to enter the repository URL.\n\n#### Help\n\nTo display the help message, use the `-h` or `--help` flag:\n\n```bash\nclear-badge-cache -h\n```\n\nThe help message is as follows:\n\n```\nusage: clear-badge-cache [ -h | --help | [ repoURL [ badgeFile ] ] ]\n\n       repoURL   required unless provided on command line\n       badgeFile defaults to ''\n```\n\n## Contributing 🤝\n\nContributions are what make the open-source community great. Any contributions you make are **much appreciated**.\n\n## License 📝\n\nDistributed under the GNU GPL-3 License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudahpaul16%2Fclear-badge-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjudahpaul16%2Fclear-badge-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudahpaul16%2Fclear-badge-cache/lists"}