Skip to content

Instantly share code, notes, and snippets.

View AirplanegoBrr's full-sized avatar
🐢
Prob stalking someone?

AirplaneGobrr AirplanegoBrr

🐢
Prob stalking someone?
View GitHub Profile
@AirplanegoBrr
AirplanegoBrr / vencord-dht.ts
Created July 20, 2025 22:31
Vencord plugin for Discord History tracker!
import { definePluginSettings, Settings } from "@api/Settings";
import definePlugin, { OptionType } from "@utils/types";
import { Devs } from "@utils/constants";
// Keep a reference so we can cleanup later if needed
let observer: MutationObserver | null = null;
let reinsertionObserver: MutationObserver | null = null;
let button: HTMLElement | null = null;
function startMutationObserver() {
@AirplanegoBrr
AirplanegoBrr / jackett_API.js
Created December 11, 2024 18:00
This is a simple script to help interface with the jackett API, its not done yet.
const axios = require('axios');
const { URL, URLSearchParams } = require('url');
let apiURL = process.env.JACKETT_API_URL || '';
let apiKey = process.env.JACKETT_API_KEY || '';
function toLowerCaseKeys(obj) {
if (Array.isArray(obj)) {
return obj.map(toLowerCaseKeys);
} else if (obj !== null && typeof obj === 'object') {