Skip to content

Instantly share code, notes, and snippets.

View thelabcat's full-sized avatar

Wilbur Jaywright thelabcat

  • Marswide BGL
  • Somewhere in space...
View GitHub Profile
@thelabcat
thelabcat / chatterkey.py
Last active June 17, 2026 16:23
Chatterkey - CLI script for calling Chatterbox TTS
#!/usr/bin/env python3
"""Chatterkey
CLI script for calling Chatterbox TTS
Copyright 2026 Wilbur Jaywright dba Marswide BGL
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@thelabcat
thelabcat / rumble_gaming_catstat.py
Created June 13, 2026 20:53
Gaming on Rumble viewers per stream calculator
#!/usr/bin/env python3
"""Gaming on Rumble viewers per stream calculator
Do some scraping, and calculate a viewer-per-stream stat for gaming on Rumble,
and format it to BewareTheMoon's X post style.
Relies on Chrome or a compatible browser being installed and configured for
Selenium puppeteering, plus the Python libraries `bs4` and `selenium` being
installed. Both modules are available from PYPI.
@thelabcat
thelabcat / rumble_popout_chat.css
Last active May 2, 2026 02:24
Custom CSS to use Rumble chat popout in OBS Studio
/* Make the background transparent, the border invisible, and the text white */
* {
background-color: transparent !important;
border: none !important;
color: #fff !important;
}
/* Hide a bunch of elements */
.chat--header, .chat-sticky-rants__container, .chat__pinned-ui-container, .chat--signin-container, .chat-form-overflow-wrapper {display: none}
@thelabcat
thelabcat / multiple_choice.py
Created September 20, 2025 17:36
Python module demo for kids - Multiple Choice CLI Question Asker
#!/usr/bin/env python3
"""Multiple choice CLI input
Present the user with a list of options, and let them choose either by name, or
numerically.
Copyright 2025 Wilbur Jaywright.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@thelabcat
thelabcat / easylist_for_pihole_hosts.txt
Last active September 21, 2024 20:41
EasyList.to Ad Servers as hosts file
This file has been truncated, but you can view the full file.
# Title: Hosts from EasyList.to
# Project home page: https://easylist.to
# S.D.G
0.0.0.0 0008d6ba2e.com
0.0.0.0 0024ad98dd.com
0.0.0.0 00d3ed994e.com
0.0.0.0 00d84987c0.com
0.0.0.0 012024jhvjhkozekl.space
0.0.0.0 01220b75a7.com
@thelabcat
thelabcat / misses_maam_rumchat_actor.py
Last active July 26, 2024 03:04
Rumble Chat Actor implementation imitating Misses Ma'am's current setup
"""Misses Ma'am Rumble Chat Actor setup v0.0-alpha
Imitation of Misses Ma'am's Rumble Bot setup
as it was acting up.
S.D.G.
"""
import os
import rumchat_actor