r/userscripts • • Dec 22 '25

New userscript manager I built – multi‑file projects, live preview, and Git in your browser, looking for feedback

I’ve been writing userscripts for a while and got tired of the usual workflow:

  • One 5,000 line file with everything stuffed into it
  • Editing in a tiny browser textarea or copy‑pasting from VS Code
  • Setting up Webpack/Babel just to use imports
  • Rebuilding every time I want to test a small DOM change

So I built something I actually wanted to use: ScriptFlow – a userscript manager with a built‑in IDE.

What it does:

  • Lets you structure scripts like a real project (folders, multiple files, import/export, etc.)
  • Uses the Monaco editor (same core as VS Code) inside the extension
  • Has a live preview window for HTML/CSS/JS so you can test UI without spamming reload/inject
  • Supports both quick single‑file scripts and larger multi‑file projects
  • Can connect to a local folder or Git repo so you can clone, edit, commit, and push without leaving the browser

There’s no Node/Webpack build step – it does the module handling at runtime, so the workflow is basically:

Edit → Save → Script runs

Why I’m posting here:

This is the first public release. I’ve been dogfooding it on games like MooMoo and general DOM scripts, but I want feedback from people who actually live in userscripts:

  • Does the project structure / editor flow make sense?
  • Anything obviously missing for your use cases?
  • Performance issues on heavier pages?
  • Any errors?, if yes message me in discord: ouka.js

If you’re interested, the repo + install instructions are here:

https://github.com/kusoidev/ScriptFlow

It’s open source, code is readable (no minification/obfuscation), and its marked as beta, so expect some rough edges. If you try it and hit bugs or have ideas, opening an issue would help a lot.

Thanks in advance to anyone who’s willing to break it for me.

Edit:

Added photos to README so you guys can check out ScriptFlow: https://github.com/kusoidev/ScriptFlow

Also Discord Server for bug reports or suggestions: https://discord.gg/gwC7KW3j7v

27 Upvotes

18 comments sorted by

View all comments

Show parent comment

2

u/AndersonLen1 Dec 27 '25

Okay, finally got around to giving script flow a spin.

The editor feels nice enough and an upgrade over the likes of Tampermonkey. Nice for quick edits, first drafts, or simple scripts. IntelliSense for the few bits of userscript API that are implemented is neat, but lacks the detail of for example the .d.ts file from DefinitelyTyped.

Editing modular scripts is awkward because the editor itself does not really support that at all. I still think that the moment my script needs to be modular I'd rather edit in VSCode than inside the browser.

Some of the issues that I came across in the first few minutes of tinkering (I know it's a work in progress, I'll still mention anything I noticed):

  • some of the "tour" overlays go off screen
  • key combos are not localized, no idea what Ctrl+[ is supposed to be
  • no way to change or view key combos
  • clicking "New Script" should "match" the current URL
  • lots of userscript API functions (GM_* / GM.*) are missing (for example GM_registerMenuCommand, GM_download, GM_xmlhttpRequest)
  • no indication of the number of running scripts (badge on extension button), even opening the extension menu shows all scripts including those not for the current page
  • no list / library of existing scripts other than extension menu - needs a full-page list / table with details like tampermonkey
  • turning a script into a project keeps the single-file script around
  • saving a file in a project sometimes creates a new copy of the project
  • could not figure out how to put a project onto disk, clicking the Workspace button seems to create a new project
  • no import autocomplete (not while typing, not as a code action, no autocomplete of the path of the actual import statement)
  • no intellisense on imported things
  • it seems that the script header does not exists anywhere in multi file projects or workspaces - unfortunate because that means you still have to jump back into the extension's editor to make any changes there
  • took me a while to find that "set entry point" is only available via a script file's context menu
  • in a newly created Workspace the "script details" panel remained dark / transparent and the "Save File" + "Save as MultiFile" buttons stayed as well
  • a setting to by default save / sync all scripts and projects to a specified directory on disk would be neat

Looking forward to see where this is going and if it will reach a release ready status.

3

u/Ok_Beach_6583 Dec 27 '25

Hey, not the person developing this but a helper, they are VERY much in pain reading this and realizing how much they're gonna have to work on in the coming days.
That out of the way, we <3 all of this information and I'm confident that the creator will be replying to this sometime soon.
Thanks!! And if you can, you can get any issues to us quicker via the Discord server on the Github or op message.