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!

Coldwire: offline support for Rails, Hotwire, and Hotwire Native

https://github.com/noreastergroup/coldwire-rails

We build Rails apps and needed one to work with no network - our client’s users are out on islands off the Maine coast with no cell service. Hotwire doesn’t ship with anything for this, and a naive service worker breaks once Turbo is handling navigation. So we built a service worker plus precache manifest, a fallback page Turbo will actually render, and a settings screen where users can force a sync before heading out and inspect what’s cached. It’s been in production for a while, so we extracted it into a gem.

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