Repo 'directory' view grouped by topic labels #8

Open
opened 2026-04-17 21:55:16 -07:00 by nelsong6 · 0 comments
nelsong6 commented 2026-04-17 21:55:16 -07:00 (Migrated from github.com)

Idea

A new view on diagrams.romaine.life that shows every repo under `nelsong6`, grouped by GitHub topic labels. GitHub itself doesn't offer a useful grouped directory across a user's repos — you get a flat, paginated list. Since the diagrams site already owns the "visualization layer" for the ecosystem, this is the natural home.

Rough UI

  • Fetch /users/nelsong6/repos?per_page=100 (GitHub API)
  • Read each repo's topics field
  • Group repos into sections, one section per topic
  • A repo with multiple topics appears in each relevant section
  • Repos with no topics fall into an "uncategorized" section at the bottom so they're visible and nudge-able
  • Each repo card: name, short description, stars if any, link to repo, link to its issues count
  • Optional: color-code sections based on semantic groups

Could be route /repos or /directory. First-pass layout: a grid-of-grids (sections stacked, repos wrapped within).

Topic taxonomy (to define)

Topics are already plumbed through infra-bootstrap (tofu/main.tf:161 app_topics lookup). Currently only fzt-downstream is set. For the directory view to be useful, more topics need populating.

Candidate groupings to start with:

  • fzt — engine + wrappers (fzt, fzt-frontend, fzt-terminal, fzt-browser, fzt-automate, fzt-picker)
  • fzt-downstream — apps consuming fzt (my-homepage, fzt-showcase) (exists)
  • web-app — SWA-backed app frontends (my-homepage, house-hunt, kill-me, plant-agent, investing, llm-explorer, fzt-showcase)
  • infra — shared/infrastructure (infra-bootstrap, api, landing-page, diagrams, pipeline-templates, emotions-mcp)
  • cli-tool — command-line binaries (fzt, fzt-automate, fzt-picker)
  • archive — older personal projects (new-pokemon-appeared, BenderAndURL, MouseShortcuts, carcassonne-ideas, SOCDchip, etc.)

Populating: edit app_topics in infra-bootstrap/tofu/main.tf for the managed apps; for unmanaged/archive repos, set via gh api repos/nelsong6/<repo> -X PATCH -f topics='["archive"]' or through the repo settings UI.

Why this view helps

  • Answers "what repos do I have, and what's each one for?" at a glance
  • Reveals drift — an uncategorized repo is visible and calls for a topic
  • Pairs with the Projects v2 cross-repo issue dashboard: directory = "what exists", Project = "what's outstanding"

Where

  • frontend/src/components/ — new component, e.g. RepoDirectoryView.tsx
  • Data fetch: client-side fetch('https://api.github.com/users/nelsong6/repos?per_page=100') or route it through api.romaine.life if we want caching / rate-limit protection
  • frontend/src/App.tsx — add route
  • NavSidebar — add link under new "OVERVIEW" section or similar

Scope guardrail

v0 = static fetch + render. No auth, no live updates, no SSE. Refresh on page load is fine.

## Idea A new view on `diagrams.romaine.life` that shows every repo under \`nelsong6\`, grouped by GitHub topic labels. GitHub itself doesn't offer a useful grouped directory across a user's repos — you get a flat, paginated list. Since the diagrams site already owns the "visualization layer" for the ecosystem, this is the natural home. ## Rough UI - Fetch `/users/nelsong6/repos?per_page=100` (GitHub API) - Read each repo's `topics` field - Group repos into sections, one section per topic - A repo with multiple topics appears in each relevant section - Repos with no topics fall into an "uncategorized" section at the bottom so they're visible and nudge-able - Each repo card: name, short description, stars if any, link to repo, link to its issues count - Optional: color-code sections based on semantic groups Could be route `/repos` or `/directory`. First-pass layout: a grid-of-grids (sections stacked, repos wrapped within). ## Topic taxonomy (to define) Topics are already plumbed through infra-bootstrap ([tofu/main.tf:161](https://github.com/nelsong6/infra-bootstrap/blob/main/tofu/main.tf#L161) `app_topics` lookup). Currently only `fzt-downstream` is set. For the directory view to be useful, more topics need populating. Candidate groupings to start with: - `fzt` — engine + wrappers (fzt, fzt-frontend, fzt-terminal, fzt-browser, fzt-automate, fzt-picker) - `fzt-downstream` — apps consuming fzt (my-homepage, fzt-showcase) *(exists)* - `web-app` — SWA-backed app frontends (my-homepage, house-hunt, kill-me, plant-agent, investing, llm-explorer, fzt-showcase) - `infra` — shared/infrastructure (infra-bootstrap, api, landing-page, diagrams, pipeline-templates, emotions-mcp) - `cli-tool` — command-line binaries (fzt, fzt-automate, fzt-picker) - `archive` — older personal projects (new-pokemon-appeared, BenderAndURL, MouseShortcuts, carcassonne-ideas, SOCDchip, etc.) Populating: edit `app_topics` in `infra-bootstrap/tofu/main.tf` for the managed apps; for unmanaged/archive repos, set via `gh api repos/nelsong6/<repo> -X PATCH -f topics='["archive"]'` or through the repo settings UI. ## Why this view helps - Answers "what repos do I have, and what's each one for?" at a glance - Reveals drift — an uncategorized repo is visible and calls for a topic - Pairs with the Projects v2 cross-repo issue dashboard: directory = "what exists", Project = "what's outstanding" ## Where - [frontend/src/components/](https://github.com/nelsong6/diagrams/tree/main/frontend/src/components) — new component, e.g. `RepoDirectoryView.tsx` - Data fetch: client-side `fetch('https://api.github.com/users/nelsong6/repos?per_page=100')` or route it through `api.romaine.life` if we want caching / rate-limit protection - [frontend/src/App.tsx](https://github.com/nelsong6/diagrams/blob/main/frontend/src/App.tsx) — add route - [NavSidebar](https://github.com/nelsong6/diagrams/blob/main/frontend/src/components/NavSidebar.tsx) — add link under new "OVERVIEW" section or similar ## Scope guardrail v0 = static fetch + render. No auth, no live updates, no SSE. Refresh on page load is fine.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/diagrams#8
No description provided.