An ergonomic and elegant framework for creating Gemini servers and SCGI apps without needless bloat
Go to file
Emii Tatsuo b69aba139f
Rebrand as kochab
I spent /so/ long looking for that figlet font.
    __              __          __
   / /______  _____/ /_  ____ _/ /_
  / //_/ __ \/ ___/ __ \/ __ `/ __ \
 / ,< / /_/ / /__/ / / / /_/ / /_/ /
/_/|_|\____/\___/_/ /_/\__,_/_.___/
2020-11-25 00:42:09 -05:00
examples Rebrand as kochab 2020-11-25 00:42:09 -05:00
public Rebrand as kochab 2020-11-25 00:42:09 -05:00
src Rebrand as kochab 2020-11-25 00:42:09 -05:00
.gitignore init 2020-10-31 20:53:03 +01:00
Cargo.toml Rebrand as kochab 2020-11-25 00:42:09 -05:00
CHANGELOG.md Rebrand as kochab 2020-11-25 00:42:09 -05:00
README.md Rebrand as kochab 2020-11-25 00:42:09 -05:00

      *.          ,.-*,,..
    .`  `.   .,-'`       ````--*,,,..
  .`      ;*`                       ```''-o
 *      ,' __              __          __
  `.  ,'  / /______  _____/ /_  ____ _/ /_
    ⭐   / //_/ __ \/ ___/ __ \/ __ `/ __ \
        / ,< / /_/ / /__/ / / / /_/ / /_/ /
       /_/|_|\____/\___/_/ /_/\__,_/_.___/

kochab

Kochab is an extension & a fork of the Gemini SDK northstar. Where northstar creates an efficient and flexible foundation for Gemini projects, kochab seeks to be as ergonomic and intuitive as possible, making it possible to get straight into getting your ideas into geminispace, with no worrying about needing to build the tools to get there.

Usage

It is currently only possible to use kochab through it's git repo, although it may wind up on crates.rs someday.

kochab = { git = "https://github.com/Alch-Emi/kochab.git" }

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".