Animated GitHub contribution snake for your profile README, your repos, and your orgs
Описание и применение
Автоматический генератор анимированных графиков активности GitHub для README репозитория и страницы организации, обновляемый nightly через GitHub Actions.
Задача
GitHub only provides contribution calendars for user accounts, not for repositories or organizations, making it hard to display activity on README or org pages.
Результат
The repo README now displays an animated snake, heatmap, skyline, and activity summary that update nightly, improving visibility of recent contributions for both users and organizations.
Рабочий процесс
- Add a workflow file .github/workflows/readme-showcase.yml that schedules nightly runs and allows manual trigger.
- Run the workflow once from the Actions tab to generate the SVGs and stats.json.
- Commit the generated files to the output branch via the action.
- Update the README to embed the activity SVG with a prefers‑color‑scheme source set for dark mode.
- The workflow continues to update the images nightly, keeping the chart current.
Доказательства
GitHub keeps a contribution calendar for user accounts and nothing else. A repository doesn't have one, and neither does an organization.
I wrote github-action-shares, a GitHub Action that builds the calendar itself and draws three animated SVGs from it.
Add the workflow. Save this as .github/workflows/readme-showcase.yml
Run the workflow once. After that the nightly schedule takes over.
- Дата записи: 2026-10-10T14:56:03.325Z