Browser extension: detect and subscribe to standard.site publications on ATProto substandard.blog
README.md

substandard #

read. more. blogs.

substandard shows a badge when the site you're visiting has a standard.site publication on the Atmosphere: the distributed social network built on the AT Protocol. Click, subscribe, and read blog posts in the app of your choice.

  • Sign in to your Atmosphere account via OAuth. Works whether you're on Bluesky, mu.social, or hosting your own PDS.

  • Your password never touches the extension or our servers. In fact, we don't even have any.

  • Subscriptions are only stored in your account, and are compatible with any standard.site reader: Standard Reader, Leaflet Reader, and more.

  • Switch between this page, subscriptions, feedback, and Panoptiblog's ranked publications and topics with tabs; manage subscriptions with search, sort, and bulk unsubscribe.

  • This extension is open source and has no backend, no analytics, and no tracking.

Installing #

Chrome Web Store #

You can install substandard from the Chrome Web Store. This is the best option for most users.

Local #

You can also build the extension locally:

npm install
npm run package   # build + verify dist/ is loadable

Or if you want developer mode turned on (inverted color icon):

npm install
npm run package:dev

Then in Chrome: chrome://extensions → enable Developer mode → Load unpacked → select the dist/ directory.

For Firefox, build the Firefox target instead:

npm install
npm run package:firefox   # build into dist-firefox/ + verify it is loadable

Then in Firefox: about:debugging#/runtime/this-firefox → Load Temporary Add-on → select dist-firefox/manifest.json. A temporary add-on is unloaded when Firefox closes; a permanent Firefox release needs signing, which is not set up yet (see TODO.md).

Firefox signs in through a fixed https://oauth2.substandard.blog/oauth2 redirect. That host has no DNS record, so the navigation fails and the extension reads the attempted URL from the error page. Do not add a DNS record for oauth2.substandard.blog; a resolved page would receive the authorization code. The URI is listed in oauth/client-metadata.json, so the metadata must be deployed before a Firefox release is built — otherwise the PDS rejects the authorization request.

Threadbare #

The companion thread finder is a browser-only WASM app at threadbare.substandard.blog. Its source, dev commands and deploy path are in threadbare/.

Development #

Other local dev commands include:

npm run check         # typecheck
npm run build           # build the extension
npm run build:dev       # same build, dev channel
npm run build:firefox   # build the Firefox manifest into dist-firefox/
npm run verify:dist     # verify against manifest
npm run package         # build + verify:dist in one step
npm run package:dev     # build:dev + verify:dist in one step
npm run package:firefox # build:firefox + verify:dist against dist-firefox/
npm run dev           # dev channel in watch mode
npm test              # run unit tests

Extension releases #

Instructions for the maintainer.

  1. scripts/deploy-site.sh — step 4 validates against the hosted client metadata, so the site has to be current before it runs.
  2. npm run bump — stages the version into the three release files; commit it as chore(release): v<version>.
  3. git tag -a v<version> and git push --follow-tags — deploy-ext.sh requires the tag at HEAD and creates none itself.
  4. scripts/deploy-ext.sh to build the deployable package under release
  5. npm run smoke, then npm run rc to verify the package
  6. Upload the zip by hand at the developer console URL step 4 prints.

Firefox has its own release path once AMO signing is set up (see TODO.md): run npm run package:firefox and submit dist-firefox/. Deploy the OAuth client metadata first — the fixed Firefox redirect URI must be live before the build reaches a PDS.

Privacy policy #

See substandard.blog/privacy.

License #

MIT — see LICENSE.