Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

How to Build a Desktop App with Rails 8 and Electron

DEV Community·Zil Norvilis·about 1 month ago
#3ijytW2L
Reading 0:00
15s threshold

From Web to Desktop: Wrapping a Rails Hotwire App in Electron Very often I find myself building a successful web application, and inevitably, a user asks the golden question: "Do you have a desktop app for Mac or Windows?" As a solo developer, hearing this used to give me anxiety. I am a Ruby developer. I don't have the time to learn Swift for macOS, C# for Windows, or rewrite my entire frontend in React just to use a desktop framework. But in 2026, you don't have to. You can take your existing Rails app, wrap it in Electron , and ship it as a native desktop application. The secret reason this works so well today is Hotwire . Because Turbo intercepts link clicks and updates the page without doing a full browser reload, your web app inside Electron doesn't have that ugly "white flash" between pages. It actually feels like a native desktop app. Here is how to wrap your Rails app into an Electron desktop app in 4 easy steps.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More