Go to file
Aaron Fischer 586b293bef Convert images to images instead of links
Image links will result in a `img` tag instead of a `a` tag. This
behaviour is disabled by default and can be enabled by adding the
following line to to config file:

convertimages: true

To get access to the config in the convert file, I had to move the
config file inside the gmitohtml namespace. This is specially handy
later on if the config file contains other settings which are useful for
the rest of the codebase.
2021-06-09 01:19:26 +02:00
pkg/gmitohtml Convert images to images instead of links 2021-06-09 01:19:26 +02:00
.gitignore Initial commit 2020-11-21 08:53:04 -08:00
.gitlab-ci.yml Initial commit 2020-11-21 08:53:04 -08:00
CHANGELOG Migrate to code.rocketnine.space 2021-04-07 20:52:05 -07:00
config.go Convert images to images instead of links 2021-06-09 01:19:26 +02:00
CONFIGURATION.md Support bookmarks 2020-11-26 20:52:17 -08:00
go.mod Migrate to code.rocketnine.space 2021-04-07 20:52:05 -07:00
go.sum Add hostname option 2021-01-05 19:00:14 -08:00
goreleaser.yml Add download link to README 2020-11-24 09:39:55 -08:00
LICENSE Initial commit 2020-11-21 08:53:04 -08:00
main.go Convert images to images instead of links 2021-06-09 01:19:26 +02:00
README.md Migrate to code.rocketnine.space 2021-04-07 20:52:05 -07:00

gmitohtml

GoDoc Donate

Gemini to HTML conversion tool and daemon

Download

Download gmitohtml

gmitohtml is available on Android as Xenia.

Compile

gmitohtml is written in Go. Run the following command to download and build gmitohtml from source.

go get code.rocketnine.space/tslocum/gmitohtml

The resulting binary is available as ~/go/bin/gmitohtml.

Configure

See CONFIGURATION.md

Usage

Run daemon at http://localhost:1967:

gmitohtml --daemon=localhost:1967

Convert a single document:

gmitohtml < document.gmi

Support

Please share issues and suggestions here.