Follow

Are there servers that take files as input? Or perhaps conversion tools that can be used?

@bbbhltz just the posts I am writing in Asciidoc for my , so I can also serve them via Gemini if that's an easy option.

@FiXato
You could use a AsciiDoc-to-Markdown converter and then a Markdown-to-Gemini converter.

Gemini's syntax is rather similar to Markdown, so I imagine that's the closest you will get in terms of conversion.

@friend I'll have a look at kelbot's suggestion to use Pandoc, but else that would also be an option I guess, thanks. :)

@kelbot worth a shot. :) Thanks. :)
I was thinking of , but I couldn't remember its name anymore.

@kelbot ah, looks like doesn't support as input unfortunately: github.com/jgm/pandoc/issues/1

I'll see how suitable/usable the route of adoc>html>gmi is with asciidoctor + asciidoctor-html5 for the html generation and pandoc for the html>gmi conversion.

@kelbot oof, no, the asciidoctor>pandoc route does not generate useful results... gemini://fixato.org/

I'd have to do a lot of pre-parsing for that to work...

I think it's especially the concept of inline links and footnotes that don't really work well with gemini, and the html output that asciidoctor generates probably contains too many divs.

@kelbot I'm probably better off using the as basis, and manually convert it to a file for the couple of posts I'd feel like sharing via .

Oh well, for now I'll turn off the gemini server again till I have something I'm satisfied with. :)

@FiXato You could also leave it up with just a basic index and short manually written posts until you figure out what you want to do with the whole thing.

@kelbot I just grabbed one of the first standalone gemini server binaries I could find (). Before I run it permanently, I'd rather investigate the server solutions a bit more to make sure it's a well-maintained solution. :)

Sign in to participate in the conversation
Toot.Cat

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!