sintoniadocs
Development

Project architecture

Understand the Java backend, Flutter client and static documentation.

On this pageBackendClientFederationDocumentation

Backend#

Java 25 and Spring Boot 4 provide HTTP/WebSocket endpoints, JDBC persistence, identity/session services, tenant authorization, device/public-key directories, opaque file objects and queues. Application errors are handled centrally. SQL initialization adds compatible schema changes for H2 development and PostgreSQL deployments.

Client#

Flutter supplies web, Android, iOS, macOS, Windows and Linux projects using the one.sintonia package base. DeviceKeys manages secure identities, root pins and sealed key synchronization. ChannelCrypto handles message/call derivation; attachments use independent per-file keys. Expiring native session tokens are saved in secure storage per installation, validated with /api/me after refresh, and removed locally on logout/revocation; passwords and MFA codes are not persisted.

Federation#

One backend hosts each shared channel. Bilateral instance trust brokers a short-lived, device-proved remote session. The client communicates with the destination using a separate API/crypto context while retaining its private identity at the source. There is no automatic cross-server timeline replication.

Documentation#

The portal is a dependency-free static build from curated Markdown, local assets, downloads and generated endpoint metadata. Build/check commands operate locally and do not publish. Runtime databases, credentials and user files are never inputs to the documentation generator.

Search channels, QR codes, uploads, security…

↑ ↓ navigate ↵ open result