Peerkat is a peer-to-peer file sharing and chat application example that allows users to easily share files and chat. Also see the Peerkat Relay repository.
To use the Peerkat application, you can follow the steps below:
git clone git@github.com:yplog/peerkat.git
go mod tidy
go build -o peerkat cmd/peerkat/main.go
Using the Peerkat application is straightforward. You can follow these steps:
Command line arguments:
-help Show help message
-relay Relay server address
-mode file-transfer/chat
-peer Peer address
Usage:
The -peer parameter is the address of the peer you want to connect to. Do not use if you are a first user.
go run cmd/peerkat/main.go -relay <RELAY_ADDRESS> -mode <MODE>
go run cmd/peerkat/main.go -relay <RELAY_ADDRESS> -mode <MODE> -peer <PEER_ADDRESS>
Or build the application and run:
./peerkat -relay <RELAY_ADDRESS> -mode <MODE> -peer <PEER_ADDRESS>
Peerkat offers users the following key features:
- Fast and Secure File Sharing: Share your files quickly and securely with other users.
- Peer-to-Peer Communication: Direct file transfer between users without the need for a server.
- Chat: Communicate with other users through the chat feature.
If you want to contribute to the development of Peerkat, please follow these steps:
- Fork this repository.
- Add a new feature or fix a bug.
- Create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.