Tinyloggin'
📅 2024-12-29
I'm one week into my three-week Christmas vacation, which means it's been one week since I've done anything remotely productive. However, there was a little bit of time available for programming this afternoon, so I slapped together a Tinylog viewing/administration script. In practice, it is an enhanced version of my Gemlog Booster that I use for posting to this gemlog.
Gemlog Booster on git.skyjake.fi
While the "backend" of the Tinylog is just the plain old tinylog.gmi file, it is accessed entirely through the booster.py script.
- To prevent the viewed page from growing too large, old entries are shown on Archive subpages, accessed via PATH_INFO. Everything still exists on disk in one tinylog.gmi.
- Single entries can also be linked to via PATH_INFO.
- When the authorized client certificate is active, action links are shown for editing the Tinylog metadata, posting a new entry, and editing/deleting entries.
- Existing entries can be edited in-place with Titan edit links.
- After each post/edit, the tinylog is committed to the capsule Git repository.
While I could post Tinylog entries in my BBS u/skyjake feed, there is a certain difference when it comes to posting on one's own personal capsule. At least I feel that when writing on a multi-user site (or, say, Mastodon), there is an expectation of quality and on-topicness. A Tinylog on my own capsule seems like a semi-private place where I can post all kinds of nonsense without worry.
I think I'll replace the old Finger "What's Up?" page with this.
CC-BY-SA 4.0
Source