Global “Like / Stomp” Widget—GitHub + Vercel
Real-Time Reactions
for any Hexo blog
GitHub Issue + Vercel Function → one counter for everyone.
Setup in 3 Steps ▼
- GitHub — create Issue
__VOTES__
, body{}
, note its number.
Generate a PAT withpublic_repo
scope. - Backend repo + Vercel — import, add env var
GH_TOKEN
, dropapi/vote.js
. - Hexo page — paste the vote widget (below) into any post.
hexo clean && hexo g -d
→ counts sync globally.
Demo Widget
Click 👍 or 👎 — open this page in two tabs to prove global sync.
0
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.