-- Leo's gemini proxy

-- Connecting to devlog.thermokar.st:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-US

2022-01-31


Success!


Great news, I found a plugin for dokku that allows you to proxy arbitrary tcp ports. The bad news, it doesn't work with modern dokku versions. After a quick fork and manual patch, I'm in business! Deploying this capsule is one `git push` away (I know, I know, backticks don't format inline code in gemtext, but I've got to emphasize that text _somehow_ (heh)).


https://github.com/josegonzalez/dokku-nginx-stream


At the end of the day, this capsule is structured like this:


A subdirectory of posts. The expectation is that the first line is the subtitle of the post. The level-1 heading/title is the post's filename, which should always be a date, formatted `YYYY-MM-DD.gmi`, sans extension.

A simple deploy script that reads all the posts, builds an index page out of them, and applies the date-based title (and a brief footer) to each post.


For infrastructure:


agate server: this was a joy to use

dokku for deployment on my vps, using a straightforward Dockerfile for config/specification


gemini://qwertqwefsday.eu/agate.gmi


Home

© 2024 Matthew Ryan Dillon

-- Response ended

-- Page fetched on Fri May 10 06:03:32 2024