Build the Synapsis Tauri onboarding and authentication shell with the official wordmark and a fluid stable-topology signal mesh
Hop-State: A_06FPFZF1AB46ARJ4HD8ZQH8 Hop-Proposal: R_06FPFZEBFD47ZTA2XKJ2Q0G Hop-Task: T_06FPFXR242APZTT77HV934R Hop-Attempt: AT_06FPFXR241F9H1V2J0RCGGG
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Synapsis Desktop
|
||||
|
||||
A Tauri desktop client for the Synapsis federated social network. The first-run experience follows the same node-first model as the native iOS app:
|
||||
|
||||
1. Choose and verify a Synapsis node.
|
||||
2. Sign in with an existing account or create a new account on that node.
|
||||
3. Enter the signed-in desktop shell.
|
||||
|
||||
Node and authentication requests run in Rust so independent nodes do not need to opt into browser CORS. Session cookies are held by the native HTTP client and are not exposed to the React webview.
|
||||
|
||||
## Develop
|
||||
|
||||
Requirements: Bun, Rust, and the platform prerequisites for Tauri 2.
|
||||
|
||||
```sh
|
||||
bun install
|
||||
bun run tauri dev
|
||||
```
|
||||
|
||||
The standalone frontend preview is available with `bun run dev`, but node connection is intentionally disabled outside Tauri because the native command layer owns networking.
|
||||
|
||||
## Validate
|
||||
|
||||
```sh
|
||||
bun run build
|
||||
cargo test --manifest-path src-tauri/Cargo.toml
|
||||
```
|
||||
|
||||
## Current scope
|
||||
|
||||
- Animated signal-field launch and onboarding visuals.
|
||||
- Node URL normalization and `/api/node` verification.
|
||||
- Existing-session detection while the app is running.
|
||||
- Cookie-based sign in, account creation, and sign out.
|
||||
- A desktop navigation shell ready for the feed and other iOS features.
|
||||
|
||||
The node address persists between launches. Authentication cookies currently live for the duration of the application process; durable, encrypted session restoration is a later security-focused addition.
|
||||
Reference in New Issue
Block a user