Turn Your GitHub Contribution Graph Into an ASCII City
Описание и применение
Создайте динамический SVG-горизонт из графика ваших вкладов в GitHub, обновляемый nightly через GitHub Actions, и вставьте его в README.
Задача
GitHub users want a more engaging visual representation of their contribution history for their profile README.
Результат
A dynamic, animated SVG skyline that updates nightly, providing a personalized and visually appealing representation of a user's GitHub activity.
Рабочий процесс
- 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 on the
outputbranch
Доказательства
I made **[Skyline](https://github.com/pinkpixel-dev/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. It checks: GITHUB_TOKEN, GH_TOKEN, gh auth token
To create the version you can use on a website or GitHub profile: skyline -svg skyline.svg your-username
Inside that repository, create: .github/workflows/skyline.yml
That generates the animated SVG version instead of printing the city to the terminal.
- Дата записи: 2026-10-03T23:40:56.301Z