An API endpoint that provides an image of a GitHub contribution graph in various colors.
The graph is developed using React, converted to HTML, then transformed into an image, served using Next.js. The images are cached in Vercel blob store for one day. The initial request may be slow, but subsequent requests will be quicker.
https://happy.apiki.me/v2/username/[username]
Change the color of the GitHub contribution graph.
'slate', 'zinc', 'neutral', 'stone', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose'
https://happy.apiki.me/v2/username/PikiLee?tone=yellow
Show name, avatar, days-on-github text or all of them in the image.
'name', 'avatar', 'daysOnGithubText'
https://happy.apiki.me/v2/username/PikiLee?include=name
https://happy.apiki.me/v2/username/PikiLee?include=name,avatar,daysOnGithubText
GITHUB_CLIENT_TOKEN
: github tokenBLOB_READ_WRITE_TOKEN
: vercel blob read-write token
pnpm install
pnpm dev:graph
pnpm dev