add license footer
update header with better alt text
update sample config
Utility for writing and managing gemini logs (gemlogs) and atom feeds without needing a cgi script.
To check out my personal config, to see how a “normal” setup would be used,
look in the sample-configs
directory.
other than toot
you really should have all these installed if you're on linux.
bash
and all its goodies (duh)perl
date
tr
sed
toot
cli — only if you're using the automatic mastodon toot
functionalitygit clone https://git.sr.ht/~nytpu/gemlog.sh
cd gemlog.sh
gemlog.sh
to anywhere in your $PATHmkdir ~/.config/gemlog.sh
cp config.sh header.gmi footer.gmi ~/.config/gemlog.sh/
~/.config/gemlog.sh/config.sh
with all of your config settings,
~/.config/gemlog.sh/header.gmi
with what you want your header to be, and
~/.config/gemlog.sh/footer.gmi
with what you want your footer to beexpansion of variables from config.sh
is supported in both the header and
footer.
YYYY-MM-DD.gmi
or
YYYY-MM-DD-[title-here].gmi
so you get them sorted nicely in reverse
chronological order.gemlog.sh
to build the
index page and the atom feedsend patches, suggestions, and bug reports to ~nytpu/public-inbox@lists.sr.ht