You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
famfo b4be168d5b I already did this >:( 2 weeks ago
src Whoooo, commits 2 weeks ago
.gitignore Frog, content folder doesn't belong here 3 weeks ago
Cargo.lock Actually reading cert/key files 2 weeks ago
Cargo.toml Idk man, I was too ignorant to just use the toml crate 3 weeks ago
README.md Formatting moment 3 weeks ago
config.toml Whoooo, commits 2 weeks ago

README.md

ISS

Second part of my gemini adventure, a gemini server! &client

Usage

  • clone the repo
  • install openssl development headers
  • build with cargo build --release
  • run the binary with a certificate as the argument
  • check out the help for more information

Note: rustls requies that the certificates are DER encrypted. If no certificates are supplied and found, iss will generate self signed certificates for you.

Content structure

You can set the directory to the content with the root option in your config file, iss will read the content and certificates from there. Structure of the root directory:

root
 |-> certs 
 |    |-> cert.der
 |    |-> key.der 
 |
 |-> content 
      |-> index.gmi 
      |-> ...

Note that the certs will only be generated there if you supply none. You still need to set the cert and key options in your config file.