{"id":49820999,"url":"https://github.com/liuchong/github-personal-stats","last_synced_at":"2026-05-13T11:01:02.555Z","repository":{"id":357561741,"uuid":"1237420793","full_name":"liuchong/github-personal-stats","owner":"liuchong","description":"Code is cheap, help out with your tokens!","archived":false,"fork":false,"pushed_at":"2026-05-13T10:17:37.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-13T10:37:57.392Z","etag":null,"topics":["github","github-stats","stats"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuchong.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-13T07:02:29.000Z","updated_at":"2026-05-13T10:17:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/liuchong/github-personal-stats","commit_stats":null,"previous_names":["liuchong/github-stats"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liuchong/github-personal-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fgithub-personal-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fgithub-personal-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fgithub-personal-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fgithub-personal-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuchong","download_url":"https://codeload.github.com/liuchong/github-personal-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Fgithub-personal-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32979305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"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":["github","github-stats","stats"],"created_at":"2026-05-13T11:01:01.749Z","updated_at":"2026-05-13T11:01:02.549Z","avatar_url":"https://github.com/liuchong.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Code is cheap, help out with your tokens!**\n\n# GitHub Personal Stats\n\nGenerate a polished GitHub profile dashboard as one SVG. The renderer owns the layout, so your README does not have to fight tables, image heights, or fragile HTML alignment.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./examples/dashboard.svg\" alt=\"GitHub Personal Stats dashboard preview\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n## Why Use It\n\n- One default dashboard for stats, language share, total contributions, current streak, and longest streak.\n- Optional individual cards when you want a custom README layout.\n- Release-binary GitHub Action, local CLI, and HTTP server deployment path.\n- Fixed SVG dimensions with configurable width and height.\n- Deterministic rendering backed by fixtures and snapshot tests.\n\n## Card Examples\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./examples/stats.svg\" alt=\"Stats card preview\" width=\"49%\" /\u003e\n  \u003cimg src=\"./examples/languages.svg\" alt=\"Languages card preview\" width=\"49%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./examples/streak.svg\" alt=\"Streak card preview\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n## Quick Start\n\nUse the Action from your profile repository and commit the generated dashboard back to `profile/github-personal-stats.svg`.\n\n```yaml\nname: GitHub Personal Stats\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  generate:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v5\n      - uses: liuchong/github-personal-stats@v1.0.0\n        with:\n          card: dashboard\n          path: profile/github-personal-stats.svg\n          options: --user your-github-login --width 1000 --height 420\n      - uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: \"chore: update profile stats\"\n```\n\nThen add the generated image to your profile README:\n\n```md\n![GitHub Personal Stats](./profile/github-personal-stats.svg)\n```\n\n## Local Preview\n\nGenerate the showcase dashboard from the deterministic example data:\n\n```sh\ncargo run -p github-personal-stats -- generate \\\n  --fixture examples/showcase.json \\\n  --user showcase \\\n  --card dashboard \\\n  --output examples/dashboard.svg\n```\n\nGenerate an individual card:\n\n```sh\ncargo run -p github-personal-stats -- generate \\\n  --fixture examples/showcase.json \\\n  --card languages \\\n  --width 520 \\\n  --height 260 \\\n  --output examples/languages.svg\n```\n\n## Documentation\n\n- [User Guide](docs/user-guide.md): Action setup, CLI usage, card types, sizing, and README patterns.\n- [Deployment Guide](deploy/README.md): HTTP server, container, and Kubernetes deployment notes.\n- [Vercel Notes](deploy/vercel/README.md): lightweight serverless deployment considerations.\n\n## Repository Layout\n\n- `crates/core`: shared data model, aggregation, rendering, and configuration.\n- `crates/cli`: command-line interface.\n- `crates/server`: HTTP interface.\n- `examples`: deterministic showcase data and generated SVG previews.\n- `.agents`: durable AI development memory and process files.\n\n## Development\n\n```sh\ncargo fmt --check\ncargo clippy --all-targets -- -D warnings\ncargo test\n```\n\nCoverage is enforced in CI with `cargo llvm-cov`.\n\n## License\n\nThis project is licensed under 1PL. See [`LICENSE`](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuchong%2Fgithub-personal-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuchong%2Fgithub-personal-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuchong%2Fgithub-personal-stats/lists"}