7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

Spree Commerce

Open source

An open-source Ruby commerce platform for marketplaces, B2B and headless stores, shipping a REST API, TypeScript SDKs, an admin dashboard and a storefront.

spreecommerce.org
Spree Commerce homepage screenshot
GitHub stars
16k
Last commit
today
Repository age
18 years
Version
v5.6.1
Licence
BSD-3-Clause
Self-hosted
Yes

About Spree Commerce

Spree is an open-source commerce platform written in Ruby. It bundles a full REST API, TypeScript SDKs, an admin dashboard written in React and a Next.js storefront ready for production, and the BSD 3-Clause license means you keep ownership of your code, data and infrastructure. The project's pitch is self-hosting with no platform fees and no vendor lock-in.

It is designed as a set of commerce primitives that adapt to different business models. For multi-vendor marketplaces it offers seller onboarding with configurable checklists, orders split by seller, commission rules, a payout ledger that uses Stripe Connect, and a dedicated seller panel. For B2B and wholesale it covers tiered volume pricing in price lists, customer groups, company accounts that have several locations, contacts, tax exemptions, and separate catalogs per segment. It also supports headless direct-to-consumer, cross-border and omnichannel selling alongside existing ERP, PIM and payment systems.

Spree has been developed since 2008, with documentation, an API reference, a roadmap and a Discord community. It suits engineering teams that want an owned, customizable commerce backend rather than a hosted store builder.

Key features

  • Complete REST API and TypeScript SDKs
  • React admin dashboard
  • Production-ready Next.js storefront
  • Multi-vendor marketplace tools with payouts
  • B2B price lists and customer groups
  • Headless and omnichannel selling

Good fit for

  • →Multi-vendor marketplaces
  • →B2B and wholesale ordering
  • →Headless direct-to-consumer stores
Built with
Ruby
Tags
ecommerce
ruby
headless-commerce
marketplace
b2b
nextjs
rest-api
multi-vendor
self-hosted

Spree Commerce: questions and answers

What is Spree Commerce used for?
Spree Commerce is an open-source Ruby commerce platform for marketplaces, B2B and headless stores, shipping a REST API, TypeScript SDKs, an admin dashboard and a storefront. It is a good fit for multi-vendor marketplaces, B2B and wholesale ordering, and headless direct-to-consumer stores.
Is Spree Commerce open source?
Yes. Spree Commerce is open source under the BSD-3-Clause licence. Its source code is on GitHub at spree/spree and is written mainly in Ruby.
Is Spree Commerce free?
Yes. Spree Commerce is open source, so the software itself is free to use.
Can I self-host Spree Commerce?
Yes. Spree Commerce can be self-hosted on your own server or infrastructure.
What is Spree Commerce an alternative to?
Spree Commerce is an open-source alternative to BigCommerce, commercetools, Salesforce Commerce Cloud and Shopify. Other open-source alternatives to BigCommerce include Medusa, Saleor and Aimeos.
Is Spree Commerce actively maintained?
Yes. The most recent commit to Spree Commerce was on 2 October 2026, and the latest release is v5.6.1, published on 28 July 2026. The project has 16k stars on GitHub.

Open-source alternatives to Spree Commerce

See all

SaaS alternatives to Spree Commerce

See all