Moneygun

The Rails 8 SaaS boilerplate for multi-tenant applications.

Ruby on Rails
CI
License
GitHub Stars

Moneygun features

Why Moneygun?

Skip weeks of boilerplate. Ship your B2B SaaS faster with production-ready:

  • Multi-tenant architecture - Route-based organization management
  • Team management - Invitations, roles, member administration
  • Stripe subscriptions - Optional payments via Pay gem, ready to monetize when configured
  • Authentication - Devise + OAuth (Google, GitHub)
  • Authorization - Pundit policies per organization
  • Modern UI - Tailwind CSS, daisyUI, dark mode

Teams should be an MVP feature. Learn why

Quick Start

git clone git@github.com:yshmarov/moneygun.git my-saas
cd my-saas
bin/setup
bin/dev

Local Development Notes

  • Database Configuration: The config/database.yml has been updated to connect to the PostgreSQL instance running via Docker (my-postgres-db). The default block specifies host: localhost, port: 5432, and the postgres user credentials.
  • Stripe: Stripe support is included through Pay, but the local Stripe webhook listener is not started by Procfile.dev by default. Run it separately when configuring payments so bin/dev does not crash if the Stripe CLI is not installed or logged in.

Deploy

Deploy to production with Kamal. See the Deployment Guide for details.

Documentation

Guide Description
Getting Started Installation and setup
Architecture Multi-tenancy, models, patterns
Stripe Integration Optional payments and subscriptions
Development Testing, linting, conventions
Deployment Production deployment guides
Linting Code quality tools

Video Tutorials

Route-based multitenancy
Route-based Multitenancy
Build your B2B SaaS
Build Your B2B SaaS

How Does Moneygun Compare?

Moneygun is a lightweight starting point. Bullet Train and Jumpstart Pro are more full-featured frameworks with ongoing support.

Feature Moneygun Bullet Train Jumpstart Pro
Price Free Free $249-749/yr
License MIT MIT Commercial
Multi-tenancy Route-based Team-based Multiple strategies
Authentication Devise + OAuth Devise + OAuth Devise + OAuth
Two-factor auth - Yes Yes
Authorization Pundit CanCanCan Pundit
Payments Optional Stripe (Pay gem) Stripe (Pay gem) Stripe, Paddle, Lemon Squeezy, Braintree (Pay gem)
Teams & Invitations Yes Yes Yes
Admin panel Avo Avo Madmin
REST API - Yes (OpenAPI 3.1) Yes
Outgoing webhooks - Yes -
Code generation Custom scaffold Super Scaffolding Rails scaffold
Mobile apps (iOS/Android) Coming soon - Hotwire Native ($199-599/yr)
Notifications Noticed ActionMailer + ActionCable Noticed
Audit logs - Yes -
User impersonation Yes (Masquerade) - Yes (Pretender)
Feature flags Flipper - -
I18n Partial (EN, FR) Yes Yes
UI framework Tailwind + daisyUI Tailwind (custom theme) Tailwind + daisyUI
Background jobs GoodJob Sidekiq SolidQueue / Sidekiq
Official support Community Yes Yes

Choose Moneygun if you want a free, simple foundation you fully own and understand — no framework abstractions, no subscription, just plain Rails you can read top to bottom.

Choose Bullet Train if you need a production-grade framework with advanced features, code generation, official support, and a team behind it.

Contributors



License

MIT License - see LICENCE

Acknowledgments

Inspired by Bullet Train and Jumpstart Pro.