LAN-Comms banner

LAN-Comms

5 devlogs
6h 47m 41s

A stupid simple CLI app to send messages over LAN!

This project uses AI

Almost no code was written by AI, I just used ChatGPT to understand the socket module

Demo Repository

Loading README...

Aquaticsanti

Shipped this project!

Hours: 6.79
Cookies: 🍪 103
Multiplier: 12.61 cookies/hr

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)

Aquaticsanti

As per usual, I said I was going to ship without having revamped the README… So here it is, the revamped readme!

Attachment
0
Aquaticsanti

Soo it turns out, I did way too many things without making devlogs, soo here we go!

The program is finished!

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

Changed how the message box looks

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

Multiple message types

Although these are only internal, you’ll notice this change. You have Normal Messages, Join Alerts, Join Acknowledgement, and Leave Alert!

Seeing all active users

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!

PageDown to paste is removed

Because it runs much smoother now, using Ctrl-V actually works! And it looks super cool :D

Now, to ship!

Attachment
0
Aquaticsanti

Sending and receiving messages is now fully functional!

Yup! You can now both send, and receive messages, from other people!

Pasting!

Pasting is now also possible! It has to be done with PageDown, but it’s something, right?

All of this is really janky, so I’ll have to spend a little polishing it. Progress is progress, nonetheless!

Attachment
0
Aquaticsanti

Sending and receiving messages works! (kinda)

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

Attachment
0
Aquaticsanti

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

Attachment
0