Skip to content

feat(plugins): source the plugin registry from Tabularium and link the live registry - #14

Open
NewtTheWolf wants to merge 1 commit into
mainfrom
feat/tabularium-registry-sync
Open

feat(plugins): source the plugin registry from Tabularium and link the live registry#14
NewtTheWolf wants to merge 1 commit into
mainfrom
feat/tabularium-registry-sync

Conversation

@NewtTheWolf

Copy link
Copy Markdown
Contributor

⚠️ Do not merge yet — pending manual verification by @NewtTheWolf.

The /plugins page (and everything else reading plugins/registry.json) was still fed exclusively from the legacy static registry in the app repo, while the app itself already defaults to the Tabularium registry at registry.tabularis.dev. Visible drift on the live site: firestore shown as 0.1.0 (registry: 0.5.0), cloudflare-d1 0.1.0 (registry: 0.1.3), mongodb 0.1.0 (registry: 0.1.1).

What changed

scripts/fetch-app-data.mjs

  • At build time, GET registry.tabularis.dev/api/plugins?kind=driver (paginated) + one detail call per plugin are merged into the legacy plugins/registry.json shape; Tabularium wins per plugin id. Marked COMPAT(registry-ga) — once every plugin lives in Tabularium, drop the legacy fetch.
  • Asset links are the registry's tracked download URLs (/api/plugins/{id}/releases/{version}?os=…&arch=…&redirect=1), so website downloads show up in the registry analytics. Verified live: 302 → author's release asset.
  • If the registry API is down the build falls back to legacy data with a warning — deploys never block on the API; the 6-hour rebuild cron catches up.
  • Consumers (/plugins page, :::plugin::: markdown cards, search index) are untouched: they keep reading the same legacy-shaped JSON.

Live registry links

  • Tabularium plugins get a registry_url; the plugin name on /plugins, the :::plugin::: card and search results now link to registry.tabularis.dev/plugins/{id}. The "Repo →" button keeps pointing at the source repo.
  • The /plugins CTA now offers the registry's plugin development docs alongside the GitHub plugin guide (JSON-RPC protocol + Rust skeleton still only live there).

vercel.json redirects (307, deliberately not permanent yet)

  • /wiki/pluginshttps://registry.tabularis.dev/docs/plugin-development/schema
  • /wiki/building-pluginshttps://registry.tabularis.dev/docs/plugin-development

Review notes

  • The two redirected wiki markdown files are kept (redirect wins on Vercel); delete them once the redirects are deemed final, then flip permanent to true.
  • Merged registry verified: 15 plugins, every latest_version has a matching release entry; search index contains the registry URLs; tsc --noEmit only shows the 4 pre-existing errors in notes/datagrid-bench/.
  • Known upstream issue (not addressed here): informix is approved in Tabularium but missing from /api/plugins — it is still served via the legacy merge. Likely the manifest fails the registry's current schema validation.

…e live registry

- fetch-app-data merges the legacy plugins/registry.json (app repo) with the
  Tabularium registry API (registry.tabularis.dev, kind=driver); Tabularium
  wins per plugin id, marked COMPAT(registry-ga) until every plugin lives there
- asset links use the registry's tracked download URLs so website downloads
  count in the registry analytics; legacy-only fallback if the API is down
- Tabularium plugins carry registry_url: plugin names on /plugins, the
  :::plugin::: card and search results link to the live registry plugin page
- /plugins CTA links the registry's plugin development docs next to the guide
- 307 redirects: /wiki/plugins -> registry schema docs,
  /wiki/building-plugins -> registry plugin-development docs
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Jul 27, 2026 7:59pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant