An ergonomic and elegant framework for creating Gemini servers and SCGI apps without needless bloat
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.
Emi Tatsuo 3ef7b2751e
Warn if a response is sent with a non-success code & a body
2 years ago
examples Fix ratelimiting example 2 years ago
public Rebrand as kochab 2 years ago
src Warn if a response is sent with a non-success code & a body 2 years ago
.gemgit Add .gemgit 2 years ago
.gitignore Added ./data to .gitignore 2 years ago
CHANGELOG.md Rebrand as kochab 2 years ago
Cargo.toml Update rustls 2 years ago
LICENSE.md Add licenses 2 years ago
LICENSE_NORTHSTAR.md Add licenses 2 years ago
README.md Fix branch name in README example 2 years ago
molly-brown.conf Completely reworked request handling to be able to serve SCGI 2 years ago

README.md

      *.          ,.-*,,..
    .`  `.   .,-'`       ````--*,,,..
  .`      ;*`                       ```''-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://gitlab.com/Alch_Emi/kochab.git", branch = "stable" }

Generating a key & certificate

By default, kochab enables the certgen feature, which will automatically generate a certificate for you. All you need to do is run the program once and follow the prompts printed to stdout. You can override this behavior by disabling the feature, or by using the methods in the Builder.

If you want to generate a certificate manually, it's recommended that you temporarily enable the certgen feature to do it, and then disable it once you're done, although you can also use the openssl client tool if you wish