How yuniaries/yuni-share works
Yuni Share is a browser-based personal file-storage application: users register or sign in, unlock a client-side encrypted vault, then manage encrypted files through the website and server. The principal file flow keeps encryption and decryption in the browser while the server handles authenticated APIs, chunk transfer, permissions, and storage. The graph also covers account/passkey access, administration, membership reminders, and recovery. Evidence is limited to the README and sampled excerpts, so uncertain integration wiring is omitted.
Main entry points: server.mjs API and workflows · app.js File workspace · membership-expiry.mjs Expiry reminders · register-steps.js Registration steps
Components 20
Web experience
- File workspace
public/app.js - Registration steps
public/register-steps.js - Admin console
public/admin.js - Deletion recovery
public/recovery-account.js
Accounts and access
- Account sessions
server.mjs - Passkey flows
server.mjs
Encrypted file service
- API and workflows
server.mjs - Application database
server.mjs - Browser cryptography
public/app.js - Chunk transfer
server.mjs - File storage
Operations
- Expiry reminders
membership-expiry.mjs - Name migration
username-migration.mjs - Administrative workflows
server.mjs - Managed site content
server.mjs
Other components
- User
- Web browser
- WebAuthn authenticator
- Email service
- Payment service
Connections 24
- User → Web browser: uses
- Web browser → Registration steps: registers through
- Web browser → File workspace: uses
- Web browser → Admin console: administers through
- Web browser → Deletion recovery: recovers through
- Registration steps → API and workflows: submits account
- File workspace → Browser cryptography: encrypts and decrypts
- File workspace → API and workflows: calls APIs
- Browser cryptography → WebAuthn authenticator: requests credentials
- File workspace → WebAuthn authenticator: requests credentials
- Admin console → API and workflows: calls APIs
- Deletion recovery → API and workflows: validates recovery
- API and workflows → Account sessions: handles sessions
- API and workflows → Passkey flows: handles passkey flows
- Passkey flows → WebAuthn authenticator: verifies credentials
- API and workflows → Application database: reads and writes
- API and workflows → Chunk transfer: handles chunks
- API and workflows → File storage: stores file data
- API and workflows → Payment service: integrates with
- API and workflows → Administrative workflows: serves admin actions
- API and workflows → Managed site content: manages content
- API and workflows → Name migration: runs migration
- Expiry reminders → Application database: reads and records reminders
- Expiry reminders → Email service: sends reminders