feat(website): add social proof line to hero with star count and build date

Display the awesome-python repo's star count (formatted as '230k+') and
the last data refresh date below the hero CTA. Fetches the self-repo
star count by always including vinta/awesome-python in the stars fetch.
Also removes the footer date stamp, which is now surfaced in the hero.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-23 01:56:15 +08:00
parent 25a3f4d903
commit f27b7c80fb
7 changed files with 51 additions and 13 deletions

View File

@@ -103,6 +103,7 @@ def main() -> None:
readme_text = README_PATH.read_text(encoding="utf-8")
current_repos = extract_github_repos(readme_text)
current_repos.add("vinta/awesome-python")
print(f"Found {len(current_repos)} GitHub repos in README.md")
cache = load_stars(CACHE_FILE)