{"id":17125301,"url":"https://github.com/astrochun/test-stats","last_synced_at":"2026-04-13T23:32:39.611Z","repository":{"id":104271960,"uuid":"361020098","full_name":"astrochun/test-stats","owner":"astrochun","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-13T03:58:42.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T00:50:59.912Z","etag":null,"topics":["docker","github","github-actions","github-pages","github-stats-pages","python3","static-site","stats","traffic"],"latest_commit_sha":null,"homepage":null,"language":null,"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/astrochun.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":"2021-04-23T22:30:45.000Z","updated_at":"2021-05-13T03:57:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"452b1fff-f234-4fac-a4df-0efc8b371b2a","html_url":"https://github.com/astrochun/test-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"astrochun/github-stats","purl":"pkg:github/astrochun/test-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrochun%2Ftest-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrochun%2Ftest-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrochun%2Ftest-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrochun%2Ftest-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astrochun","download_url":"https://codeload.github.com/astrochun/test-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrochun%2Ftest-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31775802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"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":["docker","github","github-actions","github-pages","github-stats-pages","python3","static-site","stats","traffic"],"created_at":"2024-10-14T18:44:38.833Z","updated_at":"2026-04-13T23:32:39.589Z","avatar_url":"https://github.com/astrochun.png","language":null,"readme":"# github-stats (template)\n\nThis is a GitHub template that contains a working Action workflow to deploy\nstatic pages containing GitHub stats as GitHub Pages using\n[`github-stats-pages`](https://github.com/astrochun/github-stats-pages)\n\nThe full documentation and guide is available with `github-stats-pages`.\nHowever, to make it easier, we provide pertinent details below:\n\n## TL;DR\nFor easy deployment, try this\n[GitHub template](https://github.com/astrochun/github-stats). Simply:\n\n1. [Use it!](https://github.com/astrochun/github-stats/generate)\n2. Add a Personal access token, as a repository secret, `GH_TOKEN`.\n   See [above](#requirements) (Settings \u003e Secrets)\n3. Enable GitHub Actions (Settings \u003e Actions)\n4. Enable GitHub pages through the settings page and select `gh-pages`\n   (Settings \u003e Pages)\n5. Sit back and enjoy that ☕️!\n\n## The Nitty Gritty\n\nGitHub Pages deployment is simple with the following GitHub Actions workflow:\n\n```yaml\n  - name: Checkout\n    uses: actions/checkout@v2\n  - name: Get current date\n    id: date\n    run: echo \"::set-output name=date::$(date +'%Y-%m-%d')\"\n  - name: Build GitHub stats pages\n    uses: astrochun/github-stats-pages@latest\n    with:\n      username: ${{ github.repository_owner }}\n      token: ${{ secrets.GH_TOKEN }}\n  - name: Upload data to main branch\n    uses: EndBug/add-and-commit@v7.0.0\n    with:\n      add: 'data'\n      branch: main\n      message: \"Update data: ${{ steps.date.outputs.date }}\"\n      author_name: 'github-actions[bot]'\n      author_email: '41898282+github-actions[bot]@users.noreply.github.com'\n  - name: Upload static files to gh-pages\n    uses: peaceiris/actions-gh-pages@v3\n    with:\n      personal_token: ${{ secrets.GH_TOKEN }}\n      publish_dir: ./public\n      keep_files: false\n      user_name: 'github-actions[bot]'\n      user_email: '41898282+github-actions[bot]@users.noreply.github.com'\n      publish_branch: gh-pages\n      commit_message: \"Update static pages: ${{ steps.date.outputs.date }}\"\n```\n\nThis workflow will run for all public repositories.\n\n##### Inputs\n\n| Variable        | Description                        | Required? | Type  | Defaults | Examples         |\n| --------------- | ---------------------------------- | --------- | ----- | -------- | ---------------- |\n| `username`      | GitHub username or organization    | **Yes**   | `str` | N/A      | `astrochun`      |\n| `token`         | GitHub Personal Access Token (PAT) | **Yes**   | `str` | N/A      | `abcdef12345678` |\n| `include-repos` | Comma-separated lists of repositories. This overrides the full list of public repositories | No | `str` | `''` | `'github-stats-pages,astrochun.github.io'`\n| `exclude-repos` | Comma-separated lists of repositories to exclude from default public repository list | No | `str` | `''` | `'repo1'` |\n\n##### Other GitHub Action deployment examples:\n\nTo override all public repositories and limit to a subset of public repositories,\nspecify a comma-separated list (_no spaces between commas_) for `include-repos` argument.\n\n```yaml\n  - name: Build GitHub stats pages\n    uses: astrochun/github-stats-pages@latest\n    with:\n      username: ${{ github.repository_owner }}\n      token: ${{ secrets.GH_TOKEN }}\n      include-repos: \"github-stats-pages\"\n```\n\nAlternatively to exclude specific repositories from the list of public repositories,\nuse the `exclude-repos` argument with a comma-separated list (_no spaces between commas_).\n\n```yaml\n  - name: Build GitHub stats pages\n    uses: astrochun/github-stats-pages@latest\n    with:\n      username: ${{ github.repository_owner }}\n      token: ${{ secrets.GH_TOKEN }}\n      exclude-repos: \"repo1,repo2\"\n```\n\nNote that you can only specify `include-repos` _or_ `exclude-repos`.\n**Specifying both will fail**!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrochun%2Ftest-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrochun%2Ftest-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrochun%2Ftest-stats/lists"}