Welcome to my bootleg WhatsApp, HwhatsApp!
This is a simple terminal based chat service that allows for users to communicate with others on the same server, written entirely in Java. It supports chatting, account handling, preserves data across sessions and permission limits.
To run, simply run the server class on wherever you want to run your server, and then open your terminal and run the HwhatsApp.java file.
Upon startup, you will be prompted to enter a userID. If you haven't used the service since starting your server, you will also need to input a username. Then, you can create a chat and others to it or be added to a chat by friends to start communicating. At any point you can switch accounts as long as you know the userID of the other user (i.e. your password). The logout command stops the instance of your program.
- Permission removals by chat owner
- Support for other message types, not just strings
- Fixing some of the common concurreny bugs like chats not updating in real time sometimes
Code was written 100% by me for fun, no tutorials etc so if there is bug then it's definitely expected.