Skip to content

Instantly share code, notes, and snippets.

@PsychoSmiley
PsychoSmiley / f95-watcher.user.js
Last active February 14, 2026 18:43
Userscript to track and get notified in F95zone of game updates - inspired by LenAnderson
// ==UserScript==
// @name F95zone Game Watcher
// @namespace f95-watcher
// @version 1.1
// @description Track F95zone game updates - adds a Tracked tab in the account dropdown
// @match https://f95zone.to/*
// @author PsychoSmiley
// @downloadURL https://gist.github.com/PsychoSmiley/raw/f95-watcher.user.js
// @updateURL https://gist.github.com/PsychoSmiley/raw/f95-watcher.user.js
// @grant GM.getValue
@PsychoSmiley
PsychoSmiley / lr_bridge.py
Created January 7, 2026 05:05
Local proxy Lovense Remote <-> Intiface Central; WebSocket bridge translates toy commands, runs on port 30010.
"""
Lovense Remote API -> Intiface Central Proxy - IP address in-game: 127.0.0.1
Translates Lovense HTTP commands to Buttplug WebSocket protocol.
"""
import asyncio, json, ssl, sys, tempfile, threading, os
from http.server import HTTPServer, BaseHTTPRequestHandler
for pkg in ["websockets", "cryptography"]:
try: __import__(pkg)
except ImportError:
@PsychoSmiley
PsychoSmiley / MCP-buttplug.py
Last active November 13, 2025 01:10
MCP Buttplug - Convert from LLM_Buttplug
# /// script
# dependencies = ["buttplug", "websockets", "mcp"]
# ///
"""Stroke bridge: combined server/client (requires Intiface Central running) + optional MCP tool.
- Usage Local: pip install buttplug websockets mcp -> `python MCP-buttplug.py serve` + `python MCP-buttplug.py send --duration 1500 --intensity 0.7`
- Usage MCP: claude mcp add --transport stdio buttplug -- uv run https://gist.github.com/PsychoSmiley/6b5bd86ef88dd702be8dcc81204496fc/raw/MCP-buttplug.py serve --mcp
- Optional env vars: --env STROKE_HOST=127.0.0.1 --env STROKE_PORT=8769 --env STROKE_INTIFACE=ws://127.0.0.1:12345
- Note: uv auto-installs deps from PEP 723 metadata block above
"""
import argparse, asyncio, json, logging, os, threading
@PsychoSmiley
PsychoSmiley / CustomAction_v4_json.yaml
Created January 8, 2024 17:34
Template Local LLM Function calling's
name: NPC
context: 'Context: You''re in a game and Player to interact with NPC naturally. NPC
answer and use action keywords below to trigger actions in json:
---
Actions example:
- lightsOn