Stars Viewer

Export of GitHub stars organized by type

About This Project

Stars-Viewer is a Python pipeline that exports a GitHub user's starred repositories and presents them as a categorised, browsable static website. Each nightly run pulls newly starred repositories from the GitHub API, diffs them against a local stars.jsonl export, and regenerates the site in a docs/ directory that GitHub Pages serves. Incremental syncing short-circuits when a page contains no new entries, while a periodic full run reconciles unstarred repositories and metadata drift. A separate GraphQL batch step fetches pushedAt timestamps for newly added repositories and records them in updated_at.json, resuming where it left off if interrupted.

Classification is handled by a regex and topic-matching categoriser defined inline in build_site.py, which assigns repositories to about 30 buckets grouped into eight sections such as AI and LLMs, Data, Developer, Security and Privacy, and Workflow and Productivity. Because classification runs on every site rebuild, new stars are categorised automatically. The project is orchestrated by a scheduled GitHub Actions workflow that commits its outputs back to the repository, and it requires a fine-grained personal access token because the default GITHUB_TOKEN cannot read another user's stars. An optional component uses DuckDB with the VSS extension to build a semantic search index over repository descriptions, queryable from the command line.

The project is most relevant to developers who maintain large personal star collections and want a navigable, always-current overview rather than GitHub's flat list. It also serves as a reference for building a scheduled, commit-driven static site from API data, or for combining rule-based categorisation with local vector search over short text.

Project Details

Explore More Projects