Skip to content

ismaelestalayo/uMessenger1.0_CMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uMessenger - Beta 1.3

⚠️

On Windows 10 Anniversary Update, Microsoft updated the command prompt, adding a lot of functionality, but taking out the ability to print colors. However they have implemented it back and it's right now on the Windows insider program only. I will update this program to make it compatible once they launch it for public. Source

"We’re excited to announce that we delivered 24-bit RGP true-color support in Windows Console in Windows 10 Insiders build #14931."

⚠️

Small Messenger-like application designed to run from the command line, and works on the same LAN only (unless using NAT on the server side with a Raspberry for example). It's important to have userList.txt on the directory where the server is.

If you wanna try it yourself you can either:

  • Download the zip of the full repository and compile it yourself on your favourite IDE.

  • Or download the zip file for being either a server or a client and run the corresponding .jar from the command line. Click on one of the rar files, and in the upper right corner, click on raw to download it.

Inside the rar there are .cmd files that executes java -jar uMessenger_Client.jar in a new command window (perfect for lazy people like myself).

#Changelog: ####1.3:

  • One of the lates beta version, as the app is quite stable
  • Added a color for each username up to 6 users (then colors will be repeated, because of limits of the cmd).
  • Fixed a problem with file sending.
  • Fixed the color array.

####1.2:

  • Notification to all users when a new user joins.
  • Sending files between different networks should be working now.

####1.1:

  • Changed most of the code from using dos.sendUTF() to oos.sendObject() to make easier understanding the code and adding more functionality in the future.
  • Notification when a client dissconects closing the windows instead of /fin.
  • Character º won't crash the app anymore.
  • Sending a blank message won't crash anymore either.

####1.0:

  • First beta version (previously Alpha).
  • Sending files finally work! (On the same LAN atm).
  • A lot of bugfixes.
  • Added /IPs and /users commands.

#Future plans:

  • Usernames
  • Passwords for usernames.
  • Ability to send files
  • Ability to send files between different LANs
  • Save logs from the server
  • More commands

#Suggest anything at:

NOTE: I made the sending of files so that I could change the size of the segments I was sending, but the only size where the videos weren't corrupted was at the size of 1 byte. Even so, I've left the code there, so if you wanna try it yourself, on the FileSending class just change con.sendArray(fileDumpedInArray, 1) to the size of segment you want, bear in mind that most files will be corrupted although I noticed photos not being corrupted but severely altered with a segment size greater than 500.

About

A chat application runing in the terminal with the ability to send files (works via TCP sockets in Java).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages