RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to Build a Desktop App with Rails 8 and Electron

From Web to Desktop: Wrapping a Rails Hotwire App in Electron Very often I find myself…

https://norvilis.com/how-to-build-a-desktop-app-with-rails-8-and-electron

Comments

Have you not been to the last 3 RubyConfs (2022/2023/2024)? Ruby has had desktop library solutions for years now. Your post sounded uninformed. Electron is a lot more complicated than just building a desktop app using a Ruby library like Glimmer DSL for LibUI (or Glimmer DSL for SWT if a more advanced desktop app is needed), unless you need an extremely custom UI (an anti-pattern in most desktop apps except a few exceptions). I am surprised you aren’t aware of the 7 Glimmer desktop gems in Ruby or many other technologies. Glimmer DSL for SWT lets you wrap your app as a Mac or Windows executable. I built a project management app for my sister in Ruby that way: https://github.com/AndyObtiva/are-we-there-yet

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in