Docs

How to save, search, bloomscroll and share with Subset.

Guide

Getting Started

  1. Find something interesting on the web or in an app.
  2. Tap the iOS Share icon (square with up arrow) and select Subset.
  3. Optionally add a public or private note, paste an excerpt or edit the title, then tap "Done".
  4. Later, open Subset and tap the magnifying glass on the toolbar.
  5. Type a word from the item's title, URL, notes, excerpts or share records.
  6. Tap the play symbol on the toolbar to bloomscroll your saves as a feed.
  7. When you're ready to share, connect with a peer (see Connect).

Save

Bloomscroll

Connect

Share and Push

Postcards

Stories

RSS Feeds

HTTP Peer Protocol v1

In Subset, a peer is usually a person. An HTTP peer is an endpoint instead: a URL and a bearer token that sit in the same peer list and can be shared to exactly like a person. What happens to a share after it arrives — publishing it to a site, filing it in a notebook, forwarding it somewhere else — is up to the receiver.

This section is the whole contract. A receiver built from it alone is a conforming receiver. Subset has no knowledge of any particular receiver; it holds only the URL and the token.

Status

Version 1, stable. Changes to v1 are additive only: new optional fields that receivers must already ignore (see Versioning).

Trust model

Transport security is TLS. Authentication is a bearer token, held in the sender's keychain and presented on every request. There is no payload encryption and no signing: the receiver is an endpoint the user has chosen to publish to, so content sent to it is content the user is declassifying on purpose.

This is a deliberate departure from shares between people, which are end-to-end encrypted and stay that way. An HTTP peer holds no key material belonging to the sender, and it is excluded from every broadcast path that assumes a peer can decrypt (stories, bulk share to all).

Subset only talks to https endpoints. It will not send a token over plaintext.

Revocation is the receiver's lever. A revoked token produces 401, and the sender shows the peer as needing a new token.

What is sent. Only the fields in POST leave the device: the link, its title, a one-off share note, whichever public notes and excerpts the user selected for this share, the sender's display name, and the time of sending. Private notes, unselected entries, the sender's keys, and everything else on the link's record stay local.

Setup

The user adds a receiver by pasting a setup token into Subset:

SUBSET-HTTP:<base64url(JSON)>
{ "v": 1, "url": "https://receiver.example/subset", "token": "<secret>" }
FieldTypeMeaning
vintSetup token format. Must be 1.
urlstringThe endpoint. Must be https.
tokenstringThe bearer secret. Non-empty.

Base64url padding is optional. A receiver can show this string on its own setup page, or its operator can mint one by hand:

URL="https://receiver.example/subset"
TOKEN="$(openssl rand -base64 32 | tr '+/' '-_' | tr -d '=')"
echo "Bearer secret for your receiver: $TOKEN"
printf 'SUBSET-HTTP:%s\n' "$(printf '{"v":1,"url":"%s","token":"%s"}' "$URL" "$TOKEN" \
  | base64 | tr '+/' '-_' | tr -d '=\n')"

Configure the receiver to accept that secret, then paste the SUBSET-HTTP: line into Subset. The token is usually generated on a desktop and pasted on a phone, so offer it in a form that survives crossing devices. Treat it as a secret with a finite life, and provide a way to revoke it.

On paste, Subset GETs the endpoint and shows the name the receiver reports, so the user confirms the target by what it calls itself rather than by eyeballing a URL. The peer's alias starts as that name and stays editable; the alias is local to the sender and is never sent back.

Subset identifies a receiver by its URL, ignoring case in the scheme and host, a trailing slash, and any fragment. Pasting a new token for the same URL updates the existing peer rather than adding a second one. Two URLs that differ in path or query are two peers.

Endpoint

One URL, two methods. The receiver chooses its own path; the protocol imposes no structure on it.

Answer at exactly the URL in the setup token. Don't redirect: HTTP clients re-issue a redirected POST as a GET, and Subset will report the share as unconfirmed (see Responses).

GET <endpoint> — introspect and validate

GET /subset HTTP/1.1
Authorization: Bearer <token>
Accept: application/json
{ "ok": true, "v": 1, "name": "Example notes" }
FieldTypeMeaning
vintThe highest protocol version the receiver speaks. At least 1.
namestringWhat the receiver calls itself. Shown at setup and used as the peer's initial alias. If empty, the endpoint's host is used.

Serves three jobs: confirming the target at setup, supplying the peer's initial alias, and answering the periodic validation check. It must be cheap, must not change anything, and must be safe to call repeatedly.

