Commit Graph
44 Commits
Author SHA1 Message Date
Raven Scott 906422d0a5 Updates
CI / Build & Test (push) Successful in 8m12s
2026-07-26 23:23:52 -04:00
Raven Scott ee79042e9f Default module set (documented in docs/DEFAULT-MODULES.md):
CI / Build & Test (push) Successful in 8m10s
Category	Modules
Runtime
bare, bare-process, bare-module, bare-fs, bare-path, bare-stream
Swarm / data
hyperswarm, hypercore, corestore, hyperbee, hyperdrive, autobase, hyperdb, hyperschema, hrpc, protomux, compact-encoding, b4a
Media
bare-media, bare-ffmpeg, plus codecs via bare-media (jpeg/png/webp/gif/heif/…)
Local power (bundled)
bare-sqlite, bare-fetch
2026-07-26 23:12:08 -04:00
Raven Scott 631f9c4023 Bare Caps
CI / Build & Test (push) Successful in 3m7s
2026-07-26 23:09:00 -04:00
Raven Scott f4569b765e Updates
CI / Build & Test (push) Successful in 3m12s
2026-07-26 22:58:33 -04:00
Raven Scott 90b6033382 Fixes
CI / Build & Test (push) Successful in 3m0s
2026-07-26 22:47:40 -04:00
Raven Scott 7e3ff42ec1 Update installer
CI / Build & Test (push) Successful in 3m5s
2026-07-26 22:38:50 -04:00
Raven Scott 056ab69b38 fix install
CI / Build & Test (push) Successful in 3m5s
2026-07-26 22:26:42 -04:00
Raven Scott 8c95a97662 fixes
CI / Build & Test (push) Successful in 3m0s
2026-07-26 22:19:31 -04:00
Raven Scott ad41323e27 Fix IDs
CI / Build & Test (push) Successful in 3m4s
2026-07-26 22:02:29 -04:00
Raven Scott 914bc7e404 Modernize
CI / Build & Test (push) Successful in 3m5s
2026-07-26 21:58:45 -04:00
Raven Scott 0d49580650 Modernize 2026-07-26 21:58:44 -04:00
Raven Scott c912ab1b4d update 2026-02-21 23:25:27 -05:00
Raven Scott 54b5c8b2c9 work on advanced chat 2026-02-21 20:52:47 -05:00
Raven Scott 8189aaa3d7 formatting 2026-02-21 20:27:40 -05:00
Raven Scott 3f30f9ea39 update 2026-02-21 20:18:26 -05:00
Raven Scott 340f79c203 update 2026-02-21 20:16:14 -05:00
Raven Scott 4a1781ff65 update 2026-02-21 20:13:37 -05:00
Raven Scott f2ca1afb08 formatting 2026-02-21 19:58:13 -05:00
Raven Scott 202921a930 updates 2026-02-21 19:45:15 -05:00
Raven Scott 3626a71ed5 Implement unique keyPairs per tab with improved connection handling
- Remove log count badge from Logs tab, add tab count badge to Tabs tab
- Add default settings: Request Timeout, Ready Timeout, Disable on File URLs
- Each tab now generates its own unique keyPair for connections
- Add swarm.listen() for incoming connections in native host
- Fix event routing: only send events to tabs that own the swarm
2026-02-21 18:11:31 -05:00
Raven Scott b5f489d1f0 updates 2026-02-21 05:13:06 -05:00
Raven Scott b6eeddefff add path 2026-02-21 04:26:05 -05:00
snxraven 9086016698 revert 0b6a34d47e
revert testing updates
2026-02-21 03:53:57 -05:00
Raven Scott 0b6a34d47e testing updates 2026-02-21 03:23:32 -05:00
Raven Scott 8df0f81a57 update installers 2026-02-21 03:14:48 -05:00
Raven Scott 3ef93ad024 do not skip npm i 2026-02-21 03:08:31 -05:00
Raven Scott 7a116d1344 remove package lock 2026-02-21 03:06:03 -05:00
Raven Scott 12dc56d940 update builder 2026-02-21 03:00:12 -05:00
Raven Scott eb0589fdba update 2026-02-21 02:55:32 -05:00
Raven Scott 10785ab556 tests 2026-02-21 02:52:00 -05:00
Raven Scott 0e2e9edf94 Add automatic installer 2026-02-21 01:54:58 -05:00
Raven Scott a12368d57c updates 2026-02-21 01:23:04 -05:00
Raven Scott 791d22944a Add links to README 2026-02-12 15:42:36 -05:00
Raven Scott 3a2d673001 Add detailed README to each example directory- chat, whiteboard, sdk-demo, hrpc-demo, data-demo, screenshare: each gets README.md- Same structure: what it does, prerequisites, how to run, usage, files, APIs, see also- Note in examples/README.md that each subdir has its own README 2026-02-12 07:41:02 -05:00
Raven Scott e801bc0041 Refactor examples into per-app directories with separate HTML, CSS, and JS
- Give each example its own directory: chat/, whiteboard/, sdk-demo/, hrpc-demo/, data-demo/, screenshare/
- Split each into index.html, style.css, and app.js (no inline script/style; CSP-friendly)
- Remove old flat files (e.g. chat.html, whiteboard.html, whiteboard.js)
- Update README, examples/README, and docs/HRPC to use new paths
2026-02-12 07:35:18 -05:00
Raven Scott 1ea4deac6e Add releases 2026-02-12 07:14:58 -05:00
Raven Scott bef6e3fdbd Add extension options, fix settings save and CSP, update docs
- Options: default max peers, ready timeout (ms), disable on file://,
  notify on host disconnect, plus existing app name, request timeout, debug
