🎠Trotter
Trotter is a fun and experimental gemini client crate.
Installing trot cli: cargo install --features cli trotter.
For simple requests, use [trot] and [trot_in].
async
😊 Requests
🎠Actor
Actors store information relevant in multiple requests.
use ;
async
🤖 User Agent
Did you know there's a version of the robots.txt standard for gemini?
(robots.txt for Gemini)
Trotter has robots functionality built-in. Once you set your user-agent, you
will receive a RobotDenied error if you try to access a page you are
disallowed from.
I strongly suggest you do this if you're using Trotter for a project that depends on other peoples' content.
🌕 Titan
Titan is gemini's sister-protocol for uploading files.
To use titan, create a [Titan] struct and pass it to [Actor::upload].
use ;
async
📖 Parse
use Gemtext;
Tips
Certificates
With openssl installed, you can use the following shell functions to generate
and inspect x509 certificates.
Todo
- Add --generate-cert option to cli.
- Fix broken robots.txt :(
- Tofu store directory
- Byte read/write timeout