Utility Scripts

A collection of small, purpose-built Python scripts that solve specific problems and streamline my workflow.

Note: These are quick-and-dirty scripts built for personal use. They are not polished applications but functional tools that I use regularly.

converter.py

Download Script

This is my most frequently used script, essential to my AI-assisted coding workflow. Since Google's AI Studio doesn't natively support many file types I work with (like .js, .java, or .css), I need to convert them to .txt to upload them for context. This script automates that entire process.

I just double-click the script, and it converts every specified file type in its directory into a text file and organizes them into "versions" folders. It's heavily optimized using concurrent processing to handle large projects quickly. I used this script extensively to build this very website!

A screenshot of a folder structure showing multiple versioned subfolders created by the converter.py script.
The versions folder, automatically managed by converter.py.

convertdelete.py

Download Script

A specialized version of the converter script, tailored for developing Minecraft plugins and mods. It performs the same conversion to .txt but also deletes the original files and folder structures. This is perfect for when I only need to grab the src folder and gradle.properties file from a project, drop them into a temporary folder with this script, and run it to get a clean text dump for the AI.

antiafk.py

Download Script

Does exactly what the name implies. It's a simple anti-AFK script that periodically sends input to prevent me from being kicked from Roblox for inactivity. Simple, but effective.

espammer.py

Download Script

A hyper-specific script for a Roblox game called "Grow a Garden." It spams the 'E' key at an inhuman speed, automating a tedious in-game action.

OBSOverlay.py & TSBOverlay.py

OBSOverlay TSBOverlay

These are two simple, non-invasive overlay scripts. The OBSOverlay creates a small circle on my screen that changes color depending on whether OBS is recording, paused, or stopped. It doesn't actually hook into OBS; I just manually sync it by starting the script when OBS isn't recording.

The TSBOverlay creates bars in the corner of my screen to visually track my dash cooldowns in The Strongest Battlegrounds. It's not linked to the game and isn't always accurate since many in-game actions can interrupt a dash, but it serves as a helpful visual reminder.

Celestial Sentry (bot.py)

Download Script

This is a custom Discord bot for my server, designed to solve a common problem in TSB: "teamers" who coordinate to ruin the fun for solo players. While not against the rules, it's a frustrating experience. Celestial Sentry provides an organized system for players to request backup from my community's @Allies Of Heaven role.

The bot is compiled into an executable and placed in my PC's startup folder, ensuring it's always online when my computer is running.

View on GitHub

The full code for Celestial Sentry is open-source and available on GitHub.

Go to Repository