townos-api
A client for the Town OS control plane's HTTP API: DNS zones, object storage partitions and their principals, accounts and grants, and WireGuard peer enrollment.
A library. The application that uses it is townos-desktop,
in the same workspace.
Every control-plane call is bounded — a connect deadline and a request deadline — because a box can be switched off, asleep, or on the far end of a tunnel that just dropped, and none of those produce an error. They produce silence. Archive uploads and downloads deliberately sit outside that bound: they are legitimately gigabytes and legitimately slow.
Licence
AGPL-3.0-only. See LICENSE.