Giter Site home page Giter Site logo

gabdara / tribe-chat Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 139 KB

A decentralized P2P chat with end-to-end encryption built with Blockstack, React, Redux and WebRTC

Home Page: https://github.com/gabdara/tribe-chat.git

HTML 1.57% JavaScript 93.41% CSS 5.02%

tribe-chat's Introduction

Tribe Chat

A decentralized P2P chat with end-to-end encryption

Built with Blockstack, React, Redux and WebRTC

Not one centralized server is used to facilitate communication or store data.

Peers can find themselves using a decentralized signaling approach built on Gaia Hub and connect using the WebRTC protocol. Each Blockstack user can use its identifier (a hash of his Gaia Hub URL) or its Blockstack Id to connect and chat with any other user.

Messages are saved decentralized and preserved between sessions.

It works both in LAN and across networks.

WebRTC opens the posibility of real-time audio and/or video calls, as well as direct data transfers between connected peers.

Demo

https://tribe-chat.herokuapp.com

Install locally

git clone https://github.com/gabdara/tribe-chat.git
npm install
npm start

If the Blockstack Sign in hangs on getting details please use an "Allow CORS" browser addon.

Usage considerations

  • this is at a very alpha stage in development, things might break.
  • connection can be established only by exchanging identifer of Gaia Hub. Usage of Blockstack Id will come in a later version.
  • establishing a connection between 2 peers has a small delay because first it tries to restore previous messages. Optimizations will be made in further releases.
  • messages are stored and restored when the same 2 peers connect again, but the peers are not saved as friends between browser sessions yet.
  • multiple conversations between 2 peers can be established, but not a multi-peer conversation yet.

tribe-chat's People

Contributors

gabdara avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.