Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marginalia Hub

Catalog, publishing, and discovery hub for Marginalia packages.

This service sits between package authors and the firmware. It does not execute packages.

The current repo includes a static package browser in index.html. Serve the repo root over HTTP and open / to browse the bootstrap catalog.

For Vercel, sync the page into public/ before deploying because Vercel serves that directory as static output:

./scripts/sync-public-index.sh
vercel deploy . -y

vercel.json keeps catalog responses CORS-readable from the device-hosted package manager.

Responsibilities

  • host the public package catalog
  • validate package metadata and manifests
  • expose source repositories and release artifact checksums
  • provide package search and discovery
  • serve package artifacts
  • support submissions and deprecations

API contract

See docs/hub-contract.md

Bootstrap catalog

public/v1/catalog.json is a static community catalog snapshot. It uses the same entry shape as marginalia-registry, wrapped in a catalog envelope:

  • schemaVersion
  • generatedAt
  • signature
  • entries

The bootstrap catalog points at .mpkg.zip release assets with real SHA-256 hashes. It also includes source repository metadata so package entries can be reviewed like an RT-Thread package index. Catalog signatures are intentionally optional for now; firmware verifies archive hashes before staging downloads. After local install, firmware may report activationPending until a rebooted trial is confirmed; the Hub does not invent or persist that device-local state.

The open-source native App and reader.sync/1 Provider fixtures in marginalia-examples/hardware-fixtures/ are kept out of this catalog. They are validation inputs, not release entries, until firmware admission and physical X3/X4 evidence exist.

Check that the published bootstrap catalog still matches the registry source:

./scripts/check-registry-catalog.sh ../marginalia-registry

About

Catalog, publishing, and discovery hub for Marginalia packages.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages