Skip to content

rahul07rai/Terminal-chat-with-mosquitto-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal-chat-with-mosquitto-mqtt

a simple terminal based python chat with local mosquitto server and postgres db over websockets

Python Packages required: jwt pony psycopg2 paho-mqtt

Changes: In the db.py file, change arguments for the db.bind() function as per your database. In the server.py change the broker_address and port as per your mosquitto server.

Usage: run client.py to register new user. run server.py to create chat instance, login and chat with connected user. run user_text_api.py to get chat for specific user in given timestamp.

About

a simple terminal based python chat with local mosquitto server and postgres db over websockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages