Turn Your GitHub Contribution Graph Into an ASCII City
Описание и применение
Создайте динамический SVG-горизонт из графика вкладов GitHub, обновляемый автоматически через GitHub Actions.
Задача
Represent GitHub contribution activity in a more engaging visual form for personal branding on GitHub profiles.
Результат
The workflow produces a dynamic, themed skyline SVG that updates nightly, enhancing the visual appeal of a GitHub profile README without manual intervention.
Рабочий процесс
- Install Skyline CLI via
go install github.com/pinkpixel-dev/skyline@latest - Create a GitHub Actions workflow file
.github/workflows/skyline.ymlin the profile repo - Configure the workflow to run nightly and on demand, using
go run github.com/pinkpixel-dev/skyline@latest -theme neon -svg skyline.svg "${{ github.repository_owner }}" - Publish the generated
skyline.svgto a dedicatedoutputbranch using a temporary git repository - Add an image link to the README pointing to the SVG in the
outputbranch
Доказательства
I made Skyline, a small Go CLI that takes your GitHub contribution history and turns it into an ASCII city.
Skyline needs access to the GitHub API, but it tries to make authentication fairly painless.
You can have GitHub Actions regenerate your city automatically every night so your skyline changes along with your contribution graph.
- Дата записи: 2026-10-18T13:56:41.510Z