Skip to content
railsengines.com

Spectator Sport

Record and replay browser sessions in a self-hosted Rails Engine

No ratings yet
Gem
spectator_sport
Repository
bensheldon/spectator_sport
License
MIT
Stars
195
Added
August 20, 2026

About

Record and replay browser sessions in a self-hosted Rails Engine.

Spectator Sport uses the rrweb library to create recordings of your website's DOM as your users interact with it. These recordings are stored in your database for replay by developers and administrators to analyze user behavior, reproduce bugs, and make building for the web more fun.

What you get

  • ✅ Proof of concept and technical demo
  • ✅ Running in production on Ben Sheldon's personal business websites
  • ✅ Publish manifesto of principles and intent
  • ◻️ Reliable and efficient event stream transport
  • ✅ Player dashboard design using Bootstrap and Turbo (#20)
  • ◻️ Automatic cleanup of old recordings to minimize database space
  • ◻️ Identity methods for linking application users to recordings

Mounting it

ruby
# Gemfile
gem "spectator_sport"

# config/routes.rb
mount SpectatorSport::Engine, at: "/spectator_sport, as: :spectator_sport"

Details

195 stars on GitHub · MIT licensed · maintained by bensheldon. Source: https://github.com/bensheldon/spectator_sport

Discussion (0)

Sign in to join the discussion.

No comments yet.