~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
90 lines · 3.9 KB Raw History
# Context for the landing page's writer

## The reader

Someone who runs servers and has heard of atproto: Bluesky's protocol,
where each account lives on a server of its choosing, its PDS. They are
deciding whether to host accounts themselves (their own, a few friends',
a community's), and the default choice is the reference PDS, Bluesky's
`@atproto/pds`, with its installer. They already assume any PDS hosts
accounts, signs apps in with OAuth, keeps images, federates with the
network and lets accounts move between servers. They came to learn why
they would run this one instead, what it takes, and how to start.

## Monolith in three lines

- An atproto PDS written in Rust: one program, `pds`, that is the server
  (`pds serve`) and its command line (`pds <group> <command>`).
- Built by AI agents from a written specification alone, and held to the
  reference by a harness that sends both servers the same random
  requests and compares every answer.
- New, at an early version, private for now; it will be published as an
  image and a Linux binary.

## What the reference ships

The reader knows this, so the page never presents these as Monolith's
own advantages:

- `@atproto/pds`, a Node.js service, distributed as a Docker image in a
  compose file with Caddy (which gets TLS certificates on demand) and
  Watchtower (which updates it), installed by an interactive script on
  Ubuntu or Debian, with `goat` as its admin CLI.
- Its data in SQLite files on disk: no database server beside it either.
- Recommended for 1 to 20 accounts on 1 GB of RAM and one core.
- OAuth sign-in, sign-up and account-management pages, brandable.
- Blobs on disk or in an S3 bucket; account migration in and out; JSON
  logs; metrics over OpenTelemetry.

## What the page computes

Read from the repository at build time. The copy may use at most one,
as its placeholder, never a number typed in:

- `{start}`, `{idle}`: Monolith's start time and idle memory; the same
  for the reference as `{ref.start}`, `{ref.idle}`.
- `{agreed}`, `{checks}`: the last compatibility run's checks that agree
  with the reference, of those run.
- `{methods}`: how many methods the server serves.

## The page

As plain as ghostty.org: the picture fills the first screen; a scroll
below it, a headline, one sentence, two buttons, then only a footer.
What the server does, how it is checked and what it measures are in the
docs, one click away; the page does not hold them.

- The picture: a photograph of a black monolith on a hill, backlit, with
  the wordmark "MONOLITH" and "an atproto PDS" set under it. The nav
  reads "MONOLITH PDS", with links to the docs, getting started, and the
  source on knotless.dev.
- Under it, a headline the owner chose, kept as it is: "A new dawn for
  your Atmosphere account." (the Atmosphere is what atproto's network of
  apps and accounts calls itself). It sets the mood; it does not say
  what Monolith is.
- Under the headline, the sentence: what Monolith is and what sets it
  apart from the reference, in one sentence the reader takes in at a
  glance. It does the work the headline does not.
- Two buttons: one to start (the getting-started guide), one to the docs.
- The page's `<title>` and meta description, which a link to it shows.

## Pages to link

The docs site's own: `/overview/`, `/guide/getting-started/`,
`/guide/deploying/`, `/guide/calling/` (with `#connect-an-ai-app`),
`/guide/operating/`, `/reference/methods/`, `/reference/bench-results/`,
`/reference/compat-results/`, `/spec/` (the specification).

## Glossary

Only what the facts use:

- **PDS**: the server an account's data lives on.
- **DID**: an account's permanent identifier; a **handle** is its
  changeable name, as `alice.example.com`.
- **PLC rotation key**: the key the server signs an account's DID
  changes with.
- **firehose**: the stream of every write a PDS makes, which relays read.
- **XRPC**: atproto's HTTP methods, under `/xrpc/`.
- **MCP**: the protocol AI apps such as Claude use to call tools on a
  server.