2024-04-17 14:40:14 +00:00
# 🔀 Archat
2024-04-29 00:09:52 +00:00
*It is not working application yet, work in progress!*
2024-04-29 11:46:26 +00:00
2024-04-17 14:39:41 +00:00
Simple P2P server (and client - for testing purposes only, client for end user will be written in NodeJS using Electron, soon).
## Starting
You can use these commands to start client and/or server:
2024-05-28 21:53:12 +00:00
```bash
go run . --run client --waddr X.X.X.X:Y --uaddr X.X.X.X:Y
# for example:
go run . --run client --waddr krzyzanowski.dev:8080 --uaddr krzyzanowski.dev:8081
2024-04-17 14:39:41 +00:00
```
Note that server should be started **before** running client.
2024-05-28 21:53:12 +00:00
```bash
go run . --run server --waddr X.X.X.X:Y --uaddr X.X.X.X:Y
# for example:
go run . --run server --waddr krzyzanowski.dev:8080 --uaddr krzyzanowski.dev:8081
2024-04-17 14:39:41 +00:00
```
2024-05-28 21:53:12 +00:00
`--waddr` and `--uaddr` options are optional, default values are respectively `:8080` and `:8081` (which is a short form of `localhost:8080` and `localhost:8081` )
`--run` option is mandatory and may take value of either `client` or `server`