Skip to main content

webchat

Project description

WebChat

An anonymous chatting room service, based on python3, tornado, websocket

ScreenShots

  1. Working like this

    Alt text

Install

# this will install 1 command: webchat
$ pip3 install webchat

Run

Configuration

log_level: NOSET                              # NOSET, DEBUG, INFO, WARNING, ERROR, CRITICAL
log_path: /home/pi/Develop/tmp/webchat/logs   # log file directory, can auto generate by webchat
http_host: 0.0.0.0                            # http host
http_port: 9000                               # http port
data_path: /home/pi/Develop/tmp/webchat/data  # data store directory, can auto generate by webchat

Run

# generate configuration file & scripts
mkdir ./webchat
cd ./webchat
# this will generate configuration.yml and other scripts
webchat -g ./

# run manually
webchat -c ./configuration.yml or nohup webchat -c ./configuration.yml > /dev/null 2>&1 &

# install systemd service, user and group set to use which user and group to run webchat
sudo ./install_systemd_service.sh user group

# start
systemctl start webchat

# stop
systemctl stop webchat

# uninstall systemd service
sudo ./uninstall_systemd_service.sh

# test
# use firefox or chrome open http://localhost:8060

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

webchat-0.0.2.tar.gz (582.3 kB view details)

Uploaded Source

Built Distribution

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

webchat-0.0.2-py3-none-any.whl (594.3 kB view details)

Uploaded Python 3

File details

Details for the file webchat-0.0.2.tar.gz.

File metadata

  • Download URL: webchat-0.0.2.tar.gz
  • Upload date:
  • Size: 582.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for webchat-0.0.2.tar.gz
Algorithm Hash digest
SHA256 63b7ad4788ddde529c18630a9bdded6907cc9beffe827e9eca069758dd5fb067
MD5 ecff162d53f0a43ed4b925580fc0a533
BLAKE2b-256 19f0784e9b4392da54614e76dcb1f3554a9d4581b49763ee5f4cae21fdd88ce9

See more details on using hashes here.

File details

Details for the file webchat-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: webchat-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 594.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for webchat-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c27015c451a8b785c57d7b8b4a1cf07e69c34120e0ce38416b937776a38b2031
MD5 23cc9a8e7957f412d68b6b9d3009ec1f
BLAKE2b-256 592da9af5c9d03adde5f6ee2ee31b14a468f3109ca2e4ab8c929a69925360d9e

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