- Use storage.local instead of storage.sync so settings persist (e.g. in
  Firefox options page); add save/reset error handling in options UI
- Move options page script to options.js for CSP compliance (no inline script)
- manifest: add "notifications" permission for disconnect notification
- Docs: README (settings section, file layout), API-REFERENCE (ready timeout,
  constructor defaults, request timeout), ARCHITECTURE (storage, options page,
  content script behavior), DATA-API and examples/README (default timeout,
  file:// option)
2026-02-12 07:07:50 -05:00
Raven Scott a2068ed706 Protocol
strokeStart (mousedown): { type: 'strokeStart', id, color, width } — other peers create a draft for this id.
strokeDraft (mousemove, throttled): { type: 'strokeDraft', id, points } — peers update that draft’s points and redraw so the line grows as you move.
stroke (mouseup): unchanged — final stroke; peers remove the draft and add the stroke to the main list.
Implementation
drafts: Map of id → { color, width, points } for in-progress strokes from others.
currentStrokeId: Set on mousedown and used for all messages for that stroke.
Throttling: strokeDraft is sent at most every 32ms (~30 fps) to limit traffic while keeping motion smooth.
Redraw: Draws committed strokes, then all drafts, then your own current stroke.
Clear: Clears both strokes and drafts.
finishStroke(): Sends one last strokeDraft with the full points before sending stroke, so the final segment isn’t missing on other peers.
2026-02-12 06:11:51 -05:00
Raven Scott 2cdfa78881 add simple peer to peer whiteboard 2026-02-12 06:08:37 -05:00
Raven Scott 168c1090dd Add HRPC demo 2026-02-12 06:01:02 -05:00
Raven Scott 2f058fbac3 docs 2026-02-12 04:58:02 -05:00
Raven Scott bb47954b9f Implement hrpc with streaming and wire into setup
- Add spec/hyperschema and spec/hrpc codegen (scripts/build-hrpc.js)
  with unary, request/response-stream, duplex, and send-only commands
- Run build:hrpc and build:protomux from install.sh so setup is one-step
- Native host: add attachHrpc (Protomux channel + generated HRPC),
  handlers for ping, streamSum, fetchStream, duplex, notify
- Load HRPC lazily so missing spec does not crash host; use bare-stream
  for Duplex under Bare; add bare-stream, compact-encoding deps
2026-02-12 04:51:03 -05:00
Raven Scott a7f86f3af5 Update README 2026-02-12 03:29:21 -05:00
Raven Scott 90c7a4910e first commit 2026-02-12 03:27:05 -05:00