GithubHelp home page GithubHelp logo

saalikmubeen / talkhouse Goto Github PK

View Code? Open in Web Editor NEW
129.0 2.0 22.0 2.39 MB

WebRTC based peer to peer voice, video calling and messaging web app build with MERN stack.

Home Page: https://talkhouse-tv.netlify.app/

License: MIT License

HTML 0.78% CSS 0.15% TypeScript 77.43% JavaScript 21.49% Dockerfile 0.15%
webrtc socket-io simple-peer chat-application nodejs reactjs mongodb redux typescript

talkhouse's Introduction

talkhouse

WebRTC based peer to peer video calling and messaging web app build with MERN stack.

Libraries used

  • React for frontend
  • Socket.io as signaling server and realtime communication
  • simple-peer for peer-to-peer WebRTC connections
  • Express as server
  • MongoDB for persistance of data
  • Material UI for creating ui
  • Redux for state management
  • Typescript for type safety, cure for headache you get when props are flowing all over the app with no hint

Features

  • User authentication and authorization
  • Audio and Video Chat
  • Messaging with storage of messages in the database
  • Sending invitation to friends
  • Able to accept or reject an invitation
  • Online indicator
  • Notify on typing
  • Sceen sharing
  • Accept and reject an incoming call

and more....

New Features added recently:

  • Group Chats Create group chats like in whats'app. Group Admins can add members to group and participants can leave the group.
  • Remove friend, ability to unfriend someone
  • Talkhouse Spaces like Twitter spaces. You can host a space and any of your friends can join that space.

The talkhouse spaces are implemented using MESH topology to establish a peer-to-peer network between every person or client joining the space. i.e, every person maintains a p2p connection with every other person in the room.

Installation

  1. Clone project
git clone [email protected]:saalikmubeen/talkhouse.git

Manual

If you dont't have docker installed, or don't know how to docker, [who doesn't know docker in the first place ๐Ÿ˜‘]

cd into root project

1. cd server

npm install to to install server dependencies

Setup required environment variables:

  • MONGO_URI_DEV
  • JWT_SECRET

npm run dev to start development server with nodemon

Make sure you have mongoDB installed

1. cd client

npm install installs client dependencies.

npm run start to start the react development server.

Docker

Running project through docker is recommended. You don't have to do any setup. Just one docker-compose command and boom project is up and running ๐Ÿ˜Š

docker-compose up --build

Make sure you have docker installed

TODOS

  • Enable group video and messaging functionality
  • Implement confirm email, reset password and email sending on friend invitation, Not a big deal to implement, just a little lazy to implement it
  • Store messages in an encrypted form in the database. (Just wrote it for fun. I mean is it even worth to do it ๐Ÿคฆโ€โ™‚๏ธ)
  • Enhace the UI. I hate CSS, not that good at it ๐Ÿฅฑ๐Ÿ˜“ . (Looks reasonably good now)

talkhouse's People

Contributors

saalikmubeen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

talkhouse's Issues

How to demo this?

This is a great project.

What's the best way to demo this? I keep getting stuck with "Sorry, the user you are trying to invite doesn't exist".

Screen Shot 2022-04-26 at 12 30 57 PM

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.