Skip to content

Instantly share code, notes, and snippets.

View techygrrrl's full-sized avatar
🔴

techygrrrl techygrrrl

🔴
View GitHub Profile
@techygrrrl
techygrrrl / Twitch Copy viewer card username to clipboard.user.js
Last active August 15, 2023 02:43
Adds a clipboard emoji beside the username in the viewer card that pops up when you click a username in Twitch chat
// ==UserScript==
// @name Twitch: Copy to clipboard for username
// @match https://www.twitch.tv/*
// @version 1.0
// @author techygrrrl
// @description Adds a clipboard emoji beside the username in the viewer card that pops up when you click a username in Twitch chat
// ==/UserScript==
const init = async () => {
console.log("📋 Copy to clipboard: Initializing...");
@techygrrrl
techygrrrl / logging.go
Last active June 23, 2023 05:19
Implementation structured logs with multiple outputs (console, file) in Go lang using zerolog
// internal/logging.go
package internal
import (
"fmt"
"io"
"os"
"path"
"path/filepath"
@techygrrrl
techygrrrl / Twitch EventSub subscription type scraper.user.js
Last active November 20, 2023 01:26
Logs the Twitch EventSub subscription types to the console. Pop open the console and look at the data! Logs both as a table and as JSON.
// ==UserScript==
// @name Twitch EventSub subscription type scraper
// @namespace https://techygrrrl.stream
// @version 0.1
// @description A user script that can be run with ViolentMonkey, TamperMonkey, GreaseMonkey, or any other user script runner. Pop open the console and look at the scopes! Logs both as a table and as JSON.
// @author techygrrrl
// @match https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/*
// @grant none
// @icon https://i.imgur.com/U3Ke5uu.png
// ==/UserScript==
@techygrrrl
techygrrrl / TAU Dark Mode.user.js
Last active March 13, 2023 04:24
TAU Dark Mode
// ==UserScript==
// @name TAU Dark Mode
// @namespace Violentmonkey Scripts
// @match http://localhost:8000/*
// @grant none
// @version 1.0
// @author techygrrrl
// @description 3/12/2023, 8:17:27 PM
// ==/UserScript==
@techygrrrl
techygrrrl / Twitch Dev docs Dark Mode.user.js
Last active August 15, 2023 02:58
Dark mode for the Twitch Dev docs
// ==UserScript==
// @name Twitch Dev Dark Mode
// @match https://dev.twitch.tv/docs/*
// @match https://dev.twitch.com/docs/*
// @grant none
// @version 1.0
// @icon https://i.imgur.com/nEGAZMA.png
// @description Dark Mode for Twitch Dev
// ==/UserScript==
@techygrrrl
techygrrrl / Scrape Twitch scopes.user.js
Last active November 20, 2023 00:44
A user script that can be run with ViolentMonkey, TamperMonkey, GreaseMonkey, or any other user script runner. Pop open the console and look at the scopes! Logs both as a table and as JSON.
// ==UserScript==
// @name Twitch scope scraper
// @namespace https://techygrrrl.stream
// @version 0.1
// @description A user script that can be run with ViolentMonkey, TamperMonkey, GreaseMonkey, or any other user script runner. Pop open the console and look at the scopes! Logs both as a table and as JSON.
// @author techygrrrl
// @match https://dev.twitch.tv/docs/authentication/scopes/*
// @grant none
// @icon https://i.imgur.com/U3Ke5uu.png
// ==/UserScript==
@techygrrrl
techygrrrl / Wikipedia Dark Mode.user.js
Last active February 14, 2024 04:15
Wikipedia Dark Mode user script. Modified version of this one: https://userstyles.org/styles/122072/wikipedia-deep-dark-theme (rem font sizes, font family)
// ==UserScript==
// @name Wikipedia Dark Mode
// @match https://en.wikipedia.org/*
// @grant none
// @version 1.0
// @description Dark Mode for Wikipedia
// ==/UserScript==
const css = `
html {
@techygrrrl
techygrrrl / Twitch Plain Chat colours.user.js
Created December 4, 2022 05:09
Makes the chat username colour the same colour as the chat text. Supports both light and dark modes.
// ==UserScript==
// @name Twitch Plain Chat colours
// @namespace https://techygrrrl.stream
// @version 0.1
// @description Make the chat username colour the main text colour.
// @author techygrrrl
// @match https://*.twitch.com/*
// @match https://*.twitch.tv/*
// @grant none
// ==/UserScript==
@techygrrrl
techygrrrl / Twitch Theatre Mode Light chat support.user.js
Last active December 4, 2022 04:48
Support light chat in theatre mode on Twitch when your theme is set to light. This requires you to press Alt+T and doesn't work when clicking the toggle. Read more about it in the blog post: https://blog.techygrrrl.stream/light-mode-twitch-chat-theatre-mode
// ==UserScript==
// @name Twitch Theatre Mode Light Chat
// @namespace https://techygrrrl.stream
// @version 0.1
// @description Use the preferred dark/light mode theme in theatre mode. Only works when pressing Alt+T.
// @author techygrrrl
// @match https://*.twitch.com/*
// @match https://*.twitch.tv/*
// @icon https://i.imgur.com/n2pSbiM.png
// @grant none
@techygrrrl
techygrrrl / Bigger Twitch UserVoice comment box.user.js
Last active December 4, 2022 01:01
Make the Twitch UserVoice "Add a comment" box bigger
// ==UserScript==
// @name Big Twitch User Voice opinion box
// @namespace https://techygrrrl.stream
// @version 0.1
// @description Make the comment box bigger for your big, juicy opinions on Twitch's UserVoice
// @author techygrrrl
// @match https://twitch.uservoice.com/*
// @icon https://s3.amazonaws.com/uploads.uservoice.com/logo/design_setting/270912/original/TwitchExtrudedWordmarkPurpleUserVoice.png?1604096170
// @grant none
// ==/UserScript==