webchat
Project description
WebChat
An anonymous chatting room service, based on python3, tornado, websocket
ScreenShots
-
Working like this
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
webchat-0.0.2-py3-none-any.whl
(594.3 kB
view hashes)