Search results

  1. fukurou

    👨‍💻 dev vrm

    import asyncio import threading import json import websockets from flask import Flask, send_from_directory import os from Skill import Skill class DiVrmController(Skill): def __init__(self): super().__init__() self.set_skill_type(1) # regular skill...
  2. fukurou

    🐍 python STT upgrade for cases of long output

    def input(self, ear: str, skin: str, eye: str): """ Read latest transcription from global var """ if len(self.brain.getLogicChobitOutput()) > 0: self.speaking = True print("Skipping listen") return # print("\nSpeak now")...
  3. fukurou

    👨‍💻 dev miku boxing skill

    import random # Boxing punches: 1–6 PUNCHES = [1, 2, 3, 4, 5, 6] def combo_easy(): """ Easy mode: - 1 to 3 punches - Slower, simple combos """ length = random.randint(1, 3) return [random.choice(PUNCHES) for _ in range(length)] def combo_mid(): """ Mid...
  4. fukurou

    👨‍💻 dev sex talk skill stub

    class DiAffirmations(Skill): # plays start up sound and removes skill def __init__(self): super().__init__() self.replacers: dict[str,DrawRnd] = {"relaxingthing": DrawRnd("drink tea", "play video game", "watch anime")} self.affirmations: Responder =...
  5. fukurou

    👨‍💻 dev local search engine

    pip install beautifulsoup4 requests crawler import requests from bs4 import BeautifulSoup from urllib.parse import urljoin, urlparse def crawl(start_url, max_pages=50): visited = set() to_visit = [start_url] index = {} # url -> text while to_visit and len(visited) <...
  6. fukurou

    🐍 python sequence matcher

    from difflib import SequenceMatcher from typing import Tuple, List def similarity(a: str, b: str) -> int: """ Intent similarity scoring. Returns integer between 0 and 100. 0 = completely different. 100 = identical. """ # The pathetic float that actually works...
  7. fukurou

    👨‍💻 dev shondo

    import os import pygame import threading from fishaudio import FishAudio from fishaudio.utils import save from DLC.skills_monitor import DiInstaller from LivinGrimoirePacket.AXPython import DrawRnd from LivinGrimoirePacket.LivinGrimoire import Skill, Brain from LivinGrimoirePacket.UniqueSkills...
  8. fukurou

    test pragmata

    :d1:
  9. fukurou

    vtuber test code

    pip install live2d-py pygame import pygame import live2d.v3 as live2d from live2d.utils import log import sys # הגדרות מסך SCREEN_WIDTH, SCREEN_HEIGHT = 800, 600 def main(): pygame.init() pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT), pygame.OPENGL | pygame.DOUBLEBUF)...
  10. fukurou

    👨‍💻 dev VU meter

    import sounddevice as sd import numpy as np import threading import time class LoudDetector: # Global static variable is_loud = False def __init__(self, threshold=0.35, cooldown=0.5): self.threshold = threshold self.cooldown = cooldown self._thread = None...
  11. fukurou

    👨‍💻 dev pet animation

    🧩 GOAL A desktop pet / VTuber window that: floats on the desktop animates (idle, blink, talk) stays always‑on‑top runs at 60 FPS never blocks your main program communicates with your main logic (e.g., “talk”, “blink”, “angry”, “idle”) This is the same pattern used by commercial VTuber...
  12. fukurou

    alarm skill update

    old ver: class DiAlarmer(Skill): def __init__(self): super().__init__() self.off: Responder = Responder("shut up", "stop") self._cron: Cron = Cron("", 3, 3) self.msg_extra: str = "" self.default_alarm: str = "beep beep beep" self._alarm_armed...
  13. fukurou

    sequence matcher

    from difflib import SequenceMatcher def similarity(a, b): return SequenceMatcher(None, a, b).ratio()
  14. fukurou

    👨‍💻 dev they said LLMs can't use stopper timers, I will add the feature to my superior AI between jizzings

    import time class Timer: """ A simple timer class for tracking elapsed time. Supports start, pause, resume, reset, and formatted output. """ def __init__(self): """Initialize a new timer. Not started by default.""" self._start_time = None...
  15. fukurou

    👨‍💻 dev lobe 6 redev

    class Pipe: def __init__(self): self.nulify: bool = False def nulify(self): self.nulify = True def is_nullified(self): temp = self.nulify self.nulify = False return temp def input(self, ear: str, skin: str, eye: str, stave:str)->str...
  16. fukurou

    🐍 python aeye reborn

    import threading import time from typing import List, Tuple, Optional import cv2 import numpy as np # ----------------------------------------- # RECTANGLE CLASS (IMAGE COORDS) # ----------------------------------------- class Rectangle: def __init__(self, x1: int, y1: int, x2: int, y2...
  17. fukurou

    image recog

    pip install torch torchvision pillow Create a new file Create image_recog_threaded.py. import threading import time import torch from torchvision import models, transforms from PIL import Image import cv2 # ----------------------------- # GLOBAL STATIC RESULT VARIABLE #...
  18. fukurou

    railpunk skill

    class DiRailPunk(Skill): # this skill swaps between two sets of contradicting skills def __init__(self): super().__init__() self.set_skill_type(3) # backgroundable skill self.trg: TrgHP = TrgHP() self.lim = 2 self.r1: Responder = Responder("wink"...
  19. fukurou

    🐍 python sarcophagus

    class Sarcophagus: def __init__(self): """Initialize the sarcophagus with an empty set of shielded items.""" self._shielded_items: set[str] = set() @property def shielded_items(self) -> set[str]: """Return a copy of the shielded items set (read-only access).""" return...
  20. fukurou

    🐍 python hp convo trigger

    class TrgHP: def __init__(self, low: int=-10, high: int=10, regen: int=5): self.hp = 4 self.low = low self.high = high self.regen: TrgEveryNMinutes = TrgEveryNMinutes(regen) self.hit: set[str] = {"shut up", "quiet", "be quiet", "silence"} def...
Top