13 Commits

Author SHA1 Message Date
d0fd041f7e Add deno-only bootstrap peer implementation. Uses libdatachannel for the RTCDatachannel implementation.
Fix Typescript sourcemap serving
PeerManager: more robust when RTCPeerConnection fails or is not present
Separate source maps so the main files arent bloated
2025-06-10 20:23:19 -07:00
2ff634ddf0 tidy logs. Add all files to service worker 2025-05-26 19:09:30 -07:00
b1277a762e Truncate log messages in html so it doesn\'t kill phones. Fix id in log message 2025-05-22 22:39:23 -07:00
a3a9682f86 Working chuking and image syncing. Still some bugs with syncing some large posts. 2025-05-21 11:39:02 -07:00
9df18d7f35 Limited post send size and post syncing is working for small posts 😮 2025-05-19 02:09:50 -07:00
d86519cf6b Remove functions that VSCode added 2025-05-19 01:38:40 -07:00
338266a3c6 Post syncing logic is wokting. As expected datachannels fail to send posts above a certain size. Need to implement chunking next. 2025-05-19 01:21:32 -07:00
cedc1d7b36 request post ids for users that match users we follow when peers announce users they know about. Fix for RPCs being async on the remote end. Check returned postIDs to see if we need any posts from a peer. 2025-05-19 00:06:23 -07:00
b49e760bf3 Split out the concept of headless and an archive peer. Add better logging for URL params 2025-05-18 21:30:04 -07:00
b46c600d75 Announce users the local peers knows to remote peers when they connect. Fix RPC system to correctly serialize and multiple params. Add detailed logging for rpc calls. 2025-05-18 20:26:54 -07:00
15e595cca1 working websocket and bootstrap peer reconnection when connection is lost 2025-05-18 15:11:34 -07:00
0005f06b2b Add events to peer manager 2025-04-27 22:38:42 -07:00
63d7b276db add missing files 2025-04-27 10:11:10 -07:00