Skip to content

a chat page using tailwindcss, python for server side (tornado)

License

Notifications You must be signed in to change notification settings

yui1993/anichat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anichat

a chat page using tailwindcss, python for server side (tornado)

Installation

pip install tornado pymongo
sudo apt install mongodb

for windows you have to install mongodb from their website then start the mongodb service

for ws:// edit server.py find ssl_options and remove it then find client/chat.html find ws = new WebSocket("wss://anichat.ga:9000/serv"); and change it to ws = new WebSocket("ws://localhost:9000/serv");

for wss:// find client/chat.html find ws = new WebSocket("wss://anichat.ga:9000/serv"); and change it to ws = new WebSocket("wss://localhost:9000/serv"); then go to server.py find ssl_ctx.load_cert_chain("certs/cert.pem","certs/privkey.pem") and change to your keys

Running Server

python3 server.py

Issues

join protocol doesn't send

userlist protocol wont display all users unless sent again

ban / unban hasn't been added in client

haven't hid certain buttons unless mod or owner

What Works

delete - delete user

delete message - delete message

history

sending messages

register

login

create room

join

About

a chat page using tailwindcss, python for server side (tornado)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages