Skip to content

Psi-Prod/Mehari

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f7f0293 · Jun 4, 2024
Oct 4, 2023
May 28, 2024
May 28, 2024
Sep 14, 2023
Jun 4, 2024
Feb 5, 2023
Nov 11, 2022
Dec 26, 2022
Nov 17, 2022
May 28, 2024
Jun 4, 2024
Jun 4, 2024
Jun 4, 2024
Jun 4, 2024
Jun 4, 2024

Repository files navigation

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

License

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