6th iteration of my chat app (most are gone)
Run the client and enter your display_name & password in the prompt.
There are 2 (default) commands:
/nick <display_name> - Set your nickdisplay_name
/msg <user> <msg> - Send a private message
Other commands can be added via server plugins.
If you want to run your own server, follow this tutorial.
Download the repo and extract it
Run the server
If you dont want to use your own ip address, use ngrok:
ngrok tcp 5000
If you dont want to constantly tell people what your server ip is, set up a static api on github pages:
- Make a repository called <yourdisplay_name>.github.io and create a folder in it called "api"
- Then make a folder inside that folder called "chat-v6"
- Then create a file display_named "ip.html" in the chat-v6 folder
- Inside the file put your ngrok ip address
- Set up github pages
Now you can connect to the right server by changing
# Api address
api_addr = "https://omena0.github.io/api/"
into
# Api address
api_addr = "https://<yourdisplay_name>.github.io/api/"
inside the client config.txt file.
If you want to customise your new server, read the plugin docs!
How to make plugins?!?!?! (tutorial) (working) (2024) (no clickbait)
How does the networking (net)work??!?!?!