Code Monkey home page Code Monkey logo

8obcy's Introduction

8obcy


A website inspired by the cult webchat "6obcy" made as a project.


Features

-Complete anonynimity between Users.
-E2E Encryption
-Easy Deploy

Techstack

Frontend:
-React.JS
Backend:
-Golang

How to start

Initial setup:
- Enter the project directory
- Run the command "cd frontend"
- Run the command "npm install" (this may take a while)
- Run the test's before the first start by running "run_tests.bat"
- Run the file 'start.bat'

After this you just run the start.bat file to deploy the Application

Services explained:

1. Frontend:
- Self-explanatory
- Connects to the other services to provide a ui to the endpoints and chat
- Encrypts the messages using AES with a generated key from the E2E key service.


2.WebSocket service:
- Exposes 2 endpoints, one for getting the user count and one for websockets,
- Websockets also implements a live user count update
- Routes the encrypted messages and connects users
- Generates the access key for E2E Service

3.E2E key service:
-Exposes 1 endpoint, used to assign a key generated from a string, when both user's use the 
same access key they get the same   AES Key  
-Does not hold state inside

Encryption explained

The is a multi-step process to ensure user privacy during conversations.
1.The first step happens when two user's are partnered, they both recieve the same key. 
This key is used to ensure they both recieve the same encryption key.
2.They access the E2E server and recieve a shared decrypt/encrypt key.
3. They cipher the message's using AES preventing any one without the key to access their message's.

8obcy's People

Contributors

dorian3343 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.