{"id":37627750,"url":"https://github.com/automa/package-badges","last_synced_at":"2026-01-16T10:52:04.486Z","repository":{"id":284561793,"uuid":"952331949","full_name":"automa/package-badges","owner":"automa","description":"Scheduled bot to add package manager badges to public packages","archived":false,"fork":false,"pushed_at":"2025-12-31T16:27:30.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-05T01:29:59.462Z","etag":null,"topics":["automa","automa-bot","bot"],"latest_commit_sha":null,"homepage":"https://automa.app/bots/badges/package-badges","language":"Python","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/automa.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":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-03-21T05:32:52.000Z","updated_at":"2025-12-31T16:27:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"09a93e84-cedf-4daf-a350-f80f9a497faf","html_url":"https://github.com/automa/package-badges","commit_stats":null,"previous_names":["automa/package-badges"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/automa/package-badges","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automa%2Fpackage-badges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automa%2Fpackage-badges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automa%2Fpackage-badges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automa%2Fpackage-badges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/automa","download_url":"https://codeload.github.com/automa/package-badges/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automa%2Fpackage-badges/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"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":["automa","automa-bot","bot"],"created_at":"2026-01-16T10:52:04.405Z","updated_at":"2026-01-16T10:52:04.477Z","avatar_url":"https://github.com/automa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# package-badges\n\nThis is a [deterministic](https://docs.automa.app/bots/types#deterministic) \u0026 [scheduled](https://docs.automa.app/bots/types#scheduled) [bot](https://docs.automa.app/bots) for [**Automa**](https://automa.app) that automatically adds registry badges ([NPM](https://npmjs.org), [PyPI](https://pypi.org), [Cargo](https://crates.io)) to the README files of public packages.\n\n#### Features\n\n- Multiple registry badges:\n  - **NPM**: version, license, and monthly downloads badges\n  - **PyPI**: version, license, and monthly downloads badges\n  - **Cargo**: version, license, and docs.rs documentation badges\n- Support for monorepos with nested packages.\n- Preserve existing README content, headings \u0026 badges.\n- Handle both Markdown (`README.md`) and reStructuredText (`README.rst`).\n\n## Getting Started\n\n[![Install on Automa](https://automa.app/install.svg)](https://console.automa.app/$/bots/new/badges/package-badges)\n\n### Self-Hosting\n\nThis bot can be self-hosted. You can follow these steps to get it running.\n\n#### Prerequisites\n\n- Have [`git`](https://git-scm.com/) installed.\n- Have [`uv`](https://docs.astral.sh/uv/) installed.\n\n#### Automa bot\n\n[Register a bot](https://docs.automa.app/bot-development/registration) of [scheduled](https://docs.automa.app/bots/types#scheduled) type on [Automa](https://automa.app) (Cloud or Self-hosted) and point its webhook to your planned server (e.g., `http://your-server-ip:8000/hooks/automa`). Copy the **webhook secret** after it is created.\n\n#### Starting the server\n\n```sh\n# Setup environment variables\nexport PYTHON_ENV=production\nexport AUTOMA_WEBHOOK_SECRET=your_secret_here\n\n# Install dependencies\nuv sync --frozen --no-dev\n\n# Start server\nuv run fastapi run --port 8000\n```\n\n## How It Works\n\nThe bot scans your repository for package manifest files (`package.json`, `pyproject.toml`, `Cargo.toml`). For each public package it finds, it generates a set of badges and inserts them into the corresponding `README.md` or `README.rst` file.\n\n#### Private Package Detection\n\nThe bot automatically skips private packages by checking:\n\n- **NPM**: `private` field set to `true` in `package.json`.\n- **PyPI**: The presence of a `Private ::` classifier in `pyproject.toml`.\n- **Cargo**: `publish` field set to `false` or a list that does not include `crates-io` in `Cargo.toml`.\n\n## Contributing\n\nContributions and feedback are welcome! Feel free to open an issue or submit a pull request. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details. Here is a list of [Contributors](https://github.com/automa/package-badges/contributors).\n\n## LICENSE\n\nMIT\n\n## Bug Reports\n\nReport [here](https://github.com/automa/package-badges/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoma%2Fpackage-badges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautoma%2Fpackage-badges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautoma%2Fpackage-badges/lists"}