From 39d24d3ea9a22ff2b665e1cd44902108572f6917 Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Thu, 9 Jul 2026 08:26:18 -0400 Subject: [PATCH] Move userscripts into scripts/ subfolder --- AGENTS.md | 2 +- archive-redirect.user.js => scripts/archive-redirect.user.js | 0 darkreader.user.js => scripts/darkreader.user.js | 0 .../emdash-highlighter.user.js | 0 enable-paste.user.js => scripts/enable-paste.user.js | 0 hn-tweaks.user.js => scripts/hn-tweaks.user.js | 0 kagi_llm.user.js => scripts/kagi_llm.user.js | 0 old-reddit-mobile.user.js => scripts/old-reddit-mobile.user.js | 0 page-agent.user.js => scripts/page-agent.user.js | 0 pwa-everything.user.js => scripts/pwa-everything.user.js | 0 .../xen-orchestra-xo5-dark-theme.user.js | 0 yattee-redirect.user.js => scripts/yattee-redirect.user.js | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename archive-redirect.user.js => scripts/archive-redirect.user.js (100%) rename darkreader.user.js => scripts/darkreader.user.js (100%) rename emdash-highlighter.user.js => scripts/emdash-highlighter.user.js (100%) rename enable-paste.user.js => scripts/enable-paste.user.js (100%) rename hn-tweaks.user.js => scripts/hn-tweaks.user.js (100%) rename kagi_llm.user.js => scripts/kagi_llm.user.js (100%) rename old-reddit-mobile.user.js => scripts/old-reddit-mobile.user.js (100%) rename page-agent.user.js => scripts/page-agent.user.js (100%) rename pwa-everything.user.js => scripts/pwa-everything.user.js (100%) rename xen-orchestra-xo5-dark-theme.user.js => scripts/xen-orchestra-xo5-dark-theme.user.js (100%) rename yattee-redirect.user.js => scripts/yattee-redirect.user.js (100%) diff --git a/AGENTS.md b/AGENTS.md index 03134e9..22784ab 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ A flat collection of standalone browser userscripts (Tampermonkey / Violentmonke ## Core Rule: One Self-Contained File Per Script -Each userscript is a single `*.user.js` file at the repo root. A script owns everything it needs — metadata header, styles, and logic — in that one file. +Each userscript is a single `*.user.js` file in `scripts/`. A script owns everything it needs - metadata header, styles, and logic - in that one file. Repo plumbing (flake, lint config, package files) stays at the root. - No shared modules, no build step, no bundler. A file must install and run as-is by pasting it into a userscript manager. - New script → new `name.user.js` file. Do not factor common code into helpers across files; duplication across scripts is acceptable and expected here. diff --git a/archive-redirect.user.js b/scripts/archive-redirect.user.js similarity index 100% rename from archive-redirect.user.js rename to scripts/archive-redirect.user.js diff --git a/darkreader.user.js b/scripts/darkreader.user.js similarity index 100% rename from darkreader.user.js rename to scripts/darkreader.user.js diff --git a/emdash-highlighter.user.js b/scripts/emdash-highlighter.user.js similarity index 100% rename from emdash-highlighter.user.js rename to scripts/emdash-highlighter.user.js diff --git a/enable-paste.user.js b/scripts/enable-paste.user.js similarity index 100% rename from enable-paste.user.js rename to scripts/enable-paste.user.js diff --git a/hn-tweaks.user.js b/scripts/hn-tweaks.user.js similarity index 100% rename from hn-tweaks.user.js rename to scripts/hn-tweaks.user.js diff --git a/kagi_llm.user.js b/scripts/kagi_llm.user.js similarity index 100% rename from kagi_llm.user.js rename to scripts/kagi_llm.user.js diff --git a/old-reddit-mobile.user.js b/scripts/old-reddit-mobile.user.js similarity index 100% rename from old-reddit-mobile.user.js rename to scripts/old-reddit-mobile.user.js diff --git a/page-agent.user.js b/scripts/page-agent.user.js similarity index 100% rename from page-agent.user.js rename to scripts/page-agent.user.js diff --git a/pwa-everything.user.js b/scripts/pwa-everything.user.js similarity index 100% rename from pwa-everything.user.js rename to scripts/pwa-everything.user.js diff --git a/xen-orchestra-xo5-dark-theme.user.js b/scripts/xen-orchestra-xo5-dark-theme.user.js similarity index 100% rename from xen-orchestra-xo5-dark-theme.user.js rename to scripts/xen-orchestra-xo5-dark-theme.user.js diff --git a/yattee-redirect.user.js b/scripts/yattee-redirect.user.js similarity index 100% rename from yattee-redirect.user.js rename to scripts/yattee-redirect.user.js