Sunday, October 19, 2025
Show HN: Hokusai Pocket (WIP) – Portable GUIs with MRuby https://ift.tt/wngf1kv
Show HN: Hokusai Pocket (WIP) – Portable GUIs with MRuby Whassup?, A couple years ago, I started a project for easily authoring GUIs with Ruby. The project is named Hokusai. It features the ability to compose reactive UI components with events and props, and uses a unique-ish template language. More information on Hokusai can be found here: https://ift.tt/EhUzQC2 Since then I've worked on Hokusai Native ( https://ift.tt/QLctvzK ), which compiles a GraalVM native image / TruffleRuby version of Hokusai that can run / interpret these lil' gui apps. It's quite bloated though, as it has to ship all of truffle ruby + native image and supporting libs. Recently, I applied for a grant to develop a more portable version of this library using MRuby, and got pretty far while waiting for the results. It is named Hokusai Pocket and I consider it to be the final form/approach of this project. I wrote a builder in crystal-lang that embeds the entire Hokusai ruby code as MRuby bytecode, as well as the supporting C code. It can scaffold new projects by building tree-sitter/mruby/raylib, and outputs a binary from a source ruby file. It produce pretty small binaries (~3mb for MacOS) and uses raylib as the rendering engine. For an gif and example of a Hokusai Pocket demo please direct your mouse clicks to this gist: https://gist.github.com/skinnyjames/b510185c6bd83fd4e1a41324... I'd love to hear how this project plays for people. Still working on building for different targets, but android and web should be possible. The project is still undergoing active development, but any help is appreciated. The license is MIT. There also is a discord channel if you want to get help / chat / collaborate: https://ift.tt/Q2W54an _ (^) (_\ |_| \_\ |_| _\_\,/_| (`\(_|`\| (`\,) \ \ \,) | | \__(__| https://ift.tt/9UZBtPC October 20, 2025 at 07:00AM
Subscribe to:
Post Comments (Atom)
Show HN: Littlebird – Screenreading is the missing link in AI https://ift.tt/3Q79Kr5
Show HN: Littlebird – Screenreading is the missing link in AI https://littlebird.ai/ March 23, 2026 at 11:09PM
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
-
Show HN: HCB Mobile – financial app built by 17 y/o, processing $6M/month Hey everyone! I just built a mobile app using Expo (React Native) ...
No comments:
Post a Comment