An ergonomic and elegant framework for creating Gemini servers and SCGI apps without needless bloat
Go to file
Emii Tatsuo 98583e737f
Fix user management
2020-11-25 21:25:35 -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 Fix user management 2020-11-25 21:25:35 -05:00
.gitignore init 2020-10-31 20:53:03 +01:00
CHANGELOG.md Rebrand as kochab 2020-11-25 00:42:09 -05:00
Cargo.toml serve_dir is no longer a default feature 2020-11-25 20:28:55 -05:00
LICENSE.md Add licenses 2020-11-25 00:53:34 -05:00
LICENSE_NORTHSTAR.md Add licenses 2020-11-25 00:53:34 -05:00
README.md Fix example in README 2020-11-25 20:29:31 -05:00

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://github.com/Alch-Emi/kochab.git", branch = "kochab" }

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, you can use the command:

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