I turned a GitHub star count into a sky you can drag into shape
说明与用途
创建了一个交互式的天空图像,显示 GitHub 仓库的星标数量和读取时间,可自定义并通过 URL 片段分享。
问题
When a project reaches a milestone, a screenshot of the star counter feels impersonal; a more engaging thank‑you is desired.
结果
The solution allows users to create a personalized thank‑you sky image that embeds the star count and timestamp, shareable via a URL fragment without further API calls.
工作流
- Paste owner/repo or GitHub link
- Page requests star count via GitHub API (unauthenticated)
- Drag stars into a shape
- Tap stars to join them
- Write a line up to 40 characters
- Save as 1080×1350 PNG or copy link
证据
The page asks the GitHub API for the star count, once, with no token.
The picture always prints the exact count and the time it was read.
The whole sky is one small object: a theme, the repository and its count, when it was read, the caption, 64 points and up to 32 lines.
Chinese captions use the device's own fonts. The read time comes from the device clock because GitHub does not expose its Date header to pages.
- 记录日期: 2026-10-09T04:41:19.465Z