Repository navigation
Home
Md. Maruf Sarker edited this page Nov 9, 2026
·
1 revision
Trestle is an open-source, privacy-first productivity and project management platform. It unifies project tracking, canonical tasks, interactive Kanban workflows, milestone roadmaps, live task time tracking, and team knowledge into a single, high-performance static binary.
Welcome to the official developer and operator wiki for Trestle. This wiki serves as the central index for technical architecture, operator runbooks, API specifications, and contributor guides.
├── 🚀 Getting Started
│ ├── Quickstart Guide (Local & Homelab)
│ ├── Environment Configuration (.env)
│ └── Operator CLI Commands
├── 🏗️ Architecture & Internals
│ ├── Modular Monolith Architecture
│ ├── Database Schema & PostgreSQL Migrations
│ ├── Identity, Argon2id & Session Lifecycles
│ └── Content Security Policy (CSP) & Hardening
├── 💼 User Manual & Core Features
│ ├── Multi-Tenant Workspaces & RBAC
│ ├── Projects, Prefix Keys & Task Identity
│ ├── List View vs. Kanban Board
│ ├── Milestone Timelines & Gantt View
│ ├── Live Task Time Tracking & Timesheets
│ └── Telegram, Discord & Slack Integrations
├── 🌐 Operations & Self-Hosting
│ ├── Docker Hub & Docker Compose Deployment
│ ├── Reverse Proxy (Caddy, Nginx, Cloudflare Tunnels)
│ ├── Production Backups & Restoration
│ └── Disaster Recovery
└── 🤝 Contributing & Community
├── Design System Guard (AGENTS.md)
├── Development Workflow & Testing
└── Releases & Versioning
Trestle is built with a clear architectural philosophy:
-
Single Lightweight Binary (
go:embed): The Go backend embeds the compiled Svelte 5 single-page application into one static executable. It has zero runtime dependencies beyond a PostgreSQL database. - Zero SaaS Telemetry: No third-party analytics, no tracking pixels, and no external CDNs.
-
Strict Content Security Policy (CSP):
default-src 'none'; script-src 'self'; style-src 'self'; font-src 'self'; img-src 'self' blob:; -
Atomic Task Identity: Tasks receive permanent, human-readable prefix keys (e.g.
WEB-42,CORE-101) that link boards, commits, and activity logs. - Complete Data Portability: Full JSON data export for individual projects and entire workspaces—you own your data at all times.
| Resource | Description | Link |
|---|---|---|
| Live Docs Site | Full interactive documentation with global ⌘K search |
tresstle.vercel.app |
| Docker Hub | Official production container images | hub.docker.com/r/marufsarker/trestle |
| System Architecture | Technical architecture specifications | docs/architecture.md |
| REST API Reference | Comprehensive HTTP API contracts & CSRF defense | docs/api.md |
| Database Schema | PostgreSQL schema, indices, and migrations | docs/database.md |
| Production Runbook | Self-hosting, backups, and reverse proxies | docs/operations.md |
| Design Rules | Design tokens, typography, and accessibility rules | AGENTS.md |
When operating a self-hosted Trestle instance:
# Run pending PostgreSQL migrations
./trestle migrate
# Initial operator setup & admin provisioning
./trestle bootstrap
# Provision a new user with a workspace role
./trestle adduser
# Reset a user's password via interactive prompt
./trestle resetpassword
# Deactivate or reactivate an account
./trestle disableuser
./trestle enableuserWiki pages can be edited by contributors. When adding new pages:
- Use standard Markdown formatting.
- Keep technical details grounded in actual code contracts.
- Link back to this
Homepage in headers or footers.