CodeTweak is a modern user script manager and JavaScript editor, designed as a modern alternative to Tampermonkey. It is fully open source and built with privacy in mind.
CodeTweak provides full support for Manifest V3, offering a modern code editor with linting, formatting, basic autocomplete, and syntax highlighting. It supports all safe GM APIs and URL matching. Users can install scripts directly from Greasy Fork and manage them via the dashboard.
We prioritize privacy: no tracking, no analytics, no selling of user data. All permissions are only requested for GM API support.
- Code Editor — Customizable editor with linting, formatting, autocomplete, and syntax highlighting.
- GM API Support — Supports all safe GM APIs.
- Regex URLs — Modern regex support for URL matching.
- Greasy Fork Integration — Install scripts directly from CodeTweak or the Greasy Fork website.
- Privacy First — No tracking, no analytics, only necessary permissions.
We welcome contributions from the community! Whether fixing bugs, adding features, or improving documentation, your help is appreciated.
- Node.js 16+
- npm
- Chrome/Chromium browser
npm install
npm build.js- Reduce editor bundle size (~1.4 MB currently)
- Split large editor manager files into smaller modules
- Enhance extension management for CodeMirror
- Link CodeMirror minimap toggle
- Move helper functions (
exportScript,generateTamperMonkeyHeader) to separate files - Add option to toggle execution in main world or isolated world
- Display execution world and run-at time in editor/dashboard
- Make it so you choose where the modifcation goes on pages with mutiple scripts running
- Change highlight theme color
- Fix editor optimizations
- Can you make it so if you have mutiple scripts running at once on the same page the notifications will expand verticlly and not all overlap
- Fix regrex
- Built with CodeMirror
- Inspired by Tampermonkey and Greasemonkey
- Icons from Feather
This project is licensed under the MIT License. See the LICENSE file for details.