https://github.com/alexprogrammerde/encryptedchat
🔐 PoC: Secure chat messaging through your terminal.
https://github.com/alexprogrammerde/encryptedchat
chat encryption java
Last synced: 11 months ago
JSON representation
🔐 PoC: Secure chat messaging through your terminal.
- Host: GitHub
- URL: https://github.com/alexprogrammerde/encryptedchat
- Owner: AlexProgrammerDE
- Created: 2022-12-16T09:53:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-06T04:14:29.000Z (11 months ago)
- Last Synced: 2025-07-06T05:24:21.796Z (11 months ago)
- Topics: chat, encryption, java
- Language: Java
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EncryptedChat
Secure chat messaging through your terminal.
## Execution Instructions
### Make gradle executable
```bash
chmod +x gradlew
```
### Create EncryptedChat Database
```bash
./gradlew createServerDatabase
```
This writes to a local sqlite database. The database file will be called `server.sqlite`.
### Generate java code based on the server database
```bash
./gradlew generateJooq
```
### Run the application
```bash
./gradlew run
```
## Usage Instructions
When you are given to input some text, you will see the question above your cursor.
Simply press enter if you want to use the default value.
### Generate a platform certificate
Select the instance type "GENERATE_CERTIFICATE" and a new certificate will be generated.
### Start the server
Select instance type "SERVER" and the server will start. (You need to generate a certificate first)
#### Server commands
##### Stop the server
Execute the command: `stop` to stop the server.
### List all connected users
Execute the command: `list` to list all connected users.
### Start the client
Select instance type "CLIENT" and the client will start. (You need to generate a certificate first)
#### Client commands
##### Create a group
Execute the command: `group create ` to create a group.
##### Join a group
Execute the command: `group join ` to join a group.
##### Add a user to the current group
Execute the command: `group add ` to add a user to the current group.
##### Say something in the current group
Execute the command: `group say ` to say something in the current group.
##### Say something to everyone on the platform
Execute the command: `sayunsafe ` to say something to everyone on the platform. This is not encrypted.
##### Stop the client
Execute the command: `stop` to stop the client.