Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.41 KB

File metadata and controls

26 lines (16 loc) · 1.41 KB

Centauri (prototype)

Minimal FastAPI + Jinja2 starter for paginated GitHub stars. This was largely slopped out using Codex because it's a prototype version meant for personal usage until I build the real thing (one of my next projects).

Anyway, I really, really hate that there's no pagination for GitHub's starred repositories section, so I (ok again it was barely me) decided I wanted to build a web app that would solve this issue. Since I'm impatient (this is something that really bothers me about this site as you've probably figured out) I figured it was a good idea to have AI build me a rough prototype of what the actual thing will be like when I create that (sneak-peak!!!) That of course will be a lot better and will not just be a petty duct tape solution to a personal problem I have. I'm planning on either doing it in Rust (since I want to learn that soon) or Elixir, as I want to work more in functional programming languages. I also added a language filter cos that was something I personally wanted (same for star count sorting) Anyways:

Run

  1. Install deps:
uv sync
  1. Set up an OAuth App and set the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET keys in .env

  2. Start the dev server:

uv run fastapi dev main.py --port 1580

Open http://localhost:1580. Heads up it takes a while to load because of API-related reasons so don't worry if it looks like something went wrong at first.