saas-starter

moneygun

SHIP YOUR NEXT APP FAST! Rails 8 SaaS Multitenancy boilerplate. Users-Memberships-Organizations. Row-based. Set tenant based on URL params.
252 stars35 forksRubyUpdated 10/19/2026100% free · open source
What it does

Moneygun is a ready‑to‑run Rails 8 boilerplate that gives you SaaS‑style multitenancy (users, memberships, organizations) with row‑level scoping based on URL parameters.

When to use it
  • •You need to launch a new B2B SaaS product and want a full Rails app with multitenancy already wired.
  • •You want to avoid building the user‑organization‑membership data model and tenant switching logic from scratch.
  • •You prefer a row‑based (single‑database) multitenancy approach that works out‑of‑the‑box with sub‑paths like `/myco/dashboard`.
Ready-to-paste prompt
Open a new tenant in your browser: `open http://localhost:3000/acme/dashboard` (replace `acme` with the slug of an existing Organization record). This URL triggers Moneygun’s `set_current_tenant` callback and scopes all queries to the `acme` row‑level tenant.
Heads up: Moneygun expects the tenant slug to be passed as the first segment of the path; if you run the app behind a proxy or use a different routing base, you must keep the `config/initializers/multitenancy.rb` logic in sync or the app will fall back to the default (public) tenant.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/moneygun && curl -fsSL https://workflowstacks.com/api/skills/moneygun/claude-skill -o ~/.claude/skills/moneygun/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How moneygun works
Codeflow
Free to inspect

Moneygun is a medium Ruby project (~13k lines across 300 code files, plus 105 test files). Setup is light: runs with Docker — add your API keys to .env. Last commit this month, MIT license, has a test suite.

Size
Medium codebase
~13k lines · 300 code files · ~2 h to skim
Setup
Light setup
Runs with Docker — add your API keys to .env.
Runs on
Ruby · Docker
Needs API keys (.env)
Ruby 43%JavaScript 34%HTML 16%CSS 4%Shell 2%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    CLAUDE.md
    The instructions the AI actually follows
  3. 3
    bin/jobs
    Where the program starts running
  4. 4
    .env.example
    The API keys and settings you must provide
  5. 5
    app/javascript/controllers/index.js
    Inside app/ — the main logic begins here
What's in each folder
app/Core code — the actual logic412 files
lib/Core code — the actual logic24 files
bin/Command-line entry points20 files
docs/Documentation14 files
config/Configuration56 files
db/Folder15 files
website/Project website14 files
tmp/Folder3 files
READMEHas testsDocumentedCI checksDocker readyMIT licenseUpdated this month
Quick Actions
Details
Creator
yshmarov
Language
Ruby
Category
saas-starter
Published
8/5/2024

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/moneygun.svg)](https://workflowstacks.com/skills/moneygun?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Related skills

More saas-starter tools founders pair with this one.