Skip to content

Instantly share code, notes, and snippets.

View fucksophie's full-sized avatar
🐈
MEOWWWWWWWWWWWWWWWWWWWWWWW

sophie fucksophie

🐈
MEOWWWWWWWWWWWWWWWWWWWWWWW
View GitHub Profile
@fucksophie
fucksophie / client.ts
Created January 17, 2025 20:23
this is a typescript client for multiplayerpiano. it has fully compatiablity with every single message that MPP sends out. from all of the "custom" related stuff, to a notebuffer system. EVERYTHING.
import chalk from "chalk";
import EventEmitter from "wolfy87-eventemitter";
import type {
ChannelSettings,
ChatMessage,
ChChannelSettings,
Crown,
LSMessage,
Messages,
MessageTypes,
@fucksophie
fucksophie / README.md
Created June 23, 2025 12:48
kodi + nixos + laptop + bluetooth

turn your old laptop into a kodi system

This configuration was written by @fucksophie, for the Lenovo Yoga 510 14ISK-80S7. I upgraded the ram in mine ages ago to 8 gigabytes instead of four. I reccomend for you to do the same.

Info:

  1. This configuration has specific configuration for fixing the S/PDIF (actually HDMI) part of the Intel HDA audio card.
    Remove them if you know that HDMI audio works with your laptop & pulseaudio. (Line 39, and lines 41-54)
  2. This has bluetooth support, remove basically anything that has bluetooth in it if you don't want that.
  3. This also uses kodi-wayland, as I had way better performance with it and a 100x easier setup via cage.
@fucksophie
fucksophie / README.md
Created June 23, 2025 14:29
Full * arr stack + explanation

*arr stack

The *arr stack is for legally* playing music, TV shows and movies. There are four major components, those being:

  • Jellyfin (or plex for purists)
    This is your Main Guy. Jellyfin finds where your files are stored, and plays them in UIs across differnt systems, platforms, etc.
  • Lidarr
    Lidarr is your Music Guy. Lidarr finds music by using the download clients and indexers (in our case via slskd for both) supplied.
  • Radarr
    Radarr is your Movie Guy. Radarr finds movies (in our case by using Qbittorrent). Indexers for radarr are common indexing sites for Linux ISO's, like 1337x.to and rarbg.
@fucksophie
fucksophie / README.md
Last active June 24, 2025 14:36
Run llama.cpp with a single .zip file and nix-shell

this script runs steam-run, and nixgl together to launch a llama.cpp server

tutorial:

  1. Get the latest llama.cpp version. 6/24/25, it is b5749. Replace the <build> in 1. with the correct number.
  2. wget https://github.com/ggml-org/llama.cpp/releases/download/<build>/llama-<build>-bin-ubuntu-vulkan-x64.zip --output l.zip && unzip l.zip
  3. wget https://huggingface.co/TheBloke/airoboros-mistral2.2-7B-GGUF/blob/main/airoboros-mistral2.2-7b.Q4_K_S.gguf?download=true (or use a different model)
  4. chmod +x run-llama-vulkan.sh
  5. if you are using vulkan, then just ./run-llama-vulkan.sh, if you aren't follow further
  6. in line 10, modify nixVulkanIntel to be nixVulkanNvidia.