You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 30m 24s logged

Day 1

Today I rewrote the whole code to prepare it for a global chat system. I deployed everything on a VPS, so now by downloading client.py you can already chat with other people, but only through the terminal for now.

I also added client version checking, so if someone is using an outdated version, they won’t be able to connect to the server.

Usernames were also introduced, replacing IDs from the echo server, so now every user can set whatever nickname they want.

The main bug of the day was related to broadcasting messages to all users — sometimes messages were sent only to one person or not sent at all. I fixed it somehow… honestly not even sure how xd.

Tomorrow’s plan is to try implementing a graphical interface so it doesn’t rely on the terminal anymore.

At night (in Poland), I also updated part of the README file.

If you want to test the global chat yourself, you can download the client here:
https://github.com/wuffgame/Global-Chat/blob/main/global-chat/client.py

There are no bans for spam or offensive usernames yet, but I trust you won’t spam the server or use inappropriate nicknames.

See you tomorrow!!!

0
45

Comments 0

No comments yet. Be the first!