3 Commits

Author SHA1 Message Date
620966872e Add plain-English comments to all functions across src/ and examples/
Comments help non-Rust users understand what each function, struct, and
module does. Covers the core service (18 source files) and all four
example projects (can-sync, canfs, filemanager, paste).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 14:35:24 -06:00
c77e6d4105 Add live SSE auto-refresh to paste app
- CAN service: public SSE endpoint at /api/v1/can/0/events broadcasts
  new_asset events on ingest and sync push (no auth required)
- Paste backend: SSE proxy at /paste/events streams from CAN service,
  with auto-reconnect on connection loss
- Paste frontend: EventSource subscribes to /paste/events and calls
  loadItems() on new_asset events for instant UI refresh
- When assets arrive via P2P sync, paste updates automatically

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 15:01:45 -06:00
360ecbdad0 Initial commit: CAN Service + examples (can-sync v1, canfs, filemanager, paste)
CAN Service: content-addressable storage with HTTP API, SQLite metadata,
file-based blob storage, thumbnail generation, and integrity verification.

can-sync v1: P2P sync sidecar using iroh-docs for encrypted peer-to-peer
replication with library/filter-based selective sync. Fully builds but
being superseded by v2 (simplified full-mirror approach).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 10:32:04 -06:00