Skip to content

molvqingtai/WebChat

Repository files navigation

WebChat

GitHub License Chrome Web Store Version GitHub Release

Chat with anyone on any website

This is an anonymous chat browser extension that is decentralized and serverless, utilizing WebRTC for end-to-end encrypted communication. It prioritizes privacy, with all data stored locally.

The aim is to add chat room functionality to any website, you'll never feel alone again.

Install

Install from Store

Manual Installation

  1. Go to the GitHub repository (Releases)
  2. Click on the "Assets" button and select "web-chat-*.zip"
  3. Extract the ZIP file to a folder on your computer
  4. Open the extension management page in your browser (usually chrome://extensions/)
    • Enable "Developer mode"
    • Click "Load unpacked" and select the folder you just extracted

Use

After installing the extension, you'll see a ghost icon in the bottom-right corner of any website. Click it, and you'll be able to chat happily with others on the same site!

Video

web-chat.mp4

Standing on the Shoulders of Giants

In addition to the good idea of decentralized chat, it also leverages some fantastic technologies.

  • remesh: A framework in JavaScript that implements DDD principles, achieving true separation of UI and logic, allowing for easy implementation of the UI part, such as rewriting it in Vue, due to its independence from the UI.

  • shadcn/ui: A beautiful UI library and a pioneer of the no-install concept, offering unmatched convenience in customizing styles.

  • wxt: This is the best framework I’ve used for building browser extensions, bar none.

  • trystero: The core dependency for implementing decentralized communication, enabling connections to decentralized networks like IPFS, torrent, Nostr, etc.

  • Artico: A flexible set of libraries that help you create your own WebRTC-based solutions

  • ugly-avatar: Use it to create stunning random avatars.

License

This project is licensed under the MIT License - see the LICENSE file for details