Files
tessera/README.md
Tessera Agent a5ffb2c1b4 Initial Tessera backup vault (M0–M2)
Scaffold Rust workspace, React canvas, vault engine, hub API,
providers, agent wormhole path, and Docker compose per SPEC.
2026-11-09 09:59:42 +00:00

51 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tessera
Self-hosted backup vault with a space-themed canvas: **orbits**, **snapshots**, **decay**, and **wormhole** outposts.
## Quick start
```bash
# Build UI then hub
cd web && npm ci && npm run build && cd ..
cargo build --release -p tessera-hub
export TESSERA_DATA_DIR=./data
export TESSERA_VAULT_PASSPHRASE=dev-vault-key
./target/release/tessera-hub
```
Open [http://127.0.0.1:8787](http://127.0.0.1:8787) — API docs at `/swagger-ui`.
### Docker Compose
```bash
docker compose up --build
```
Hub listens on **8787**.
### CLI
```bash
cargo build --release -p tessera-cli
./target/release/tessera init
./target/release/tessera orbit nightly --path ./docs --dry-run
./target/release/tessera snap
./target/release/tessera list
```
## Architecture
See [docs/SPEC.md](docs/SPEC.md). Rust workspace crates: `tessera-core`, `tessera-store`, `tessera-providers`, `tessera-hub`, `tessera-agent`, `tessera-cli`.
## Limitations (v1)
- Vault engine uses a **restic-compatible directory layout** with Tessera’s own chunk encryption (Rust 1.83 cannot yet depend on `rustic_core` 0.13+). Emergency tooling may use external `rustic`/`restic` as formats converge.
- Wormhole uploads are **token-authenticated**; mTLS is optional via env hook (`TESSERA_WORMHOLE_MTLS`) without bundled CA generation.
- Postgres provider requires `pg_dump` on `PATH`.
- OIDC admin auth is stubbed; v1 uses open local API when hub is bound to localhost.
## License
AGPL-3.0-or-later — see [LICENSE](LICENSE).