2 comments

  • alienbaby2 hours ago
    I see aot if these kinda of links to GitHub repositories with the user obviously keen on showing people, but they then describe what it is &#x2F; does using specialist &#x2F; domain language which can make it quite hard to get just what it is I&#x27;m looking at, or what I can do with it, and where &#x2F; why it would be useful. I do wish people would consider their audience after posting &#x27;look at this thing&#x27; links, and that people might not quite be as familiar with acronyms and domain specific terminology without a bit more of a plain speaking background description as to what is being shown off! Maybe even some screenshots too.<p>I mean, I can follow ops intent to a general degree, it sounds interesting, but ..
    • zero-st4rs35 minutes ago
      &gt; I mean, I can follow ops intent to a general degree, it sounds interesting, but ..<p>Thanks for trying to meet me halfway. I hope I can bridge the gap.<p>The repository is the codebase for a GUI toolkit. It runs ruby scripts that make use of a custom templating language (like html), and a super class that provides similar component technology you&#x27;d likely find in vue or react. (Hokusai::Block).<p>When the ruby script is run from the binary built from the codebase (hokusai-pocket), it spawns a window with your application. There are releases for x86 linux, windows, and osx - and also arm64 linux. You just write your application, and run it with `hokusai-pocket run:target=app.rb`<p>The hokusai-pocket binary also include a command for publishing your application as a standalone binary for different platforms, but I&#x27;m currently working on that.<p>So all in all, it is a gui toolkit + runner that you can download for x86 linux, windows, and osx to dynamically run desktop applications.<p>I mentioned cutting its teeth on a photoshop clone. Here&#x27;s a screenshot: <a href="https:&#x2F;&#x2F;file.skinnyjames.net&#x2F;demo.gif" rel="nofollow">https:&#x2F;&#x2F;file.skinnyjames.net&#x2F;demo.gif</a>
  • apitman3 hours ago
    This is potentially very interesting to me, but I&#x27;m having a hard time under exactly what it is. Could you give a little background on what motivated it, and what the core features are?
    • zero-st4rs25 minutes ago
      Thanks for the question!<p>The motivation came from building desktop applications and working with awesome but cumbersome GUI toolkits like Nuklear.<p>I built a graphics backend-agnostic GUI library in CRuby called Hokusai, but Hokusai uses FFI, isn&#x27;t portable, and is hard to distribute. (Need a Ruby interpreter on the target)<p>I ported the library to MRuby, developed some build tools, and now have a portable binary for different platforms that can run a dynamic desktop application&#x2F;game that is written in Ruby.<p>You can try it yourself by downloading the latest release and running an app like: <a href="https:&#x2F;&#x2F;github.com&#x2F;skinnyjames&#x2F;hokusai_demo_paint" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skinnyjames&#x2F;hokusai_demo_paint</a><p>If you notice the paint repository, there is nothing to build, just ruby scripts and assets.<p>The tool also has commands to build your application for different platforms as standalone binary, but I&#x27;m currently working in that space for other reasons.<p>There are of course constraints to using MRuby vs CRuby, but I hope I speak to how this library addresses those.
    • ux2664782 hours ago
      It seems like a crossplatform GUI toolkit built atop of Raylib, where the primary languages you&#x27;re working in are Ruby and CSS.
      • zero-st4rs19 minutes ago
        Yeah! That&#x27;s pretty accurate, although it&#x27;s not quite css&#x2F;html.<p>It also integrates some helpful libraries, like libuv for cpu intensive tasks and I&#x27;m currently working on adding networking&#x2F;HTTP and builds for android (it already runs on a pinephone).<p>The thing I think that is cool is that you don&#x27;t need to compile your apps, you can just run them with the binary.
    • xattt1 hour ago
      I’d also like to see some discussion why this is not Apple Script.