p2p-messenger is peer-to-peer instant messaging system. Contains cross-platform desktop client and Discovery Service.
- Start Discovery Service.
./gradlew :discovery:bootRun
- Start as many desktop clients as you want.
./gradlew :client:bootRun
NOTE: by default client looks for Discovery Service on 'localhost' so if you want to connect to remote discovery service you should define system property.
./gradlew :client:bootRun -Dchat.client.discoveryServiceHost=example.com
- discovery.server.port - Discovery Service port. Default: 61000.
- debug - Turns on debug logs.
- chat.client.discoveryServiceHost - Discovery Service host. May be host name or IP address. Default: localhost.
- chat.client.discoveryServicePort - Discovery Service port. Default: 61000.
- debug - Turns on debug logs.