Replace the over-engineered iroh-docs/libraries/filters architecture with a simple peer-to-peer sync using: - iroh 0.96 Endpoint for QUIC transport + NAT traversal - iroh-gossip for peer discovery via shared passphrase - Protobuf messages over QUIC streams for asset transfer - CAN service's private /sync/* API for local data access Deleted: announcer, fetcher, library, manifest, node, routes (2860 lines) Added: discovery, peer, protocol (simplified ~600 lines) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
413 B
YAML
14 lines
413 B
YAML
# CAN Sync v2 configuration
|
|
|
|
# URL of the local CAN Service (sync API is at /sync/*)
|
|
can_service_url: "http://127.0.0.1:3210"
|
|
|
|
# API key for CAN service's sync endpoints (must match sync_api_key in CAN config)
|
|
sync_api_key: "changeme"
|
|
|
|
# Shared passphrase for peer discovery (all peers must use the same one)
|
|
sync_passphrase: "my-shared-secret"
|
|
|
|
# Seconds between polls for new local assets
|
|
poll_interval_secs: 3
|