← Projects // current // product

> SOMA

A centralized short-video manager: one video, one caption, one action, published to the connected platforms.

Objectives

Qualities

Technical details

A small Go origin behind the gatekeeper, with the same one-file data model and trust ladder as the base site.

  • The origin binds loopback 127.0.0.1:8082; the gatekeeper owns TLS and the public socket.
  • A staging bucket has a one-day delete lifecycle; still pictures go to a permanent media bucket.
  • Everything durable lives in /var/lib/soma-state/state.json, rewritten atomically and mode 0600: users mirrored from adm, hashed sessions, sealed provider tokens, posts and targets, pictures, and the per-provider quota ledger.
  • Long-lived refresh tokens stay sealed with SOMA_TOKEN_KEY; the relay receives a short-lived token for one job.

Open project