Skip to main content

Module bookmarks

Module bookmarks 

Source
Expand description

Bookmarks — a traveler’s personal constellation.

The web felt navigable because you could keep places: bookmarks, a home page, history. This is the Thread’s version of the first of those — a small, durable list of (label, locator) pairs a browser persists across sessions. Storage is one human-readable JSON file (view-source culture applies to your own data too); a missing or corrupt file degrades to an empty list, never an error.

Structs§

Bookmark
One kept place: a Locator plus the label it was saved under (usually the world’s title at the time).
Bookmarks
A persisted bookmark list. Every mutation saves immediately — the file is tiny and losing a bookmark to a crash would violate the “solid” tenet.