Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dunningkrueg/chat-application-p2p
basic chat application use java
https://github.com/dunningkrueg/chat-application-p2p
basic chat-application java javafx javafx-application
Last synced: 6 days ago
JSON representation
basic chat application use java
- Host: GitHub
- URL: https://github.com/dunningkrueg/chat-application-p2p
- Owner: dunningkrueg
- Created: 2025-02-08T05:46:39.000Z (7 days ago)
- Default Branch: main
- Last Pushed: 2025-02-08T07:46:21.000Z (7 days ago)
- Last Synced: 2025-02-08T09:20:19.406Z (7 days ago)
- Topics: basic, chat-application, java, javafx, javafx-application
- Language: Java
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# P2P Chat Application
A basic peer-to-peer chat application built with Java and JavaFX. This is a **demonstration project** and is not suitable for production use.
## 📸 Screenshots
![Main Chat Window](image/image.png)
*Main chat interface with basic design*## ⚠️ Important Notice
This application is for educational purposes only and should not be used in production environments due to:
- Basic encryption implementation
- Limited security features
- No user authentication
- No message persistence
- Basic error handling
- No production-grade testing## 🎮 Running the Application
1. **Start Server**
```bash
java -cp target/p2p-chat-1.0-SNAPSHOT.jar com.chatapp.Main server
```
Wait until you see "Server running on port 5000"2. **Start Client**
```bash
java -cp target/p2p-chat-1.0-SNAPSHOT.jar com.chatapp.Main
```
- Enter "localhost" when prompted for server IP
- Chat GUI will appear3. **Multiple Clients**
- Open new terminal for each client
- Run client command as above
- Use "localhost" for local testing## Features
- Real-time messaging
- Modern GUI with JavaFX
- Basic end-to-end encryption
- Multiple client support
- Cross-platform compatibility## Prerequisites
- Java JDK 17 or higher
- Maven 3.6 or higher
- JavaFX SDK