prometheus/scripts
Local Dev 1192f38ea5 prometheus: taxonomy — Apps / Games / FinTech, with sub-chips inside Apps
Three top-level groups replace the flat eight categories on the home
page and /browse:

  Apps        7 sub-categories inside: browsers / communication /
              privacy / devtools / media / productivity / other
  Games       single bucket for now; sub-chips later when there's volume
  FinTech     single bucket for now (BCH wallets, bridges, POS, DeFi)

Routes:
  /t/<slug>   top-level page. For Apps shows the 7 sub-chips + an
              aggregated listings view across them. For Games and
              FinTech shows the listings directly (no sub-chips).
  /c/<slug>   sub-category page under Apps (browsers, communication, …).
              The sole-sub categories /c/games and /c/fintech 301 to
              /t/games and /t/fintech respectively, so each view has
              exactly one canonical URL.

Slug renames + removals in the CATEGORIES allow-list on listings.js:
  utilities → productivity   (the display label was already pointing at
                              that in people's heads — "productivity"
                              fits storage + sync + file tools better)
  wallets   → fintech         (broader scope: bridges + POS + DeFi,
                              not just wallets)
  games                       stays as a top-level sole-bucket
  browsers                    NEW sub-category under Apps for BCNR
                              resolvers, mobile browsers, extensions

Seed listings re-categorised + two slug fixes:
  theseus.x/theseus-navigator-win       category: other → browsers
  ariadne.x/ariadne-resolver-win        → RENAMED to ariadne-thread-win,
                                           name "Ariadne's Thread
                                           (Windows resolver)" shortened
                                           to just "Ariadne's Thread";
                                           category: privacy → browsers
  ariadne.x/ariadne-android             → RENAMED to ariadne-navigator,
                                           name "Ariadne's Thread
                                           (Android)" → "Ariadne
                                           Navigator" (it is a
                                           different program, not a
                                           platform build of Thread);
                                           category: privacy → browsers
  pithos.x/pithos-desktop                category: utilities → productivity

scripts/migrate-taxonomy.mjs is a one-shot that deletes every row with
signature='SM_OPERATOR_SEED'; a subsequent `seed.mjs` run then inserts
the fresh set with the new slugs. Publisher-POSTed listings (none in
production today) are left alone. Idempotent — a second run finds
nothing to remove.

New icons:
  top-apps.svg       2×2 rounded tile grid (OS launcher metaphor)
  cat-browsers.svg   browser window + 3 chrome dots + content block

Three icons reused: cat-games.svg doubles as the Games top icon,
cat-wallets.svg as the FinTech top icon (same visual, different label);
cat-utilities.svg stays as the Productivity sub icon.
2026-10-22 22:39:08 +03:00
..
migrate-taxonomy.mjs prometheus: taxonomy — Apps / Games / FinTech, with sub-chips inside Apps 2026-10-22 22:39:08 +03:00
seed-listings.json prometheus: taxonomy — Apps / Games / FinTech, with sub-chips inside Apps 2026-10-22 22:39:08 +03:00
seed.mjs prometheus: standalone identity + first-wave Silent Mode listings 2026-10-09 01:23:21 +02:00
snapshot.mjs prometheus: weekly s3 snapshot of the browse surface to bns/prometheus 2026-10-08 21:42:54 +02:00
test-admin-roundtrip.mjs prometheus: admin panel — login, listings, 3-mode toggle, audit log 2026-10-08 21:35:48 +02:00
test-listing-roundtrip.mjs prometheus: signed listings — BIP-137 publisher sign, SQLite index 2026-10-08 01:48:12 +02:00