-- Leo's gemini proxy

-- Connecting to git.skyjake.fi:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Gemlog Booster


Titan server for managing a gemlog

🔖 Tags

🗎 File Tree

⌥ Branches [main]

Clone URL


Latest Commits


2021-08-06 Fixed composing the Antenna URL

2021-08-06 Fixed subdir authorization check; Antenna query URL

2021-08-06 Configurable file locations in addition to Gemlog

2021-08-06 Cleanup

2021-08-01 Report exceptions to client as errors

2021-07-31 Removed spurious slash from Antenna query URL

2021-07-31 More configurability; added README, LICENSE

2021-07-31 Initial commit

More...

README.md


This is a simple Python script that listens for Titan requests and then adds, updates, and removes files accordingly. A separate script is run to regenerate indices for Atom and Gemini subscriptions. All performed changes are committed to a Git repository.


Configuration


The configuration file _~/.booster/config.json_ must exist:

{
    "python": "/usr/bin/python3",
    "git": {
        "exec": "/usr/bin/git",
        "message_prefix": "Gemlog: "
    },
    "address": "localhost",
    "port": 1966,
    "cert": "/absolute-path/titan.crt",
    "key": "/absolute-path/titan.key",
    "authorized": "/absolute-path/titan-clients.pem",
    "site_url": "gemini://skyjake.fi",
    "files": {
        "root": "/absolute-path/capsule-files/",
        "Gemlog": {
            "subdir": "gemlog/"
        },
        "Title prefix for Git": {
            "file": "relative-path-of-single-file.gmi"
        }
    }
}

-- Response ended

-- Page fetched on Fri May 3 19:55:34 2024