GithubHelp home page GithubHelp logo

chesleytan / ascii-chat Goto Github PK

View Code? Open in Web Editor NEW
28.0 5.0 1.0 11.53 MB

A terminal-based peer-to-peer (P2P) end-to-end-encrypted (E2EE) video chat application with text messaging, written in OCaml. Supports up to 4 clients. Supports connections over internet and LAN.

License: MIT License

Shell 3.46% Makefile 2.35% C 1.57% OCaml 89.12% C++ 3.50%
ascii-chat opencv peer-to-peer video-chat ocaml e2ee p2p terminal-based text-based

ascii-chat's Introduction

ascii-chat

A terminal-based peer-to-peer (P2P) end-to-end-encrypted (E2EE) video chat application with text messaging and audio support.

Installation

Note: ascii-chat is tested to work on Ubuntu 16.04 and macOS 10.12

Note: ascii-chat will NOT work on the CS 3110 Course VM, because it does not have the requisite webcam drivers!

The provided install script can be used to install the necessary OPAM packages for building ascii-chat.

Usage: ./install.sh

OpenCV

OpenCV is required as a dependency in order to obtain images from the user's webcam. Scripts are provided for automated building and installation on Mac and Linux.

  • To build OpenCV manually, use ./install-opencv-unix.sh.

  • To build OpenCV on Mac using Homebrew, use ./install-opencv-osx.sh.

Usage

As Host

To run ascii-chat as a participant for the chat, enter the command:

./ascii-chat <encryption_key>

where encryption_key is the same key as that used by all other participants.

As Participant

To run ascii-chat as the host user for the chat, enter the command:

./ascii-chat <encryption_key> -host <host_ip:host_port>

where encryption_key is a pre-shared key between all participants, and host_ip:host_port is the network address of the host user.

Images

ascii-chat1 ascii-chat2

ascii-chat's People

Contributors

chesleytan avatar dannyqiu avatar lucaschen321 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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jzxyouok

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.