| Crates.io | gurty-cli |
| lib.rs | gurty-cli |
| version | 0.1.0 |
| created_at | 2025-09-09 19:52:28.692119+00 |
| updated_at | 2025-09-09 19:52:28.692119+00 |
| description | GURT protocol server CLI tool |
| homepage | |
| repository | https://github.com/outpoot/gurted |
| max_upload_size | |
| id | 1831450 |
| size | 136,606 |
Gurty is a command-line interface tool for setting up and managing GURT protocol servers.
Gurty uses a TOML configuration file to manage server settings. The gurty.template.toml file provides a complete configuration template with all available options:
Copy the configuration template:
cp gurty.template.toml gurty.toml
Edit the configuration to match your environment. (optional)
Use the configuration file:
gurty serve --config gurty.toml
For production deployments, you can use the Gurted Certificate Authority to get proper TLS certificates:
Install the Gurted CA CLI:
Request a certificate for your domain:
gurtca request yourdomain.web --output ./certs
Follow the DNS challenge instructions: When prompted, add the TXT record to your domain:
_gurtca-challengeCopy the configuration template and customize:
cp gurty.template.toml gurty.toml
Deploy with CA-issued certificates:
gurty serve --cert ./certs/yourdomain.web.crt --key ./certs/yourdomain.web.key --config gurty.toml
To set up a development environment for GURT, follow these steps:
Install mkcert:
# Windows (with Chocolatey)
choco install mkcert
# Or download from: https://github.com/FiloSottile/mkcert/releases
Install local CA in system:
mkcert -install
This installs a local CA in your system certificate store.
Generate localhost certificates:
cd gurted/protocol/cli
mkcert localhost 127.0.0.1 ::1
This creates:
localhost+2.pem (certificate)localhost+2-key.pem (private key)Copy the configuration template and customize:
cp gurty.template.toml gurty.toml
Start GURT server with certificates and configuration:
gurty serve --config gurty.toml
Or specify certificates explicitly:
gurty serve --cert localhost+2.pem --key localhost+2-key.pem --config gurty.toml