| Crates.io | gday_server |
| lib.rs | gday_server |
| version | 0.5.1 |
| created_at | 2024-06-07 22:27:51.308666+00 |
| updated_at | 2025-09-20 21:34:08.330223+00 |
| description | Server that lets 2 peers exchange their socket addresses. |
| homepage | |
| repository | https://github.com/manforowicz/gday/ |
| max_upload_size | |
| id | 1265253 |
| size | 72,396 |
A server that runs the gday_contact_exchange_protocol.
tar xf <file>)../gday_serverAlternatively:
$ cargo install gday_server
or
$ brew install manforowicz/tap/gday_server
Usage: gday_server [OPTIONS]
Options:
-k, --key <KEY> PEM file of private TLS server key
-c, --certificate <CERTIFICATE> PEM file of signed TLS server certificate
-u, --unencrypted Use unencrypted TCP instead of TLS
-a, --addresses <ADDRESSES> Socket addresses on which to listen [default: 0.0.0.0:2311 [::]:2311]
-t, --timeout <TIMEOUT> Number of seconds before a new room is deleted [default: 600]
-r, --request-limit <REQUEST_LIMIT> Max number of create room requests and requests with an invalid room code an IP address can send per minute before they're rejected [default: 10]
-v, --verbosity <VERBOSITY> Log verbosity. (trace, debug, info, warn, error) [default: debug]
-h, --help Print help
-V, --version Print version
Want to add your own server to the list of default servers? Here's how:
Get a virtual private server (VPS) from a hosting service. It must have public IPv4 and IPv6 addresses and not be behind NAT.
Buy and configure a domain name to point at your VPS.
On the VPS, get a TLS certificate using certbot with your domain name.
On the VPS, use a tool such as wget to download gday_server from the releases page.
On the VPS, run the gday_server with the correct TLS arguments.
On a local device, verify you can use gday with your --server domain name passed as an argument.
On the VPS, follow instructions in gday_server.service to set up a systemd service.
Verify gday_server auto-starts in the background, even when you reboot the server.
Submit an issue, asking for your server to be added to the default server list.
