A basic utility for indexing gemini capsules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
mieum e02e2a86d2 add comments to code 3 months ago
README.md make README more READMEable 3 months ago
twindexer.py add comments to code 3 months ago

README.md

twindexer

This is a basic tool for automating the indexing of posts in my gemini capsule at rawtext.club. It is, in its current state, very crude and inflexible (directory paths are hard-coded, etc.). But it's a big milestone for me, anyhow :)

The basic idea is to generate indexes for individual "tags" or "themes," which are basically separate folders, as well as a main index that includes all of them. Eventually, I'd like to automate the generation of atom feeds, but for now I am using Solderpunk's gemfeed utility wrapped up in a script with twindexer.

In it's current state it will not be usable by anyone else without at least changing the variables hard-coded at the front of the code. My next revision will refactor everything to be more versatile and portable to other capsules. I guess ideally it will either read a config file or parse arguments.