Skip to content

Spree Commerce

Headless Ruby commerce platform with REST API for B2B, marketplace and DTC stores

Permissive (OSI) · BSD-3-Clause
  • Self-hosted

Listed by , founder & editor

81

Health

Thriving

Overview

Stars

15,848

Last commit

today

Nov 2026

Repository age

18 years

since Mar 2008

Latest version

v6.0.6

Nov 2026

Contributors

–

7 active in 90 days

Releases

17

last 12 months

Language

Ruby

Spree is a headless commerce platform written in Ruby and licensed under BSD-3-Clause. It has been developed since 2008. It provides REST APIs, TypeScript SDKs, an MCP server, a React admin dashboard and a Next.js storefront built with React 19 and Tailwind CSS 4.

The same core supports several business models. Multi-vendor marketplaces get seller onboarding, per-seller order splitting, a commission engine and Stripe Connect payouts. B2B sellers get price lists with volume tiers, customer groups and companies. Markets bundle currency, language, payment methods and shipping per region for cross-border selling. Multi-tenant SaaS setups need the Enterprise Edition.

The backend runs as a Docker image configured with environment variables. The create-spree-app tool sets up the backend, admin and optional storefront in a monorepo, and needs Node.js 24+, Git and Docker. Spree is an alternative to Shopify for teams that want to own their code, data and infrastructure.

Who it's for

Developers building custom storefronts

A REST API, TypeScript SDK and forkable Next.js storefront give you full control of the front end.

Skip if: You want a hosted store with a ready checkout and no coding.

Teams launching a multi-vendor marketplace

Seller onboarding, commissions and Stripe Connect payouts are in the open-source core.

Skip if: You only sell your own products and need a simple shop.

B2B and wholesale sellers

Price lists, customer groups and storefronts gated to approved buyers are built in.

Skip if: You rely on a large theme and app marketplace.

The problem it solves

Hosted store builders limit how you shape checkout, catalogs and data, and charge platform fees. Spree gives you a headless backend you host and customize yourself.

Strengths

  • BSD-3-Clause license with full code and data ownership
  • Marketplace features in the open-source core: commissions, payouts, seller panel
  • B2B tools: price lists with volume tiers, companies, customer groups
  • Markets handle currency, language and shipping per region
  • 17 releases in the last year and active development since 2008

Trade-offs

  • No hosted checkout comparable to Shop Pay
  • Smaller app and theme ecosystem than Shopify
  • Multi-tenant SaaS needs the Enterprise Edition
  • Setup requires Node.js 24+, Git and Docker

Self-host Spree Commerce

Self-hostable
Yes

Quick start

npx create-spree-app@latest my-store

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Spree free?

The core is open source under BSD-3-Clause. Multi-tenant SaaS features require the Enterprise Edition.

Can I self-host it?

Yes. The backend runs as a Docker image configured through environment variables.

Is there a way to try it first?

Yes. A free hosted sandbox with the admin dashboard and APIs is available.

What does the storefront use?

The Next.js storefront uses Next.js 16, React 19, Tailwind CSS 4 and TypeScript.

Similar tools in E-commerce platforms

Vendure

E-commerce platforms

Headless TypeScript commerce backend with GraphQL APIs for complex B2B stores

8.6k 1.6k today Thriving MIT

Sylius

E-commerce platforms

Symfony-based headless e-commerce framework for developers building custom online shops

8.6k 2.2k today Thriving MIT

WooCommerce

E-commerce platforms

WordPress ecommerce plugin for merchants who want to own their online store

11k 11k today Thriving GPL-2.0

Bagisto

E-commerce platforms

Laravel-based ecommerce platform for stores, B2B shops and multi-vendor marketplaces

28k 3.4k 6 days ago Thriving MIT

Replaces Shopify

Solidus

E-commerce platforms

Ruby on Rails e-commerce framework for developers building custom online stores

5.3k 1.4k today Thriving BSD-3-Clause

Saleor

E-commerce platforms

Headless, GraphQL-only commerce backend for developers building custom storefronts

24k 6.2k 4 days ago Thriving BSD-3-Clause