An ergonomic and elegant framework for creating Gemini servers and SCGI apps without needless bloat
Go to file
Emii Tatsuo 4ba099f947
Outsource document building to the gemtext crate
This change is still pending on some of my PRs being merged to main in the gemtext repository.  Please see:

=> https://tulpa.dev/cadey/maj/pulls/12 Add conversion traits to Builder
=> https://tulpa.dev/cadey/maj/pulls/13 Add a `blank_line()` method to `Builder`
=> https://tulpa.dev/cadey/maj/pulls/14 Accept an Option<&str> as a link name
=> https://tulpa.dev/cadey/maj/pulls/15 Add support for alt-text in preformatted blocks

Once these changes are merged, the dependency on gemtext should be moved to the crates.io version
2020-11-30 14:27:58 -05:00
examples Outsource document building to the gemtext crate 2020-11-30 14:27:58 -05:00
public bump crate version to 0.3.0 2020-11-14 04:50:36 +01:00
src Outsource document building to the gemtext crate 2020-11-30 14:27:58 -05:00
.gitignore init 2020-10-31 20:53:03 +01:00
CHANGELOG.md Fix conflicts with main branch 2020-11-30 00:31:30 -05:00
Cargo.toml Outsource document building to the gemtext crate 2020-11-30 14:27:58 -05:00
README.md add instructions for multiple domains to readme 2020-11-15 20:23:42 +01:00

README.md

                     __  __         __
   ____  ____  _____/ /_/ /_  _____/ /_____ ______
  / __ \/ __ \/ ___/ __/ __ \/ ___/ __/ __ `/ ___/
 / / / / /_/ / /  / /_/ / / (__  ) /_/ /_/ / /
/_/ /_/\____/_/   \__/_/ /_/____/\__/\__,_/_/

Usage

Add the latest version of northstar to your Cargo.toml.

Manually

northstar = "0.3.0" # check crates.io for the latest version

Automatically

cargo add northstar

Generating a key & certificate

Run

mkdir cert && cd cert
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

and enter your domain name (e.g. "localhost" for testing) as Common Name (CN).

Alternatively, if you want to include multiple domains add something like -addext "subjectAltName = DNS:localhost, DNS:example.org".