Crate germ

source · []
Expand description

Germ

crates.io docs.rs github.com

The Ultimate Gemini Toolkit.

Germ is a toolkit for the Gemini protocol which aims to have a little something for everyone. At the moment, Germ has ZERO dependencies (unless you use the request feature), and Germ will continue to try its hardest to have as few dependencies as possible.

Features

  • AST builder to easily construct AST trees from raw Gemtext.
  • Converters to easily convert from Gemtext to markup formats such as HTML or Markdown.
  • More to come!

Usage

Current version: crates.io


[dependencies]

[dependencies.germ]
version = "*" # Use current version show above!
default-features = false
features = ["ast"] # Enable the features you would like to use!

Features

FeatureDescription
astConstruct AST trees from raw Gemtext.
convertConvert from Gemtext to markup formats such as HTML or Markdown.
requestMake Gemini requests and get sane, structured results.
metaStructure-ize a Gemini response’s meta section

Examples

Examples can be found within the examples/ directory.

License

This project is licensed with the GNU General Public License v3.0.

Modules

Build AST trees from Gemtext

Convert Gemtext into many types of markup.

Make Gemini requests and get sane, structured results