frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Hokusai Pocket (WIP) – Portable GUIs with MRuby

https://codeberg.org/skinnyjames/hokusai-pocket
2•zero-st4rs•2h ago
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://hokusai.skinnyjames.net/

Since then I've worked on Hokusai Native (https://github.com/skinnyjames/hokusai-native-builder/), 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://discord.gg/SexXSEw8Hh

       _    (^)
      (_\   |_|
       \_\  |_|
       _\_\,/_|
      (`\(_|`\|
     (`\,)  \ \
      \,)   | | 
        \__(__|

The only Permanent Underclass are the ones who believe it is permanent

https://www.swyx.io/permanent-underclass
1•swyx•5m ago•0 comments

Landscapes may soon be 'devoid of wild animals': nature photographer

https://www.theguardian.com/environment/2025/oct/18/worlds-landscapes-may-soon-be-devoid-of-wild-...
1•marshfram•9m ago•0 comments

Example skills that demonstrate what's possible with Claude's skills system

https://github.com/anthropics/skills
2•jinqueeny•15m ago•0 comments

When it comes to MCPs, everything we know about API design is wrong

https://blog.fsck.com/2025/10/19/mcps-are-not-like-other-apis/
2•todsacerdoti•20m ago•0 comments

Entire Linux Network stack diagram (2024)

https://zenodo.org/records/14179366
2•hhutw•23m ago•0 comments

What Debts Make Decay?

https://www.overcomingbias.com/p/what-debts-make-decay
1•paulpauper•25m ago•0 comments

American Diary

https://www.edwest.co.uk/p/american-diary
1•paulpauper•25m ago•0 comments

Louvre closes after thieves steal 'priceless' jewels in daytime heist

https://www.lemonde.fr/en/france/article/2025/10/19/louvre-closed-for-the-day-after-a-robbery-acc...
1•divbzero•25m ago•1 comments

You Are Not Your Values

https://www.overcomingbias.com/p/you-are-not-your-values
1•paulpauper•26m ago•0 comments

Research results are cultural artifacts, not public goods

https://lemire.me/blog/2025/10/17/research-results-are-cultural-artifacts-not-public-goods/
1•ibobev•26m ago•1 comments

Gymnasium: An API standard for reinforcement learning

https://gymnasium.farama.org/index.html
1•pykello•27m ago•0 comments

Ode to Fisher's Transform

https://www.johndcook.com/blog/2025/10/18/fishers-transform/
1•ibobev•27m ago•0 comments

Revealing the mechanisms of non-thermal plasma-enabled iron oxide reduction

https://www.nature.com/articles/s41467-025-62639-4
1•akshatjiwan•30m ago•0 comments

The Circular Electron Positron Collider (CEPC) Technical Design Report

https://arxiv.org/abs/2510.05260
1•P_qRs•30m ago•0 comments

The Fall of the Crypto-Oligarchs

https://unherd.com/2025/10/the-fall-of-the-crypto-oligarchs/
1•binning•36m ago•0 comments

Meltdown Version Pi

https://github.com/Merkoba/Meltdown/tags
1•Toby1VC•37m ago•1 comments

Stapler knows when you need it

https://hcii.cmu.edu/news/stapler-knows-when-you-need-it
2•rammy1234•39m ago•0 comments

Understanding Relationships

https://www.jerry.wtf/posts/understanding-relationships/
1•personjerry•40m ago•0 comments

Torsion Field (Pseudoscience)

https://en.wikipedia.org/wiki/Torsion_field_(pseudoscience)
1•peter_d_sherman•40m ago•1 comments

The Privacy Theater of Hashed PII

https://matthodges.com/posts/2025-10-19-privacy-theater-pii-phone-numbers/
2•jeromechoo•49m ago•0 comments

China Can't Win

https://www.campbellramble.ai/p/china-cant-win
10•imastrategist•53m ago•10 comments

Functional freedom and Penrose's critiques of string theory

https://arxiv.org/abs/2509.21515
1•ibobev•55m ago•0 comments

Introduction to reverse-engineering vintage synth firmware

https://ajxs.me/blog/Introduction_to_Reverse-Engineering_Vintage_Synth_Firmware.html
9•jmillikin•1h ago•0 comments

Prester John

https://en.wikipedia.org/wiki/Prester_John
2•nice_byte•1h ago•0 comments

Show HN: Font Generator with Real-Time Font Comparison

https://fontgenerator.cc/compare-fonts
2•coolwebtoolsguy•1h ago•0 comments

Building a TMS 9900 Homebrew

https://retrocomputingforum.com/t/building-a-tms-9900-homebrew/2425
1•SoftTalker•1h ago•0 comments

Making Time Safer in Go

https://www.matthewhalpern.com/posts/golang-type-safe-timezones/
2•whockey•1h ago•0 comments

Introduction to OCaml Extension Points

https://citizen428.net/blog/introduction-ocaml-extension-points/
2•gsky•1h ago•0 comments

Building Systems with a Stroke of a Pen

https://alyx.substack.com/p/building-systems-with-a-stroke-of
2•larakerns•1h ago•0 comments

Some sales teams are killing their company

1•Lopsii•1h ago•0 comments