💾 Archived View for gemi.dev › gemini-mailing-list › 000934.gmi captured on 2024-06-16 at 15:06:08. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

A good way to generate HTML Pages from a static site

1. RubenKnijn (RubenKnijn (a) protonmail.com)

Hey, Knijn here!

I was wondering how I could setup a way to mirror my gemini site to HTML, 
My idea was to convert the gemini site to html then upload the html to 
github pages, Anyone know how I could do this in a way that I could just 
run my script and have it work.

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

Link to individual message.

2. ew.gemini (ew.gemini (a) nassur.net)

Hello,

RubenKnijn <RubenKnijn@protonmail.com> writes:

> Hey, Knijn here!
>
> I was wondering how I could setup a way to mirror my gemini
> site to HTML, My idea was to convert the gemini site to html
> then upload the html to github pages, Anyone know how I could
> do this in a way that I could just run my script and have it
> work.

I'm doing this "by hand" :-) well, by shell script.
You can look at my stuff starting here:
https://git.sr.ht/~ew/ew.srht.site/tree/master/item/Makefile

This is all /very simplistic/.

There must be better ways! There are more scripts around.
Check the mailing list archive.

Feel free to recycle parts of my stuff.

Cheers,
Erich


-- 
Keep it simple!

Link to individual message.

3. orbifx (fox (a) orbitalfox.eu)

On 2021/06/12 08:06, RubenKnijn wrote:
> I was wondering how I could setup a way to mirror my gemini site to HTML

Logarion generates gmi and htm from plain texts. It could also potentially 
convert gmi to html.

https://logarion.orbitalfox.eu/

Note the website is in the middle of changes, in preparation of a new release.

Link to individual message.

4. stereo (stereo (a) gnubox.org)

Hi,

i have it from this mailing list somewhere and used a script of omar.
i just attached those files, have fun :)

best,
ralf

Link to individual message.

5. Jonathan McHugh (indieterminacy (a) libre.brussels)

Hello Knijn,

I have experimented with converting Gem file content into orgmode
content, ready for ox-* exporting.

In this example I have generated Latex PDFs and html, from annotations
to a blog post
=> https://git.sr.ht/~indieterminacy/q1q20hqh_kq_oq_parsing_gem_zsh

Its more of a literate logging of Unix regexes than a full script but you should get the
idea.

The main focus is to convert lines beginning with # into *, but there
are naturally more edgecases and added requirements.

Later on I shall do something more comprehensive, perhaps in Lisp.

If you have any questions then please feel free to ask.


RubenKnijn <RubenKnijn@protonmail.com> writes:

> Hey, Knijn here!
>
> I was wondering how I could setup a way to mirror my gemini site to 
HTML, My idea was to convert the gemini site to html then upload the html 
to github pages, Anyone know how I could do this in a way that I could 
just run my script and have it work.
>
> Sent with [ProtonMail](https://protonmail.com/) Secure Email.


-- 
Jonathan McHugh
indieterminacy@libre.brussels

Link to individual message.

6. Jonathan Lane (tidux (a) SDF.ORG)

On Sat, Jun 12, 2021 at 07:06:35AM +0000, RubenKnijn wrote:
> Hey, Knijn here!
> 
> I was wondering how I could setup a way to mirror my gemini site to 
HTML, My idea was to convert the gemini site to html then upload the html 
to github pages, Anyone know how I could do this in a way that I could 
just run my script and have it work.
> 
> Sent with [ProtonMail](https://protonmail.com/) Secure Email.

Self plug: I wrote a tool to generate Markdown from Gemtext.  From
Markdown you can generate HTML with dozens of different tools.

https://gitlab.com/tidux/gmi2mkd


-- 
tidux@sdf.org
SDF Public Access UNIX System - http://sdf.org

Link to individual message.

---

Previous Thread: Bad bots

Next Thread: [ANN] gmitodo: Shared to-do/task list