Caffeinate WebUI

Provides a simple UI to view and manage some aspects of Caffeinate.

Caffeinate logo
Caffeinate WebUI Example

Installation

Add this line to your application's Gemfile:

gem 'caffeinate_webui'

And then execute:

$ bundle install

Drop it into your routes:

mount Caffeinate::Webui => '/admin/caffeinate' 

Protect it

If you're using Devise, you can simply:

authenticate :user, ->(user) { user.admin? } do
  mount Caffeinate::Webui => '/admin/caffeinate'
end

Otherwise, protect it with your preferred rack-based strategy.

Features

  • Some lightweight dashboard stuff
  • View campaigns and their steps
  • View subscriptions
  • Unsubscribe a subscription
  • View mailings

Dependencies

Doesn't need Sprockets, so I guess that's nice.