r/coolgithubprojects • • 17h ago

Made my GitHub profile README interactive: you can vote for a color, and a GitHub Action updates the chart

I spent some time making my GitHub profile README less static, and I wanted to share the result.

READMEs can't run JavaScript, so I built it out of the pieces GitHub already gives you:

  1. Each color bar is an image wrapped in a link.
  2. Clicking it opens a new issue that's already filled in. You just press Create.
  3. A GitHub Action reads the issue, adds +5 to that color, redraws the chart and commits it to the repo.
  4. The bot thanks you in the issue and closes it. About a minute later, your vote shows up on the profile.

It also shows the total votes and the last voter

I went with a wizard theme with an animated background, plus an auto-generated "Most Used Languages" card.

Come vote for your color: https://github.com/Placidelinkpehoun

0 Upvotes

0 comments sorted by