POST <endpoint> — deliver a share

POST /subset HTTP/1.1
Authorization: Bearer <token>
Content-Type: application/json
Accept: application/json
{
  "v": 1,
  "id": "6F9619FF-8B86-D011-B42D-00CF4FC964FF",
  "sentAt": "2026-08-04T14:22:31.482Z",
  "from": "Sam",
  "url": "https://example.com/article",
  "title": "The article's title",
  "note": "why I'm sending this",
  "publicNotes": [
    { "ts": 1754312551482, "text": "a public note on this link" }
  ],
  "excerpts": [
    { "ts": 1754312559001, "text": "a passage from the article" }
  ]
}
FieldTypeMeaning
vintProtocol version of this share. 1.
idstringSender-generated UUID, unique per share. Echoed in the response and used as the idempotency key. See Idempotency.
sentAtstringISO 8601 with fractional seconds, UTC. When the sender sent it, not when the receiver got it.
fromstringThe sender's display name. Display only: not an identity claim and not authenticated.
urlstringThe link. The only field guaranteed non-empty.
titlestringMay be empty.
notestringThe one-off share note for this share. May be empty.
publicNotesarraySelected public notes, in the order the sender listed them. May be empty.
excerptsarraySelected excerpts, same. May be empty.

ts on an entry is milliseconds since the Unix epoch, and is unique within the sender's record for that link. Treat it as opaque: use it for ordering and for recognising the same entry across two shares, nothing else.

Responses

The status code carries the meaning, and getting it right is what makes the sender's confirmation worth anything.

CodeMeaningBody
200Stored durably.{ "ok": true, "id": "<echo>", "url": "<permalink>" }
202Accepted, not yet stored.{ "ok": true, "id": "<echo>" }, no permalink
400Malformed, or unsupported v.{ "ok": false, "error": "<reason>" }
401Token missing, invalid, or revoked.{ "ok": false, "error": "<reason>" }
409Already accepted this id.{ "ok": true, "id": "<echo>", "url": "<permalink>" }
413Payload above the receiver's limit.{ "ok": false, "error": "<reason>" }
5xxReceiver's fault.any

200 and 409 must echo the share's id. Without a matching id, Subset reports the share as not confirmed rather than delivered. That is what stops some other 200 — a redirect that turned into a GET, a proxy's page — from passing for a stored share.

Don't return 200 before the share is durably stored. If the receiver queues the work, it returns 202 and no permalink. Subset records a 202 share as sent, with no link.

url is the permalink: where the share will be readable. Subset stores it as the share's outcome, which the user can open from the share's history, and ignores it unless it is an http or https URL. It is a prediction, not a URL the receiver has confirmed is live: a receiver that commits to a git repo behind a static host can answer as soon as the commit lands, without waiting for the site to rebuild.

error is shown to the user, so write it for a person.

Idempotency

id identifies one share. A receiver that has already accepted an id returns 409 with the original permalink rather than storing a second copy, and Subset treats 409 as success.

Subset does not currently retry a failed send on its own, and a share the user sends again gets a new id. The 409 rule is still required: it lets a future sender retry safely over a flaky connection. Remembering ids for 24 hours is enough.

Validation

Subset re-checks each HTTP peer with a GET when the app comes to the foreground, at most once every 30 minutes per peer. A dead endpoint or revoked token then shows up before the user tries to share, instead of at that moment. 200 is healthy, 401 marks the peer as needing a new token, and anything else marks it unreachable. Keep GET cheap.

Limits

url, title and note are short by nature. publicNotes and excerpts are not capped by count, so the practical limit is the body size.

Subset won't send a body above 256 KB. Receivers should accept at least that much, and return 413 above their own limit. Subset shows 413 as a share that was too large, and the user can send it again with fewer entries.

Versioning

Receiver checklist

  1. GET with a valid token returns { ok, v, name }, with v ≥ 1. Otherwise it returns 401.
  2. The endpoint is https and answers at exactly the setup URL, with no redirect.
  3. POST authenticates before parsing.
  4. POST rejects an unsupported v with 400.
  5. POST stores durably before answering 200, or answers 202.
  6. 200 and 409 echo the share's id. url, when present, is http(s).
  7. A repeated id returns 409 with the first permalink.
  8. Unknown fields are ignored, not rejected.
  9. Bodies up to 256 KB are accepted, or refused with 413.
  10. The token can be revoked, and revocation shows up as 401.