{"id":24274594,"url":"https://github.com/rehborn/github-activity-svg","last_synced_at":"2026-06-08T05:31:27.059Z","repository":{"id":191655999,"uuid":"685283252","full_name":"rehborn/github-activity-svg","owner":"rehborn","description":"Generate Monthly Calendar SVGs for GitHub and Wakatime activities","archived":false,"fork":false,"pushed_at":"2023-09-02T11:31:26.000Z","size":11,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-11T20:09:51.411Z","etag":null,"topics":["github-action","github-contributions","github-profile","wakatime-stats"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/github-activity-svg","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rehborn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-30T22:35:12.000Z","updated_at":"2025-02-24T13:19:34.000Z","dependencies_parsed_at":"2023-08-31T00:40:29.079Z","dependency_job_id":null,"html_url":"https://github.com/rehborn/github-activity-svg","commit_stats":null,"previous_names":["rehborn/github-activity-svg"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rehborn/github-activity-svg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehborn%2Fgithub-activity-svg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehborn%2Fgithub-activity-svg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehborn%2Fgithub-activity-svg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehborn%2Fgithub-activity-svg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehborn","download_url":"https://codeload.github.com/rehborn/github-activity-svg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehborn%2Fgithub-activity-svg/sbom","scorecard":{"id":769196,"data":{"date":"2025-08-18","repo":{"name":"github.com/rehborn/github-activity-svg","commit":"5bd7946f42cea5768fa0df4b940e9b954602de37"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/docker.yml:20","Info: jobLevel 'contents' permission set to 'read': .github/workflows/python-test.yml:17","Warn: no topLevel permission defined: .github/workflows/docker.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/github-activity-svg.yml:21","Warn: no topLevel permission defined: .github/workflows/python-test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/docker.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-activity-svg.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/github-activity-svg.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/github-activity-svg.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/github-activity-svg.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-activity-svg.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/github-activity-svg.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-activity-svg.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/github-activity-svg.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/python-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/python-test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-test.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/rehborn/github-activity-svg/python-test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.10-slim to python:3.10-slim@sha256:420fbb0e468d3eaf0f7e93ea6f7a48792cbcadc39d43ac95b96bee2afe4367da","Warn: pipCommand not pinned by hash: Dockerfile:13","Warn: pipCommand not pinned by hash: .github/workflows/python-test.yml:30","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T01:46:12.595Z","repository_id":191655999,"created_at":"2025-08-23T01:46:12.595Z","updated_at":"2025-08-23T01:46:12.595Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34050225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-action","github-contributions","github-profile","wakatime-stats"],"created_at":"2025-01-15T20:48:00.780Z","updated_at":"2026-06-08T05:31:27.043Z","avatar_url":"https://github.com/rehborn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Activity SVG\n\nGenerate Monthly Calendar SVGs for GitHub and Wakatime activies\n\n| \u003cimg height=\"12\" width=\"12\" src=\"https://cdn.simpleicons.org/github/000000/ffffff\" /\u003e Github | \u003cimg height=\"12\" width=\"12\" src=\"https://cdn.simpleicons.org/wakatime/000000/ffffff\" /\u003e Wakatime |\n|----------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n|![GitHub](docs/github.svg)|![Wakatime](docs/wakatime.svg)|\n\n- enable GitHub Pages for the repository\n- optional: add `WAKATIME_JSON_URL` to repository secrets (create a JSON embed at [wakatime](https://wakatime.com/share/embed) `JSON`, `Coding Activity`)\n\n### Simple Action Usage\n```yaml      \n      - name: \"Run Github Activity Action\"\n        uses: rehborn/github-activity-svg@v0.0.1\n        with:\n          months: 12\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_ACTOR: ${{ github.actor }}\n          WAKATIME_JSON_URL: ${{ secrets.WAKATIME_JSON_URL }}\n```\n\nthe action will store all SVGs in `dist/`, output filenames suffix the index, \nstarting with 0 as the current month, going back in time as the index increases:   \n\n- `gitlab-0.svg` (this month)\n- `gitlab-1.svg` (last month)\n- `wakatime-0.svg`\n- `wakatime-1.svg`\n\n\n### Complete Example Creating Artifact and Pushing to GitHub Pages\n```yaml\nname: Run Github Activity Action\n\non:\n  workflow_dispatch:\n    inputs:\n      months:\n        type: choice\n        description: 'number of months to generate'\n        options:\n        - \"1\"\n        - \"2\"\n        - \"3\"\n        - \"6\"\n        - \"12\"\n        - \"24\"\n\n  schedule:\n    - cron: '0 0,12,18 * * *'\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  generate-and-publish-svg:\n    name: Generate Activity SVGs and Publish to Github Pages\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: \"Run Github Activity Action\"\n        uses: rehborn/github-activity-svg@v0.0.1\n        with:\n          months: ${{ inputs.months || '3' }}\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_ACTOR: ${{ github.actor }}\n          WAKATIME_JSON_URL: ${{ secrets.WAKATIME_JSON_URL }}\n\n      - name: Upload Web artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: ./dist/\n\n      - name: Deploying Web artifact\n        uses: actions/deploy-pages@v2\n```\n\n## Dependencies\n\n- [DrawSVG](https://github.com/cduck/drawsvg)\n- [requests](https://github.com/psf/requests)\n- [python-dotenv](https://github.com/theskumar/python-dotenv)\n- [python-dateutil](https://github.com/dateutil/dateutil)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehborn%2Fgithub-activity-svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frehborn%2Fgithub-activity-svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehborn%2Fgithub-activity-svg/lists"}