koan ์ ์์: 01010111
A lightweight, decentralized, high-performance Userscript editor and manager.
ํ์ฅ ๋ฉํ ๋ฐ์ดํฐ
์ ๋ณด
koan
A premium, sidebar-native userscript IDE and manager for Firefox & Zen Browser.
Koan is a lightweight, decentralized, high-performance extension designed to replace traditional userscript managers. Instead of relying on clunky popups or separate browser tabs, Koan embeds a fully featured CodeMirror IDE directly into your browser's sidebar. It bridges the gap between editing code and seeing it live, featuring real-time CSS injection and native page-level error trapping.
๐ Quick Start Guide
Ready to write your first script? Here is how to take control of a webpage in under 60 seconds:
That's it. You are officially injecting code.
โจ Core Features
๐ Installation
Koan is designed as a personal, developer-focused tool. Because it utilizes powerful userscript injection APIs, it must be installed via Mozilla's developer pathways.
Option A: Zen Browser / Firefox Developer Edition (Unsigned)
If you use a developer-focused browser, you can install Koan locally without signing it.
Option B: Standard Firefox (Private Signing)
Standard Firefox requires all extensions to be signed by Mozilla, even for local use.
๐ ๏ธ Architecture
Koan is built with vanilla web technologies to ensure maximum speed and minimal overhead.
โจ๏ธ Shortcuts
๐ License
MIT License.
A premium, sidebar-native userscript IDE and manager for Firefox & Zen Browser.
Koan is a lightweight, decentralized, high-performance extension designed to replace traditional userscript managers. Instead of relying on clunky popups or separate browser tabs, Koan embeds a fully featured CodeMirror IDE directly into your browser's sidebar. It bridges the gap between editing code and seeing it live, featuring real-time CSS injection and native page-level error trapping.
๐ Quick Start Guide
Ready to write your first script? Here is how to take control of a webpage in under 60 seconds:
- Summon the Workspace: Press
Alt+Shift+Kto open the Koan sidebar on any webpage. - Create a Script: Click the + Create new userscript button.
- Set the Target: In the Metadata tab, give your script a name and add a URL match rule for the site you want to modify (e.g.,
https://example.com/*). - Inject Some Magic:
- Switch to the CSS tab and type
body { filter: invert(1); }. Watch the live page instantly switch to dark mode as you type. - Switch to the JS tab and type
console.log("Koan is running!");. - Save & Execute: Click the blue Save button in the top right. Reload your target page to execute the JavaScript payload and check your browser's console!
That's it. You are officially injecting code.
โจ Core Features
- Sidebar-Native Design: Docks seamlessly into the Firefox/Zen sidebar. Toggle it instantly with
Alt+Shift+Kwithout losing your context on the active page. - The Watch Shield (Error Trapping): Koan wraps your injected scripts in a custom runtime shield. If a script crashes on the target page, the error is piped directly back to the sidebar, automatically highlighting the exact line of code that failed in the editor.
- Real-Time CSS Pipeline: Bypass the reload cycle. CSS edits are streamed to the active tab keystroke-by-keystroke, creating a powerful rapid-prototyping environment for DOM styling.
- Smart CodeMirror IDE:
- Syntax highlighting with a custom One-Dark aesthetic.
- Custom autocomplete dictionary tailored for Javascript, CSS, and
GM_*API methods. - Sandbox Privilege Scanner: Automatically scans your code for native
GM_methods and prompts you to auto-fix missing@grantmetadata tags. - Unified & Split Views: Edit Metadata, CSS, and Javascript in isolated, focused tabs, or toggle "Split" view to see the fully compiled
// ==UserScript==file. - Frictionless Importing: Drag-and-drop
.user.jsfiles directly into the workspace, or paste URLs from GitHub, Gist, or GreasyFork to automatically pull and parse external scripts.
๐ Installation
Koan is designed as a personal, developer-focused tool. Because it utilizes powerful userscript injection APIs, it must be installed via Mozilla's developer pathways.
Option A: Zen Browser / Firefox Developer Edition (Unsigned)
If you use a developer-focused browser, you can install Koan locally without signing it.
- Download or clone this repository and zip the contents into
koan-v1.zip(ensuremanifest.jsonis at the root of the zip). - Open your browser and navigate to
about:config. - Search for
xpinstall.signatures.requiredand set it tofalse. - Navigate to
about:addons, click the gear icon โ๏ธ, select Install Add-on From File..., and choose your zip file.
Option B: Standard Firefox (Private Signing)
Standard Firefox requires all extensions to be signed by Mozilla, even for local use.
- Zip the extension contents (ensure
manifest.jsonis at the root). - Go to the Mozilla Add-on Developer Hub.
- Click Submit a New Add-on and select On my own (this keeps the extension private and unlisted).
- Upload
koan-v1.zip. Mozilla will automatically scan and sign it within a few minutes. - Download the resulting
.xpifile and drag it into your Firefox window to install it permanently.
๐ ๏ธ Architecture
Koan is built with vanilla web technologies to ensure maximum speed and minimal overhead.
- Manifest V3: Fully compliant with modern extension security and background worker standards.
- No Heavy Frameworks: Built entirely with vanilla JavaScript, HTML, and CSS. No React, Vue, or build steps required.
- Local Storage: All scripts and configurations are saved locally via the
browser.storage.localAPI. Use the built-in "Export All" tool to back up your entire workspace to a JSON archive.
โจ๏ธ Shortcuts
Alt+Shift+K: Toggle the Koan Workspace sidebar.Ctrl+Space: Trigger the CodeMirror autocomplete engine while inside the editor.
๐ License
MIT License.
0๋ช
์ด 0์ ์ผ๋ก ํ๊ฐํจ
๊ถํ ๋ฐ ๋ฐ์ดํฐ
ํ์ ๊ถํ:
- ๋ธ๋ผ์ฐ์ ํญ์ ์ ๊ทผ
- ๋ชจ๋ ์น์ฌ์ดํธ์์ ์ฌ์ฉ์์ ๋ฐ์ดํฐ์ ์ ๊ทผ
์ ํ์ ๊ถํ:
- ๋ชจ๋ ์น์ฌ์ดํธ์์ ์ฌ์ฉ์์ ๋ฐ์ดํฐ์ ์ ๊ทผ
๋ฐ์ดํฐ ์์ง:
- ๊ฐ๋ฐ์๊ฐ ์ด ํ์ฅ ๊ธฐ๋ฅ์ ๋ฐ์ดํฐ ์์ง์ด ํ์ํ์ง ์๋ค๊ณ ํฉ๋๋ค.
์ถ๊ฐ ์ ๋ณด
- ๋ถ๊ฐ ๊ธฐ๋ฅ ๋งํฌ
- ๋ฒ์
- 1.1.1
- ํฌ๊ธฐ
- 125.52 KB
- ๋ง์ง๋ง ์ ๋ฐ์ดํธ
- 4์ผ ์ (2026๋ 6์ 4์ผ)
- ๊ด๋ จ ์นดํ ๊ณ ๋ฆฌ
- ๋ผ์ด์ ์ค
- MIT ๋ผ์ด์ ์ค
- ๋ฒ์ ๋ชฉ๋ก
- ํ๊ทธ
- ๋ชจ์์ง์ ์ถ๊ฐ
์ด ํ์ฅ ๊ธฐ๋ฅ์ ๊ฐ๋ฐ์๊ฐ ์ฌ๋ฌ๋ถ์ด ์์ ๊ธฐ์ฌ๋ก ์ง์์ ์ธ ๊ฐ๋ฐ์ ์ง์ํด ์ค ๊ฒ์ ์์ฒญํฉ๋๋ค.