- An app to chat, create new servers, learn databases, enjoy!
Install THB-NET with git
$ git clone https://github.com/Hirukshacoder/THB-NET
$ cd THB-NET
$ pip install -r requirements.txt
$ python3 client.py
- Signup - creates
database_mine.db
- Login
- Create new servers
- Join to existing servers
- Performs most of the part of the app here
- A sqlite database
- Saved passwords and usernames safely
id | username | password |
---|---|---|
1 | John | hashed password (sha256) |
2 | Beckham | hashed password (sha256) |
3 | Ann | hashed password (sha256) |
-
Ngrok is a bit buggy on
client_v1-0.py
-
It works only on
client_v1-1.py
-
Install ngrok
-
Go to the extracted ngrok directory and save your auth token.
-
Run
./ngrok tcp 9999
in the terminal. -
Run
python3 client.py
-
Type the new
ip
andport
from ngrok tcp connection to theclient.py
.
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(("0.tcp.in.ngrok.io", 11441))