How to mak gemini-to-web proxy for my personal site only?
Alex // nytpu alex at nytpu.com
Sat Feb 27 20:55:06 GMT 2021
On 2021-02-27 06:30PM, metalune wrote:
> Hi, I'd like to mirror my personal site gemini://metalune.xyz to
> https://metalune.xyz much like how https://gemini.circumlunar.space is
> mirrored, does anybody know what software the official gemini page is
> using?
I wish I did, it's a lot more robust than my script, but I'll share what
I use to convert gemini://nytpu.com to https://www.nytpu.com/gemini.
I use this awk script to convert a gemtext document to html:
https://www.nytpu.com/files/gem2html.awk
and this bash script on a cron job to automate the whole site (there's
lots of symlinking images and non-gemtext files):
https://www.nytpu.com/files/gmi2web.sh
~nytpu
--
Alex // nytpu
alex at nytpu.com
GPG Key: https://www.nytpu.com/files/pubkey.asc
Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B
https://useplaintext.email/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailing-list-archive.gemi.dev/www/attachments/20210227/a04a53ba/attachment.sig>
Archive home | About this archive