Skip to content

Instantly share code, notes, and snippets.

View iGerman00's full-sized avatar
🎤
studying wiggly air

German iGerman00

🎤
studying wiggly air
View GitHub Profile
@iGerman00
iGerman00 / DIY private DNS (DoH) with filtering.md
Last active April 20, 2025 18:27
A simple tutorial on a private DNS server setup with Caddy and AdGuard Home

DIY Private Filtered DNS

Create your own secure DNS server with filtering capabilities
NextDNS, eat your heart out

This tutorial will guide you through setting up a private DNS server using Caddy and AdGuard Home. You'll create a secure, encrypted personal DNS endpoint with content filtering and authorization that you can use from anywhere in the world.

What you'll get

  • A personal DNS server that blocks ads and unwanted content
  • Encrypted DNS connections for privacy
@iGerman00
iGerman00 / buttercup-server.js
Last active March 28, 2025 02:59
Buttercup cache server worker, if it works it works. Groq API key needed (in variables) for summary feature
import { escapeHtml } from './escape.js';
import template from './template.html';
async function listAllKeys(namespace, options = {}) {
let allKeys = [];
let cursor = undefined;
let listComplete = false;
while (!listComplete) {
const currentOptions = { ...options, cursor: cursor, limit: 1000 };
@iGerman00
iGerman00 / README.md
Created May 5, 2024 18:33
Floatplane userscript to implement similar hotkeys to the YouTube player for the Floatplane player

Floatplane YouTube Hotkeys

This is a relatively simple, decent script to introduce some extra hotkeys to Floatplane. By default, only some hotkeys are active.
I've only tested this script on my Chromium-based browser with Tampermonkey, however I have no reason to believe it won't work on other browsers.

Hotkeys that I have added:

  • k, MediaPlayPause - play/pause
  • StopMedia - pause
  • j - seek 10 seconds back
  • l - seek 10 seconds forward
@iGerman00
iGerman00 / cadmium-playercore-6.0042.369.911.DOLBY_MOD.js
Last active October 16, 2023 20:04
Netflix' Cadmium player v6.0042.369.911; modded with 5.1 audio support (tested on Safari), bitrate selection menu re-enabled (Ctrl+Alt+Shift+B) and all audio tracks visible. Modifications are marked with a "// DOLBY-MOD" comment. To use simply make a local override of the cadmium-playercore.js response in your browser.
This file has been truncated, but you can view the full file.
U_XqO[287568] = (function () {
var p$m = 2;
for (; p$m !== 9; ) {
switch (p$m) {
case 2:
p$m = typeof globalThis === "\x6f\u0062\u006a\u0065\u0063\x74" ? 1 : 5;
break;
case 1:
return globalThis;

Installing Tailscale on GL.iNet SiFlower (SiChang) routers

I have no experience creating opkg packages for OpenWRT, so manual installation it is!

Automatic installation

It's not compressed as of writing this, but it's much easier to install, and now supports our architecture

Manual compilation and installation

Prerequisites

  1. A GL.iNet SiFlower router, like the Opal (GL-SFT1200)