package mehari

  1. Overview
  2. Docs
A cross-platform library for building Gemini servers

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
md5=930121ceef2893e48cbc91c6dba1349d
sha512=34bf178aa333b2cfe0cbf4586a342848507d06d71f28e5cc26b798ea192cf1c4e5cdf8b32e3395c14fba5f9fbddcf535e264874b9f4bda386c8e0042c4bd60f6

Description

Mehari is a cross-platform library for building Gemini servers. It fully implements the Gemini protocol specification. It takes heavy inspiration from Dream, a tidy, feature-complete Web framework.

Published: 05 Jun 2024

README

Mehari

Mehari is a cross-platform library for building Gemini servers. It fully implements the Gemini protocol specification.

It takes heavy inspiration from Dream, a tidy, feature-complete Web framework.

banner

Mehari provides several packages. See here. Many examples are also provided.

Installation

opam install mehari

Features

  • Mirage OS friendly

  • Static files serving

  • MIME type inference from file content (using experimental Conan support)

  • Rate limit

  • Virtual hosting using SNI

  • CGI

  • Long-running TCP connection

Feedback

Since Mehari is in its early stages, any feedback and contributions regarding the API or security are appreciated.

Important links

  • API documentation: https://docs.heyplzlookat.me/mehari/

  • Tutorial: https://docs.heyplzlookat.me/mehari/index.html#tutorial

  • Issues: https://github.com/Psi-Prod/Mehari/issues

License

Distributed under the LGPL-3.0 License. See license for more information.

Dependencies (9)

  1. x509 >= "0.16.2"
  2. uri >= "4.2.0"
  3. tls >= "0.16.0"
  4. re >= "1.10.4"
  5. logs >= "0.7.0"
  6. conan-database >= "0.0.5"
  7. conan >= "0.0.5"
  8. ocaml >= "4.14"
  9. dune >= "3.0"

Dev Dependencies (1)

  1. odoc with-doc

Used by (3)

  1. mehari-eio >= "0.4"
  2. mehari-lwt-unix >= "0.4"
  3. mehari-mirage >= "0.4"

Conflicts

None

OCaml

Innovation. Community. Security.