Logs - page 2

Listed on this page are update logs related to changes I've made to the site.

Avatar ⸸ commander ░ nova ⸸ :~$

Newly added to the site just now: A sidebar element that displays the five most recent posted topics on the forum, displayed on my main website! Woot!

published March 27, 2025
no_syndication_available
#webdev #scripting
Avatar ⸸ commander ░ nova ⸸ :~$

Did some updates to the site this evening.

  • 1: Removed the feed that shows random posts from my Tumblr, since it looks janky anyway, and replaced it with a feed that shows random photo posts from my own personally specified Reddit and Lemmy communities.
  • 2: Added a graphic of a hand spinning that does something neato when you click it.
published March 24, 2025
no_syndication_available
#update #log
Avatar ⸸ commander ░ nova ⸸ :~$

Almost forgot to write up a changelog for the site, but! Since I’ve moved my ActivityPub … erm, activity, back to my account on labyrinth.zone, I used some Ruby to pull from the RSS of said account, and created a new main feed here on the homepage. Not only that, but I retrieved my archive from a certain instance that I no longer have full access to, and imported them to my website, immortalized forever.

Other changes:

  • -the navigation menu is back behind a vanishing sidebar (to keep things consistent)
  • -all posts from social media accounts that are uploading here on an interval are now under a menu via the sidebar called “The Archives”

And that’s it!

published March 20, 2025
#updates #log
Avatar ⸸ commander ░ nova ⸸ :~$

Did a quick, but major site update to re-order all of the content on the site. The homepage now only shows the latest content from each content type, while the links to each type of content in the sidebar (posts, notes, logs, toots, and skeets) now show a full range of all content, but paginated.

published March 13, 2025
#webdev #jekyll
Avatar ⸸ commander ░ nova ⸸ :~$

Attempting to edit my auto-post script for Mastodon to include notes and logs. Not sure if successful, though, because I have to create a new note or log in order to test every iteration.

published March 7, 2025
no_syndication_available
#webdev #mastodon
Avatar ⸸ commander ░ nova ⸸ :~$

With my site’s RSS feed tamed, and working (mostly), I’m now serving brand new feed items directly to bluesky, mastodon, and a discord channel simultaneously. Not exactly a site update, but a way in which I can post here, and communicate outward more easily

published February 24, 2025
#scripting
Avatar ⸸ commander ░ nova ⸸ :~$

Did a quick little update before I have to rush off to work (once again), where I’ve taken the tag-cloud on the /archives page and given the tags categorized, so that it’s less of a mess of words all over the page.

published February 23, 2025
no_syndication_available
#updates
Avatar ⸸ commander ░ nova ⸸ :~$

Had to make some edits to the RSS feed items, because, I noticed, in certain readers, and especially if you subscribe through an e-mail client (like Thunderbird), it serves the RSS item, and … zero links back to the original content! That … should be fixed, now.

published February 22, 2025
no_syndication_available
#updates
Avatar ⸸ commander ░ nova ⸸ :~$

Went ahead and unified a lot of the styling between Posts, Notes, and Logs. On the main feed, you can now navigate directly to a Note, or Log in order to view it separately, and all three content types look exactly the same when viewing them.

published February 22, 2025
#webdev #css
Avatar ⸸ commander ░ nova ⸸ :~$

screwing with my website more an hour and a half before i have to go to work again lol

create a python script that combines 3 different ruby scripts that i use locally to create notes, posts, and logs, and simplified it all down to a single python script where I tell it what kind of content I want to publish, and then provide a title

import os
from datetime import datetime

def create_post(post_type, title):
    date = datetime.now()
    formatted_date = date.strftime('%Y-%m-%d')
    formatted_time = date.strftime('%Y-%m-%d %H:%M:%S')
    filename = f"{formatted_date}-{title.lower().replace(' ', '-')}.md"

    if post_type.lower() == 'log':
        directory = '_logs'
        front_matter = f"""---
layout: log
collection: logs
date: {formatted_time}
tags: []
pinned: false
author: ⸸ commander ░ nova ⸸ :~$
avatar: /img/avatar/daemon.jpeg
akkoma: 
bluesky: 
wafrn: 
pillowfort: 
none: no_syndication_available 
---"""
    elif post_type.lower() == 'note':
        directory = '_notes'
        front_matter = f"""---
layout: note
collection: notes
date: {formatted_time}
tags: []
pinned: false
author: ⸸ commander ░ nova ⸸ :~$
avatar: /img/avatar/daemon.jpeg
akkoma: 
bluesky: 
wafrn: 
pillowfort: 
none: no_syndication_available 
---"""
    elif post_type.lower() == 'post':
        directory = '_posts'
        front_matter = f"""---
layout: post
collection: posts
date: {formatted_time}
tags: []
pinned: false
author: ⸸ commander ░ nova ⸸ :~$
avatar: /img/avatar/daemon.jpeg
akkoma: 
bluesky: 
wafrn: 
pillowfort: 
none: no_syndication_available 
---"""
    else:
        print("Invalid post type. Please choose Note, Log, or Post.")
        return

    # Make sure the directory exists, and create it if it doesn't
    os.makedirs(directory, exist_ok=True)

    filepath = os.path.join(directory, filename)

    # Import the predefined front matter
    content = f"{front_matter}\n\n# {title}\n\n"

    # Write it to a file
    with open(filepath, 'w') as file:
        file.write(content)

    print(f"{post_type.capitalize()} created: {filepath}")

def main():
    post_type = input("Enter the type of post (Note, Log, Post): ")
    title = input("Enter the title of the post: ")

    create_post(post_type, title)

if __name__ == "__main__":
    main()
published February 22, 2025
#programming #webdev