convert gemtext to html/markdown
(api, interfaces, cli tool - everything is likely to change drastically 😂
create a markdown readme from gemtext:
$ sisyphus -f markdown <README.gmi >README.md
convert gemtext to html:
$ sisyphus <index.gmi >index.html
// html
sisyphus.Cook(os.Stdin, os.Stdout, &sisyphus.Html{})
// markdown
sisyphus.Cook(os.Stdin, os.Stdout, &sisyphus.Markdown{})
// convert from a string
sisyphus.Convert("=> somewhere a link", &sisyphus.Html{})
// hooks
flavor := &sisyphus.Html{}
flavor.OnLink(".jpg", hook)
go install blekksprut.net/sisyphus/cmd/sisyphus@latest
sisyphus is available as a package in the AUR
it can be installed with an AUR helper (e.g. yay):
$ yay -S sisyphus