Back to directory

Business Software · E-commerce Platforms

Spree Commerce

Open commerce infrastructure for B2B, marketplaces, and headless stores

Spree Commerce is a Ruby-based open-source commerce platform for DTC, B2B, wholesale, marketplace, cross-border, and omnichannel projects. Its core repository uses BSD-3-Clause, and a funded team maintains it alongside a commercial Enterprise Edition. Community Edition is free and self-hosted, while Enterprise and managed private cloud pricing is custom.

Key facts

License
BSD-3-Clause
Main language
Ruby, TypeScript, JavaScript, HTML, CSS, Liquid, Shell
Maintainer
Vendo Sp. z o.o., Vendo Connect Inc., and the Spree community
First released
2007
Latest release
v6.0.0.rc4, October 19, 2026, pre-release
GitHub stars
15,771, October 2026
Hosted option
Spree Enterprise and managed private cloud, custom pricing

What Spree Commerce is

Spree Commerce is a headless commerce platform built around a REST API, TypeScript SDKs, a React admin dashboard, and an optional Next.js storefront. Spree Commerce Inc. began the project in 2007, and the repository was created in 2008. The current maintainers include Vendo Sp. z o.o. and Vendo Connect Inc., with Damian Legawiec among the leading contributors. The GitHub repository reports 15,771 stars and lists more than 10 major contributors, including Damian Legawiec, radar, schof, Matthew Kennedy, and BDQ. Bookshop, Bonobos, GoDaddy, KFC, Blue Apron, and other brands are listed as users. The project says a funded team backs and maintains the open-source work.

How it works

Spree's workflow starts with a generated project containing the backend, dashboard, and optional storefront. Merchants model products, variants, catalogs, markets, channels, customers, and orders through the Admin API or dashboard. Storefronts consume the REST API through TypeScript SDKs, while the Next.js starter supplies product browsing, regional routing, accounts, checkout, SEO, and Stripe payments. B2B teams can configure price lists, volume tiers, customer groups, companies, locations, catalogs, and gated storefronts. Marketplace operators can onboard sellers, split orders, calculate commissions, and issue Stripe Connect payouts. Payments support Stripe, Adyen, PayPal, and custom providers. Webhooks, an event bus, OpenTelemetry, MeiliSearch, GA4, GTM, and Klaviyo connect commerce activity to surrounding systems.

Architecture and recent releases

The backend is primarily Ruby on Rails, with JavaScript and TypeScript applications for the dashboard, SDKs, CLI, and storefront. The current storefront uses Next.js 16, React 19, Tailwind CSS 4, and TypeScript. The dashboard uses Vite, React, TanStack Router, and TanStack Query. PostgreSQL is the documented deployment database, and the current single-node Docker topology does not require Redis because background jobs can run through Solid Queue in the web container. The latest published release is v6.0.0.rc4, a pre-release dated October 19, 2026, adding an Admin MCP server, agent setup, typed SDK improvements, extension installs, and fixes across money handling, migrations, and dashboard behavior. Version 5.6 also simplified deployment and removed the default Redis requirement.

License and pricing

Community Edition is free and uses BSD-3-Clause for the core repository. That permissive license allows commercial use, modification, redistribution, and proprietary extensions, subject to the license conditions. Enterprise Edition is separate commercial code and adds multi-tenant white-label commerce, approval workflows, seller synchronization, audit logging, encryption, private cloud deployment, long-term support, monitoring, and SLA-backed support. The Enterprise site lists custom pricing rather than a fixed monthly plan. A pricing article describes the annual Enterprise license as a five-figure investment, with implementation and hosting costs separate. Managed private cloud is available at additional cost. The project states that Community Edition has no platform or transaction fees.

Limitations and how it compares

Spree is a serious engineering choice, but it is not a turnkey hosted storefront. Teams must own deployment, upgrades, integrations, payment configuration, operations, and much of the merchandising design. Shopify Plus offers a more managed operating model, while Saleor and Medusa provide closer open-source headless alternatives. WooCommerce remains easier for conventional WordPress stores, but it is less aligned with API-first marketplace and multi-channel builds. Spree's breadth is useful for complex B2B and marketplace requirements, although Enterprise-only features and custom implementation work can raise the total cost. Pick Spree when code ownership, self-hosting, regional commerce, or deep workflow customization matters more than a packaged SaaS buying experience.

