Skip to content
railsengines.com

Rails Realtime ERD

Live Mermaid ERD viewer for any Rails app, mounted as a real-time route, powered by Hotwire

No ratings yet
Gem
rails-realtime-erd
Repository
jacksonpires/rails-realtime-erd
License
MIT
Stars
29
Added
August 12, 2026

About

Live Mermaid ERD viewer for any Rails app, mounted as a real-time route, powered by Hotwire.

What you get

  • Mounts /rails/erd automatically in development and test environments
  • On-the-fly introspection: no pre-generated HTML to keep in sync with schema.rb
  • Mermaid ERD rendered client-side, with filters / options / zoom / pan
  • Copy Mermaid code, Copy Markdown, Copy shareable URL (state in location.hash)
  • Download SVG / PNG of the rendered diagram
  • Sidebar filter to scope the diagram to a subset of models
  • Works with any host asset pipeline (Sprockets, Propshaft, importmap, or none) — all CSS/JS is inlined by the engine layout

Mounting it

ruby
# Gemfile
gem "rails-realtime-erd"

# config/routes.rb
mount RailsRealtimeErd::Engine, at: "/rails-realtime-erd"

Details

29 stars on GitHub · MIT licensed · maintained by jacksonpires. Source: https://github.com/jacksonpires/rails-realtime-erd

Discussion (0)

Sign in to join the discussion.

No comments yet.