Git Product home page Git Product logo

virtumartoz / free4chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madawei2699/free4chat

0.0 1.0 0.0 832 KB

free4.chat is an instant audio conferencing service. It is designed by the local first and privacy first principle, and is very easy to use.

Home Page: https://free4.chat/

License: MIT License

Shell 1.64% JavaScript 1.62% Elixir 58.58% TypeScript 35.63% HTML 0.89% Batchfile 0.05% Dockerfile 1.33% SCSS 0.26%

free4chat's Introduction

free4chat

free4.chat is an instant audio conferencing service.

It is designed by the local first and privacy first principle, and is very easy to use.

⚠️ This project is just using for technical test purpose, use at all your risk!

⚠️ There is freedom of speech, but I cannot guarantee freedom after speech. (- Idi Amin)

Features

  • Common
    • Use WebSocket to replace http protocol of JSON-RPC
  • Room
    • Text chat, can sent text or emoji
    • Can send arbitrary data by WebRTC datachannel 🚩
    • Room permission setting, like public/private type setting
      • private room can't been seen on room discovery, and it needs password to enter. The password is End-to-End Encryption, server only need check the answer which given by the client like the PoW in blockchain*
      • Public rooms discovery, like hot room list or filter rooms by type/tag
  • User

Architecture

  • Tech Stack
    • Use Elixir/Phoenix to rewrite the backend code
    • Use Recat/Next.js to rewrite the frontend code
  • Infra
    • Use docker to deploy to PaaS platform like Railway or Fly
    • Use GitHub Actions + AWS Lightsail to deploy backend server
    • Backend service cluster, auto scaling, load balancing, etc.
      • Backend service use Elixir libcluster to build cluster
      • Frontend app use the client load balance strategy
      • TURN cluster scale
        • Fix by start turn before the libcluster, still wait the upstream library to fix it normally
    • Security enhancement, like coturn TLS setup, end-to-end encryption, etc.
      • TURN enable TLS
    • Privacy enhancement.
    • IPV6 support.

NOTE:

  • * means it can be considered a VIP feature.

Contribution

If you are interested in webRTC, peer-to-peer(P2P), real-time collaboration(CRDT), distributed system or robot design, you can join this project and contact with me by twitter.

Thanks

free4chat's People

Contributors

madawei2699 avatar

Watchers

James Cloos 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.