Skip to content

CodeTweak is a lightweight, user script manager and editor. Designed to be a modern version of tampermonkey and to support manifest v3 unlike violent monkey.

License

Notifications You must be signed in to change notification settings

MrBlankCoding/CodeTweak

Repository files navigation

CodeTweak

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.


Description

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.


Features

  • 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.

Contributing

We welcome contributions from the community! Whether fixing bugs, adding features, or improving documentation, your help is appreciated.

Development

Prerequisites

  • Node.js 16+
  • npm
  • Chrome/Chromium browser

Build

npm install
npm build.js

TODO List

Editor

  • 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

UI

  • 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

Helpers

  • Fix regrex

Acknowledgments


License

This project is licensed under the MIT License. See the LICENSE file for details.

About

CodeTweak is a lightweight, user script manager and editor. Designed to be a modern version of tampermonkey and to support manifest v3 unlike violent monkey.

Topics

Resources

License

Stars

Watchers

Forks