antanst 139b2e7733 .
2025-10-15 09:03:50 +03:00
.
2025-10-15 09:03:50 +03:00
.
2025-10-15 09:03:50 +03:00
2025-06-03 12:40:36 +03:00
2025-06-03 12:38:53 +03:00
.
2025-10-15 09:03:50 +03:00
.
2025-10-15 09:03:50 +03:00
2025-06-03 12:38:53 +03:00
2025-06-03 12:38:53 +03:00
.
2025-10-15 09:03:50 +03:00
2025-06-03 12:38:53 +03:00

gmi2html

A small library (and CLI tool) that converts Gemini text to HTML.

To run tests and build:

make

Running:

./dist/gmi2html <gemtext.gmi >gemtext.html

Options:

  • --no-container: Don't output container HTML
  • --replace-gmi-ext: Replace .gmi extension with .html in links

Example:

# Convert Gemini text and replace all .gmi links with .html
./dist/gmi2html --replace-gmi-ext <input.gmi >output.html

# Convert only the content without wrapping it in the HTML container
./dist/gmi2html --no-container <input.gmi >output-content.html

Help:

./dist/gmi2html --help
Description
No description provided
Readme 61 KiB
Languages
Go 73.2%
HTML 22.6%
Makefile 4.2%