Authentication included
Application users, rotating refresh sessions, short-lived access tokens, service accounts and personal tokens have distinct authority boundaries.
Trestle is a self-hosted backend platform for typed collections, application authentication, access rules, files, realtime events and durable automation - one Go service, first-class SQLite or PostgreSQL, optional multi-node clustering, and a language-neutral HTTP API.
Download into this directory
curl -fsSL https://trestle.cv/download.sh | shVerifies the release checksum and writes only ./trestle into the current directory.
Install on this user account
curl -fsSL https://trestle.cv/install.sh | shVerifies the release checksum and installs the binary into ~/.local/bin.
See the Install page for platform details, verification instructions and alternatives.
Application users, rotating refresh sessions, short-lived access tokens, service accounts and personal tokens have distinct authority boundaries.
Choose an embedded database or an externally operated PostgreSQL 16-18 service. The same typed collections, transactions, rules, queries and API contracts run on either provider.
The Nift-built dashboard, durable jobs, webhooks, backups and recovery tools ship with the Go service.
HTTP, JSON, OpenAPI and Server-Sent Events are the public boundary. Browser apps can authenticate as users; trusted services use scoped credentials; automation consumes committed events.
Explore example stacks →v0.1.5 is the current stable GitHub release and the unversioned public install and download commands select the latest stable release. Trestle includes the original CP00-CP23 platform, PostgreSQL parity, Gantry peer clustering, configuration propagation, and SQLite Raft replication for collections and records. This remains a public preview, not a production or battle-proven claim.