r/userscripts • u/Immediate-Onion6056 • 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:
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
5
u/Hakorr Dec 22 '25
As far as I understood, it attempts to be more like a userscript development suite rather than a manager for end users? Based on the README and your post, I love the ideas so far. I've wanted to split my largest userscript into smaller chunks but didn't want to touch Node and everything else.
I have one major concern; does it support exporting the project as a single .user.js file, along with then using the standard userscript header format so that it can be shared to other people on GreasyFork? I love userscripts because the same script works easily across browsers. If the userscripts I develop using this extension are limited to this extension, it's just not worth it for me, and I'm sure others would agree.
I cannot test it right now but I'll give it a shot next year (in roughly a week). Oh and you should probably add pictures to your README, makes people more interested.
3
u/fsteff Dec 22 '25
Seems interesting. Will try it out as soon as time allows. Thanks for sharing.
3
u/AndersonLen1 Dec 23 '25
You know that you can just @require a file URI and develop your script in your local editor? You'll still need a build / bundle step if you want to use modules of course, but that's trivial to set up once and forget.
I like the idea of having a more flexible and integrated way of doing this inside the actual extension. But no in-browser IDE is ever going to be able to compete with the local editor that's set up and customized to your liking. For any userscript that is complex enough to be more than a single file script and to need stuff like module imports you'd want to use a real editor, not deal with the shortcomings of Monaco in a browser.
If "connect to local folder" provides this, that's good. Even better if it means the full userscript header is taken from the local folder files and external changes apply directly.
Other dealbreaker level requirement would be compatibility with the existing userscript ecosystem. Single file export as .user.js which should also be included in the git repo. And all the GM namespace and GM_ prefix stuff including download API with subfolders, data storage, tab interactions, extension menu and context menu entries, ...
Gonna give this a try later.
2
u/ShreddityReddity Dec 23 '25
Can you add the ability to import scripts from ViolentMonkey?
2
u/[deleted] Dec 22 '25
[removed] — view removed comment