Main features

  • REST Commerce API. Provides Store, Admin, and Seller APIs with OpenAPI documentation, scoped keys, rate limiting, webhooks, and TypeScript SDKs.
  • Next.js Storefront. Includes an open-source storefront using Next.js 16, React 19, Tailwind CSS 4, TypeScript, regional routing, accounts, and checkout.
  • B2B Wholesale. Supports price lists, volume tiers, customer groups, companies, locations, catalogs, negotiated rates, and gated storefronts.
  • Marketplace Operations. Handles seller onboarding, order splitting, commissions, seller panels, payout ledgers, and Stripe Connect payouts for marketplace operators.
  • Multi-Channel Commerce. Sales Channels give storefronts, mobile apps, marketplaces, and point-of-sale surfaces separate catalogs, prices, payments, and order attribution.
  • Payment Providers. Ships integrations for Stripe, Adyen, and PayPal, while its Payment Provider SDK supports additional gateways.
  • Commerce Automation. Includes promotions, gift cards, store credits, fulfillment, returns, exchanges, inventory, tax integrations, and event-driven extensions.
  • Agent Tooling. Provides a CLI, local MCP servers, coding-agent skills, documentation MCP access, and upgrade commands for supported projects.

Self-hosting Spree Commerce

The documented installation path uses Node.js 24+, Docker, and npx create-spree-app@latest my-store. The generated project includes the Rails backend, React dashboard, optional Next.js storefront, Docker Compose configuration, and the Spree CLI. Production deployment can use an official Docker image, a project-built image, or any Docker-compatible host, including AWS, Azure, GCP, Render, Railway, Fly.io, and Heroku. The documented single-node topology requires PostgreSQL, with the application and background jobs in one container. Redis is optional in current releases. The documentation does not publish minimum CPU or memory requirements. Migrations run automatically at container startup, and upgrades use npx spree upgrade. Operators must preserve database volumes, encryption keys, secrets, and backups.

Strengths

  • BSD-3-Clause licensing permits commercial use and proprietary application extensions.
  • The core covers B2B, marketplace, multi-region, multi-currency, and headless commerce requirements.
  • Official Docker images support cloud, on-premises, and VPS deployment.
  • The repository includes APIs, SDKs, a dashboard, CLI, storefront, and integration extension points.

Drawbacks

  • Enterprise-only capabilities include multi-tenant SaaS, approval workflows, audit logging, and SLA support.
  • The project does not publish fixed Enterprise or private cloud pricing.
  • Teams must operate PostgreSQL, application deployment, upgrades, backups, and third-party integrations.

What teams replace with it

Teams usually evaluate Spree Commerce when they want to move off Shopify Plus, BigCommerce Enterprise, WooCommerce.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Spree Commerce

Frequently asked questions

Is Spree Commerce free?

Community Edition is free and open source. It includes the commerce backend, APIs, SDKs, dashboard, storefront components, marketplace capabilities, and B2B capabilities described in the repository. Hosting, payment processing, implementation, operations, and integrations remain the operator's responsibility. Enterprise Edition and managed private cloud are commercial offerings with custom pricing.

Can businesses use Spree Commerce commercially?

Yes. The core repository uses the BSD-3-Clause license, which permits commercial use, modification, and redistribution subject to its conditions. Businesses can build proprietary storefronts, integrations, and services around the core. Enterprise features are distributed under a separate commercial license, so teams should distinguish the open-source repository from Enterprise Edition code.

What does a self-hosted Spree installation require?

The documented quickstart requires Node.js 24+ and Docker. The generated Docker stack uses PostgreSQL, while current deployments can run background jobs in the application container through Solid Queue. Official images and Dockerfiles support Docker-compatible hosts. The documentation does not publish minimum CPU or memory requirements. Operators need durable database storage, secret management, encryption keys, upgrade procedures, and backups.

How does Spree compare with Saleor?

Both target API-first, headless commerce and support international selling through extensible backends. Spree uses Ruby on Rails with JavaScript and TypeScript applications, while Saleor is built around Python and GraphQL. Spree documents PostgreSQL, Docker deployment, REST APIs, TypeScript SDKs, and a Next.js storefront. The closer fit depends on team language preferences, API design, existing integrations, and required commerce workflows.

Can Spree Commerce support private data and security requirements?

Community Edition can run on a cloud provider, on-premises, or European infrastructure, giving operators control over hosting and data residency. The project documents encryption at rest and in transit, OpenID Connect, role-based access control, and PCI-oriented payment architecture. Enterprise adds SAML or OIDC SSO, audit logging, full data encryption, private cloud options, and support for compliance-oriented deployments.

Similar projects to compare

Sources

Last updated 2026-10-22.