💾 Archived View for station.martinrue.com › chirale › b76a4ba158ee42338658501478f09a9e captured on 2024-08-25 at 02:33:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

➡️ Next capture (2024-08-31)

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

👽 chirale

I spent a few hours this week putting together 122 lines of bash code to convert old Wordpress and Django articles into my next gemlog.

About 160 articles are suitable for porting from RSS Feed and JSON export.

I've used pandoc, gemgen, sed, jq, grep, recode, xmlstarlet for conversions and a-h/gemini go server to test the output.

Working at the index today: it's amazing that an append by two differents script and then a sort -r can make a decent index if you use the date --iso format as .gmi file prefix.

Older article atm is from 2007. I'll dig deeper, looking for even older chunks of memories to make this a time capsule. ^^

3 months ago · 👍 digbat

Actions

👋 Join Station

3 Replies

👽 chirale

Not perfect, but finally online at gemini://chirale.org/ · 3 months ago

gemini://chirale.org/

👽 chirale

Thank you m0xee, I'll try it! Since I've not found Dockerfile here's a draft: it builds, but it have to be tested and expanded.

FROM nginx:stable-alpine

RUN apk update && apk add --no-cache git && apk add build-base openssl-dev libevent-dev bison

RUN git clone https://github.com/omar-polo/gmid.git

WORKDIR gmid

RUN ./configure && make && make install · 3 months ago

https://github.com/omar-polo/gmid.git

👽 m0xee

gmid gemini server that I use for my capsule can generate on-the-fly indices for directories the same way an http server would, e.g.: gemini://m0xEE.Net/pub/

It's no replacement for proper index page, but it's better than nothing in a lot of cases.

I really like this server — it supports dual stack and multiple hosts, cgi too — very versatile. And it's in C so should be faster and less resource-hungry than most. I don't think I'm using the latest version though and mine is patched a bit to support IPv6 on older Linux kernels and mixed-case host names, I like it very much! · 3 months ago

gemini://m0xEE.Net/pub/