{"id":48572939,"url":"https://github.com/davidcollom/awesomegen","last_synced_at":"2026-04-08T15:30:30.650Z","repository":{"id":309969276,"uuid":"1038229082","full_name":"davidcollom/awesomegen","owner":"davidcollom","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-09T15:59:28.000Z","size":172,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-11T15:51:01.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/davidcollom.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":".github/CODEOWNERS","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-08-14T20:42:48.000Z","updated_at":"2025-12-09T09:54:47.000Z","dependencies_parsed_at":"2025-08-14T22:29:10.999Z","dependency_job_id":"89728492-82ba-4b87-af99-a476fad56aef","html_url":"https://github.com/davidcollom/awesomegen","commit_stats":null,"previous_names":["davidcollom/awesomegen"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/davidcollom/awesomegen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcollom%2Fawesomegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcollom%2Fawesomegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcollom%2Fawesomegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcollom%2Fawesomegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidcollom","download_url":"https://codeload.github.com/davidcollom/awesomegen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcollom%2Fawesomegen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":[],"created_at":"2026-04-08T15:30:29.960Z","updated_at":"2026-04-08T15:30:30.637Z","avatar_url":"https://github.com/davidcollom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awesomegen\n\n[![Go Version](https://img.shields.io/github/go-mod/go-version/davidcollom/awesomegen)](go.mod)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/davidcollom/awesomegen/release.yml?branch=main)](https://github.com/davidcollom/awesomegen/actions)\n[![License](https://img.shields.io/github/license/davidcollom/awesomegen)](LICENSE)\n\n**awesomegen** is a Go 1.23 CLI and GitHub Action that generates [Awesome List](https://awesome.re)–style `README.md` files from your [GitHub Star Lists](https://docs.github.com/en/account-and-profile/starring-and-unstarring-repositories/organizing-stars-with-lists).\n\nIt works by:\n\n1. **Scraping** your public Star List page(s) to collect `owner/repo` slugs.\n2. **Enriching** them with GitHub API data (stars, license, topics, last push, archived flag).\n3. **Filtering** based on rules you set (min stars, staleness, archived).\n4. **Rendering** to a clean, Awesome-formatted `README.md`.\n\n---\n\n## Features\n\n* 🔍 Pulls data from **public GitHub Star Lists** — no manual curation required.\n* 🛠 Configurable filters: `min_stars`, `stale_months`, exclude archived.\n* 🗂 Supports multiple lists per config file (one README per list).\n* 🧰 Works as a standalone CLI *and* a GitHub Action.\n* 📦 Ships with a template repo for quickly spinning up new Awesome lists.\n* 🧪 Fully testable with fakes, HTML fixtures, and clockwork time control.\n\n---\n\n## Quick start\n\n### 1. Install the CLI\n\n```bash\ngo install github.com/davidcollom/awesomegen/cmd/awesomegen@latest\n```\n\n### 2. Create a config\n\n```yaml\n# config.yaml\nversion: 1\nuser: \"davidcollom\"\nlists:\n  - slug: \"kubernetes-cost-optimisation\"\n    title: \"Awesome Kubernetes Cost Optimisation\"\n    tagline: \"Tools \u0026 patterns for cost-efficient Kubernetes.\"\n    output: \"README.md\"\n    min_stars: 50\n    stale_months: 24\n    badges:\n      - \"https://img.shields.io/badge/awesome-yes-brightgreen\"\n```\n\nThe `slug` is taken from your list’s URL:\n\n```\nhttps://github.com/stars/\u003cuser\u003e/lists/\u003cslug\u003e\n```\n\n### 3. Run it locally\n\n```bash\nexport GITHUB_TOKEN=\u003cyour_token\u003e  # increases API limits\naesomegen --config config.yaml\n```\n\nThis will scrape your Star List, enrich via API, filter, and write `README.md`.\n\n---\n\n## Using as a GitHub Action\n\nThe easiest way is to create a **data repo** from the [awesome-list-template](https://github.com/davidcollom/awesome-list-template) and commit your `config.yaml`.\n\nAdd this workflow:\n\n```yaml\nname: Update Awesome\non:\n  schedule:\n    - cron: \"0 6 * * 1\"   # Mondays 06:00 UTC\n  workflow_dispatch:\n  push:\n\njobs:\n  gen:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run AwesomeGen\n        uses: davidcollom/awesomegen@v1\n        with:\n          config: config.yaml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create PR\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: \"chore: auto-update README\"\n          title: \"chore: auto-update README\"\n          branch: \"auto/update-readme\"\n          body: \"Automated README refresh.\"\n```\n\n---\n\n## Configuration Reference\n\n| Field          | Type   | Description                                                                 |\n| -------------- | ------ | --------------------------------------------------------------------------- |\n| `version`      | int    | Config schema version (currently `1`).                                      |\n| `user`         | string | Your GitHub username.                                                       |\n| `lists`        | array  | One or more list definitions.                                               |\n| `slug`         | string | List slug from the URL.                                                     |\n| `title`        | string | Title for the Awesome list README.                                          |\n| `tagline`      | string | Short description tagline.                                                  |\n| `output`       | string | Output file path (default `README.md`).                                     |\n| `min_stars`    | int    | Minimum GitHub stars for inclusion.                                         |\n| `stale_months` | int    | Exclude repos not pushed to in this many months.                            |\n| `badges`       | array  | Markdown image URLs for badges.                                             |\n| `categories`   | array  | (Optional) Manually override categories. Usually auto-set to “Repositories” |\n\n---\n\n## Example Output\n\n```markdown\n# Awesome Kubernetes Cost Optimisation\n\n![badge](https://img.shields.io/badge/awesome-yes-brightgreen)\n\n\u003e Tools \u0026 patterns for cost-efficient Kubernetes.\n\n## Table of Contents\n- [Repositories](#repositories)\n\n## Repositories\n\n- [opencost/opencost](https://github.com/opencost/opencost) — ⭐ 4500 · Apache-2.0 · `kubernetes`, `cost` — Open metrics-based cost monitoring\n- [kubecost/cost-model](https://github.com/kubecost/cost-model) — ⭐ 3000 · Apache-2.0 — Core cost calculation engine\n```\n\n---\n\n## Development\n\n```bash\n# Run tests\ngo test ./...\n\n# Lint (example with golangci-lint)\ngolangci-lint run\n```\n\n---\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcollom%2Fawesomegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidcollom%2Fawesomegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcollom%2Fawesomegen/lists"}