Skip to content

Add live GitHub star counter to docs header#658

Open
vrinda-damani wants to merge 11 commits into
devfrom
fix/star-on-github-counter
Open

Add live GitHub star counter to docs header#658
vrinda-damani wants to merge 11 commits into
devfrom
fix/star-on-github-counter

Conversation

@vrinda-damani
Copy link
Copy Markdown

Summary

  • Replaces plain GitHub icon in docs header with "Star on [icon] [⭐ count]" pill
  • Star count fetched live from GitHub API with 10-min localStorage cache
  • Format: <1000 raw number, ≥1000 → "1.2k", ≥10000 → "12k". Falls back to ⭐ symbol on API failure
  • Matches the landing page header treatment for cross-site consistency

Companion PR on landing-page: https://github.com/future-agi/landing-page/pull/146

Test plan

🤖 Generated with Claude Code

KarthikAvinashFI and others added 11 commits April 29, 2026 18:50
Dev to main, 4th May, 2026
[release]: added new cookbooks for falcon, mcp and acc
release: dev -> main (self-hosting cookbook)
docs(simulation): nest Chat Replay and Voice Replay under Replay in sidebar
dev to main docs 7th may
Dev to main, 7th May, 2026
dev to main : 14/05/2026
- Replaces plain GitHub icon with "Star on [icon] [⭐ count]" pill
- Star count fetched from GitHub API with 10-min localStorage cache
- Formatted as compact (e.g. 1.2k, 12k) — falls back to ★ if API fails
- Matches the landing page header treatment for consistency

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants