跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] 我做了一个浏览器聊天扩展,意指为每个网站增加聊天室功能

发表于

Github: https://github.com/molvqingtai/WebChat

这是一个去中心化、无服务器的匿名聊天浏览器扩展程序,利用 WebRTC 进行端到端加密通信。所有数据都存储在本地,所一你不用担心隐私,目的是为每个网站扩展聊天室的功能。

这个想法存在很久了,但是一直没找到比较好的 P2P 实现方式,前不久发现了一个神奇的库: https://github.com/dmotz/trystero

它支持将 BitTorrent, 🐦 Nostr, 📡 MQTT, ️ Supabase, 🔥 Firebase, or 🪐 IPFS 这些去中心化网络作为 Wbrtc 的信令服务,正真的做到无服务器运行。

目前已知问题:

  1. webtorrent 网络连接速度有点慢,而且能否穿透 NAT 看你家网络
  2. Service Worker 还不支持 wbrtc 相关 API 导致不能常驻后台,也就是说每次切换 Tab 或刷新页面都会导致重新连接

Video: https://youtu.be/Rixj6zGZLUc

http://i.ytimg.com/vi/Rixj6zGZLUc/hq720.jpg

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.