2025-03-24 18:11:06 +00:00
2025-03-24 18:10:35 +00:00
2025-03-24 18:08:06 +00:00
2025-03-24 18:08:06 +00:00
2025-03-24 18:08:06 +00:00
2025-03-24 18:08:06 +00:00
2025-03-24 18:08:06 +00:00
2025-03-24 18:08:06 +00:00
2025-03-24 18:08:06 +00:00

I've written a basic program in python called glogger, it is a customisable, statically generated gemini blogging frontend, it's being used right now. It works by having two mysql tables called " "users" which contains just two fields: userID and username, and "posts" which contains 6 fields: postID (PK), userID (FK), title, content, pubData and editDate, whenever you create a new post, it will add a new record to the posts table and write that post to the gemini frontend. It has a few options in the configuration, to allow for differing formatting to change how the whole thing is generated. I am wanting to add a better text input field instead of the basic python() input, probably consisting of a vim buffer that gets sent to the python program, that could be great! I also want to add passwords for different users and modification of previous posts.

Setup

Requirements:

mysql-connector-python mariadb-client mariadb-server

Database setup

USE glogger;
CREATE TABLE users ( userID INT PRIMARY KEY AUTO_INCREMENT NOT NULL, username VARCHAR(255) );
CREATE TABLE posts ( postID INT PRIMARY KEY AUTO_INCREMENT NOT NULL, userID INT, FOREIGN KEY(userID) REFERENCES users(userID), title VARCHAR(255), content TEXT, pubDate VARCHAR(255), editDate VARCHAR(255) );
Description
Static blog generator with customisable formats and options.
Readme 82 KiB
Languages
Python 100%