Small and simple GUI wrapper for command-line tools.
This branch will use libui as a GUI library.
It still has some issues and lacks some features I want.
But it'll be the best GUI library for Simple Command Runner in the future.
Here is the list of changes from the main branch.
- EXE became smaller. (Under 800KB!)
- Compilation time became faster.
- Support older build systems. (No need CMake 3.25!)
- User-friendly workflows. (Just by running meson via command-line!)
- Haven't beed tested enough.
- Support universal binary for macOS.
- MIT license!
Simple Command Runner will give a very simple GUI to your scripts.
All you need is write a .json
file and run a small executable.
It can make a GUI to run commands of your scripts.
No need coding, no need browsers, and no need stupidly large executables!
- Define GUI in JSON
- Embed JSON into exe
- Save arguments
- Input paths by drag and drop
- Cross-platform
- Native look and feel
- Portable
- Small size
- UTF-8 support
You can download executables from the release page
SimpleCommandRunner*-Windows*.zip
is for Windows (7 or later).SimpleCommandRunner*-macOS*.tar.bz2
is for macOS (10.9 or later).SimpleCommandRunner*-Linux*.tar.bz2
is for Ubuntu (20.04 or later).
Linux build only supports Ubuntu due to the glibc dependences.
Linux build and Windows build only support x64 architecture. (macOS build supports ARM chips like Apple M1.)
Build the executable by yourself if you want to use it on unsupported devices.
There are some JSON files to learn how to define GUIs.
There is a schema for gui_definition.json
.
You can use it to validate definitions while editing files.
For VSCode, you can add the schema path to settings.json
(File > Preferences > Settings > JSON:Schemas > Edit in settings.json
.)
"json.schemas": [
{
"fileMatch": [ "gui_definition.json" ],
"url": "https://raw.githubusercontent.com/matyalatte/Simple-Command-Runner/main/schema/schema.json"
}
]
You can also make gui_definition.json
with web forms
You can use UPX to compress the executables.
They will be under 300KB!
Files in this repository are available under the MIT license.
Project | Used for | License |
---|---|---|
libui-ng | GUI framework | MIT |
RapidJSON | JSON handling | MIT |
subprocess.h | Command processing | Unlicense |