Rosenbridge

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!

Source

#!/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

Odin source file