A stupid simple CLI app to send messages over LAN!
Almost no code was written by AI, I just used ChatGPT to understand the socket module
A stupid simple CLI app to send messages over LAN!
Almost no code was written by AI, I just used ChatGPT to understand the socket module
I built a really simple CLI app to send messages over LAN! The hardest part was understanding the socket module, and there was this one bug that took me forever to fix… But I’m really proud of how it looks, especially it being a CLI app (w/out textual or rich)
As per usual, I said I was going to ship without having revamped the README… So here it is, the revamped readme!
Log in to leave a comment
Soo it turns out, I did way too many things without making devlogs, soo here we go!
Yup! I think I’ve made all I could in this, and I had a ton of fun making it. It’s fully functional, and a lot more polished than what I thought I could make it :D
Instead of using a vertical only divider, I switched it up to be a box! It’s not that important, but considering you will see it, it was worth mentioning
Although these are only internal, you’ll notice this change. You have Normal Messages, Join Alerts, Join Acknowledgement, and Leave Alert!
Because I now have multiple message types, I can now handle showing multiple users! There’ll be a list at the bottom showing all active users, and at what port you’re connected at. This will also be shown to new users, because of the Join Acknowledgement! And better yet, you can see who left, as using pywin32, the program can detect if you’ve closed it!
Because it runs much smoother now, using Ctrl-V actually works! And it looks super cool :D
Log in to leave a comment
Yup! You can now both send, and receive messages, from other people!
Pasting is now also possible! It has to be done with PageDown, but it’s something, right?
Log in to leave a comment
I made a “barebones” prototype for sending and receiving messages.
It kinda works? It sends a message, receives it, and terminates the program, which is not what I want to do, but it’s something, ig.
I’ll have to work on threading the receiving and sending (so they can happen simultaneously) next.
Stay tuned and subscribe or smth
Log in to leave a comment
New project! LAN-Comms.
I didn’t do much right now, just managed creating the socket, and selecting username and color. Now I’ll try to get into the actual chatting
Log in to leave a comment