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

Chatting app with rooms

  • 5 Devlogs
  • 17 Total hours

I used python to develop a server that manages chatting and chatrooms only with the socket library, and a client that connects to the server, creates rooms, and chats also withing a GUI application

Ship #1 Changes requested

I made a chatting app with rooms in python. I made my own server and client scripts and for the communication I used nothing other than the sockets library (technically my own SocketUtils library which only uses that) and the threading library. It was really challenging to me to deal with the threading because it was my first time doing something like that and I am really proud of myself for making it work.

You should know that I made the GUI using textual and it technically makes it TUI which it means that it's user interface but in the terminal, so you will need to copy and paste text like you would in a terminal :)

  • 5 devlogs
  • 17h
Try project → See source code →
Open comments for this post

9h 3m 20s logged

Added GUI using textual
Also fixed some bugs regarding the threading, and socket messaging.

I implemented a fetch_rooms function, and a create_room function.

Created also a custom button because I forgot textual already had buttons but now I’m owning it and using it in every place.

0
0
3
Open comments for this post

1h 35m 5s logged

Put project details on README file.
Also started working on the actual message and command handling by the server.
Added a function that disconnects sockets in a good way so I won’t have to write it that way all of the time

0
0
3
Open comments for this post

32m 13s logged

Currently working on the base classes for both the client and the server. I also need to refactor the code that handles threading because it’s too specific and because of that the server.py file and the main function don’t have a lot to do.

More updates later this day I hope :)

0
0
11

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…