Turn Your GitHub Contribution Graph Into an ASCII City
说明与用途
使用 GitHub Actions 自动生成并更新 GitHub 贡献图的动态 SVG 天际线。
问题
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