Skip to main content

A Video + Audio Chat in your terminal !

Project description

S2C

A secret video chat "in terminal" using PGP encryptions and AES encryptions. No Browser needed !

Features

  • Video + Audio Chat in terminal

Requirements

  • Python (3.x is recommended)
  • Pip3
  • PyAudio

How to use

Installation

Install bindings librairies for pyaudio !

  • On linux/Mac : sudo apt install -y portaudio19-dev and sudo apt install -y pyaudio

Because it's a pip package, you need to install it using pypi !

pip install s2c

Manual

The manual of s2c :

usage: s2c [-h] [-s SESSION_ID] [-c CLIENT_ID] [-k KEY] [-i IP] [-p PORT]

optional arguments:
  -h, --help            show this help message and exit
  -s SESSION_ID, --session_id SESSION_ID
                        The sesion_id, if noting is provide,it will generate
                        for you
  -c CLIENT_ID, --client_id CLIENT_ID
                        Your id or name in the session, if noting is
                        provide,it will generate for you
  -k KEY, --key KEY     To provide the custom key for the AES encryption
  -i IP, --ip IP        The host of the server where websockets will transits
  -p PORT, --port PORT  The port of the host

For example : $s2c -s 1 -c 1 -i 127.0.0.1 -p 1122 Will connect you to the server '127.0.0.1:1122' in the session '1', your id is '1' ! NB : At this step, the server should be running on ip : 127.0.0.1 and on port 1122, don't forget to allow the port using ufw (on linux)

From sources

How to install

Install bindings librairies for pyaudio !

  • On linux/Mac : sudo apt install -y portaudio19-dev and sudo apt install -y pyaudio

Clone and set the virtualenvironment :

# We clone the repository
git clone https://github.com/sanix-darker/s2c

# We Set the virtualenv
virtualenv -p python3 venv
source venv/bin/activate

# We install requirements
pip install -r requirements

How to launch

The server

The server take only one parameter, the port, where it's going to run !

python3 -m server.main -h

usage: main.py [-h] [-p PORT]

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  The port where the server will be running

The Client

Just as the section Manual under How to use, you just have to replace s2c by python3 -m app.main

About

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s2c-0.0.3.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s2c-0.0.3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file s2c-0.0.3.tar.gz.

File metadata

  • Download URL: s2c-0.0.3.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for s2c-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3da011a6634d5e6485ce02b4603ad7c0d24f8ee830a2f4f4c21f0ea2e29283c0
MD5 458b3f5b34e0df723e87c352cdebbec3
BLAKE2b-256 dcfcaf921db5b54ea29eaa14490aa9b23ad6033978748e44c883b3a62a224f07

See more details on using hashes here.

File details

Details for the file s2c-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: s2c-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for s2c-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7fd1b8cab3c21083728258f36a9d1f64e31dff5d875d26d1d5a8c328c5f33062
MD5 a51bdd4f32d92d8f5832f2b821c411d0
BLAKE2b-256 e1a32cbcfda21c5ed5e7aca1f5de85fa6612ba78348ffbb0bec13ed66e26f0df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page