SCALE 1:1 LOCALHOSTSPEC: BESYNX-P2P // V0.4.2AUTH: ED25519-SIGSTATUS: ACTIVE
SYS_ID:BSX-P2P-DAEMON
SECURITY:ZERO-CLOUD / LOCAL-FIRST
DAEMON_ADDR:127.0.0.1:9098
REPO:github.com/whysooraj/besynx
LICENSE:MIT
ARCHITECTURE // PEER-TO-PEER DATA ENGINE
besynx.daemon
Local-first browser history and session sync daemon written in Rust. Synchronizes browser visits and active cookies across Firefox, Chromium, Brave, and Zen without relying on cloud infrastructure or proprietary accounts.
┌─────────────────────────┐ ┌─────────────────────────┐
│ Browser A (Chromium) │ │ Browser B (Firefox) │
│ MV3 Queue Storage │ │ MV3 Queue Storage │
└────────────┬────────────┘ └────────────┬────────────┘
│ │
[Origin Check] [Origin Check]
[Token: c5f8...] [Token: c5f8...]
│ │
▼ ▼
┌──────────────────────────────────────────────────────────────┐
│ BESYNX RUST LOCAL DAEMON │
│ • Loopback listener on 127.0.0.1:9098 │
│ • Local SQLite DB (`besynx.db` with WAL journal) │
│ • Ed25519 Device Identity (`besynx.key` 0600 unix perm) │
└──────────────────────────────┬───────────────────────────────┘
│
[Mutual Ed25519 P2P Handshake]
│
▼
┌──────────────────────────────────────────────────────────────┐
│ PEER DEVICE / WORKSTATION │
│ • Direct LAN broadcast or wireguard mesh │
│ • Zero central cloud telemetry or intermediate storage │
└──────────────────────────────────────────────────────────────┘
Zero-Knowledge Sync Principle: The daemon binds exclusively to 127.0.0.1. External telemetry is physically impossible because the daemon does not compile or include any outbound HTTP analytics client. History and cookies are stored unencrypted only inside your local device's isolated SQLite database.
STORAGE // SQLITE SCHEMA (WAL MODE)TABLES: 2
TABLE
COLUMN
TYPE
CONSTRAINT
history
id
INTEGER
PRIMARY KEY AUTOINCREMENT
history
url
TEXT
UNIQUE INDEX (SHA256)
history
title
TEXT
DEFAULT ''
history
visit_time
INTEGER
EPOCH MILLISECONDS
cookies
domain
TEXT
PRIMARY KEY COMPOSITE
cookies
name
TEXT
PRIMARY KEY COMPOSITE
cookies
value
TEXT
SECURE ENCRYPTED BLOB
cookies
http_only
BOOLEAN
FLAG 0 / 1
SECURITY // THREAT VECTOR MITIGATIONAUDIT SPEC
THREAT VECTOR
RISK LEVEL
ENGINEERING MITIGATION
CSWSH Attack
CRITICAL
Strict Origin header verification + random 64-char token check on handshake
Unauthorized Local App
HIGH
besynx.token file chmod 0600, requires local user permissions