💾 Archived View for glyphli.art › software › utils › rosenbridge.gmi captured on 2023-09-28 at 16:00:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
Rosenbridge is a crude gemtext to html converter that generates the website version of this capsule. I'd like to at some point add features like inline file embedding but for now this does the job!
#!/bin/bash resetdir=$PWD for dir in $(echo "$PWD"; du | sed 's/^[^.]*.//' | sed 's/^/./'); do cd "$resetdir" cd "$dir" rm *.html for file in *.gmi; do rosenbridge "$file" > "${file%.gmi}.html" done done