talira

Bullet Train

The open source Ruby on Rails SaaS framework

open sourceMITself-hostablefree

Bullet Train is an MIT-licensed Ruby on Rails framework and starter repo that gives a new SaaS app the features every product needs, so you can focus on what makes yours different. It includes Devise authentication, teams and invitations, CanCanCan permissions with a roles layer, a Tailwind CSS theme with dark mode and a partial-based theme engine, rich form fields, onboarding, a versioned REST API that generates OpenAPI 3.1 schemas, outgoing webhooks with an in-app debugging UI, I18n for every string, OAuth sign-up and integrations, and a full system test suite. Super Scaffolding generates production-ready views, controllers and API endpoints and can add fields to existing scaffolds. Features once sold as Pro are now open source too: subscriptions and billing with plan limits, action models for bulk, long-running and scheduled actions, real-time conversations and user-facing audit logs. The framework ships as Ruby gems, so you upgrade with bundle update and override any part per app with bin/resolve. Bullet Train, Inc. has developed it since 2017.

Problems it solves

  • start a new SaaS app in Rails without building auth, teams and billing again
  • a Rails SaaS starter kit with teams, invitations and roles
  • scaffold Rails CRUD views, controllers and API endpoints quickly
  • add subscriptions and billing with plan limits to a Rails app
  • an open source alternative to paid Rails SaaS templates

Features

  • Super Scaffolding for views, controllers and API endpoints
  • Devise authentication
  • teams and invitations
  • CanCanCan permissions and roles
  • Tailwind CSS theme with dark mode and a theme engine
  • rich form fields
  • REST API with OpenAPI 3.1 schemas
  • outgoing webhooks with in-app debugging
  • I18n-ready strings
  • OAuth sign-up and integrations
View 5 more
  • subscriptions and billing with plan limits
  • action models for bulk, long-running and scheduled actions
  • real-time conversations and audit logs
  • system tests with Magic Test and CircleCI config
  • one-click Heroku deploy