This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Chub Desloppifier | |
// @namespace Violentmonkey Scripts | |
// @match https://*.chub.ai/* | |
// @match https://*.characterhub.org/* | |
// @version 1.7 | |
// @author khanonnie | |
// @description Tries to clean up the flood of shit cards on chub.ai. | |
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js | |
// @homepageURL https://gist.github.com/khanonnie/b357f20bfe4e920d8e05fd47f1e6fa75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "NAI", | |
"blur_strength": 30, | |
"main_text_color": "rgba(245, 245, 245, 1)", | |
"italics_text_color": "rgba(209, 209, 214, 1)", | |
"underline_text_color": "rgba(0, 102, 204, 1)", | |
"quote_text_color": "rgba(245, 243, 194, 1)", | |
"blur_tint_color": "rgba(19, 21, 44, 1)", | |
"chat_tint_color": "rgba(25, 27, 49, 1)", | |
"user_mes_blur_tint_color": "rgba(25, 27, 49, 0)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ws = require('ws') | |
// just trivially obfuscating the endpoint url to avoid spiders | |
function rot13(str) { | |
return str.replace(/[a-zA-Z]/g, (c) => { | |
const base = c <= 'Z' ? 'A'.charCodeAt(0) : 'a'.charCodeAt(0) | |
return String.fromCharCode(((c.charCodeAt(0) - base + 13) % 26) + base) | |
}) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Interactive convenience script for basujindal/stable-diffusion. | |
$Settings = @{ | |
Prompt = "your prompt here" | |
Steps = "60" | |
Iters = "3" | |
Samples = "1" | |
Seed = "12345" | |
ProgressiveGeneration = "y" | |
UseOptimizedScript = "n" |