Run GUIs as Scripts
Details
- External ID
- 47714770
- Source
- HN
- Company
- —
- Product
- Run GUIs as Scripts
- Website domain
- github.com
- Launched
- April 10, 2026
- Cohort
- —
- Upvotes
- 22
- Upvotes percentile
- 0.7647814910025706
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hi there, Zero Stars here.I recently published some new work to Hokusai Pocket, which is a cross-platform binary made on top of raylib and MRuby that runs GUIs from ruby scripts.License?MIT!How does it work?The binary is available on the GitHub releases page: https://github.com/skinnyjames/hokusai-pocket/releases/tag/0...You can download the binary on x86 Windows, OSX, or Linux, and run your GUI application withhokusai-pocket run:target="<your_hokusai_app.rb>"For a little bit of a hello world, I started a photoshop clonehttps://github.com/skinnyjames/hokusai_demo_paintAlso a little gamehttps://github.com/skinnyjames/pocket-squaresDocs / Help?The docs are in progress, but the old docs for the CRuby version express some of the basic ideas around the project. https://hokusai.skinnyjames.net/docs/intro(I'm also available to answer questions in between slinging pizza)Deps?Hokusai pocket currently uses* libuv for offloading cpu intensive tasks to a worker pool to prevent blocking the UI thread, and I plan to integrate some libuv networking as well.* raylib for backend graphics / I've also built with SDL on arm64 to run applications on my pinephone* NativeFileDialog for the lovely integration into filesystem.* MRuby for running or embedding the scripts* tree-sitter for the custom template grammar (Although templates can be built with ruby)Anyway, I hope you get a chance to try it. If you make something cool AND have docker installed, you can also publish your work as single binary`hokusai-pocket publish:target=<your cool program.rb>`Would love feedback, apps, and help with documentation and more build targets.urs truly,@ ᴗ @
Enrichment
- Theme
- lightweight and on-device AI runtimes
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- run graphical interfaces as scripts
- Manually corrected
- False
Could you build this?
No Embedding MRuby into a compiled Raylib binary to expose a cross-platform GUI scripting bridge requires low-level C/C++ systems programming and language runtime integration.
What it would actually take: The architecture requires C or C++ bridging raylib graphics routines with mruby's C API, compiling natively across macOS, Linux, and Windows. The hard parts involve memory management across the C-Ruby boundary, event loop synchronization, and writing robust FFI bindings. It requires systems programming and embedded language VM expertise.
Discussion
7 comments analyzed.
Competitors mentioned: Nuklear GUI toolkit, Vue/React component technology, AppleScript
Concerns raised: Unclear documentation and domain-specific jargon, MRuby constraints vs CRuby, Lack of plain language explanation for new users
Feature requests: Standalone binary publishing for different platforms, Android builds, Networking/HTTP support
Competitors
Other products that read as similar to this one — 70 launches clear the similarity bar, closest 8 shown.
Attention rank: #23 of 71 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 156 days after the earliest competitor.
- Shikigami, run AI coding agents in parallel, each in a Git worktree · hn · 2026-07-19 · 7 upvotes · similarity 0.39
- Toad. A unified terminal UI for coding agents · hn · 2025-12-18 · 14 upvotes · similarity 0.39
- Cj–tiny no-deps JIT in C for x86-64 and ARM64 · hn · 2025-11-05 · 21 upvotes · similarity 0.38
- Shifu · hn · 2026-03-30 · 7 upvotes · similarity 0.38
- CJIT, a single-binary C compiler that can self host · hn · 2026-04-13 · 7 upvotes · similarity 0.37
- Full Python GUI apps in the browser · hn · 2026-05-07 · 29 upvotes · similarity 0.37
- Goatpad · hn · 2026-02-27 · 8 upvotes · similarity 0.37
- TinyJS · hn · 2026-09-01 · 8 upvotes · similarity 0.36
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.