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
- SaleorBSD-3-ClauseSaleor is an open-source, headless commerce API for teams building custom storefronts and multi-channel retail systems. It uses the BSD-3-Clause license, supports commercial use, and has a hosted Saleor Cloud service with a free non-commercial Sandbox, a $3,999 monthly Volume plan, and negotiated Enterprise pricing.
- MedusaMIT core; Enterprise Edition requires commercial agreementMedusa is a headless commerce platform and customizable framework for developer-built DTC, B2B, marketplace, distributor, point-of-sale, and service commerce applications. Its core is MIT licensed, while Enterprise Edition offerings require a commercial agreement. Medusa Cloud hosts the backend, admin, and storefront from $29 per month, with Launch and Scale plans at $99 and $299.
- VendureGPL-3.0 WITH plugin exception; paid plans include a commercial licenseVendure is an open-source headless commerce framework for engineering teams building B2B, D2C, marketplace and omnichannel stores. Its core is free under GPLv3 with a plugin exception, while paid plans add commercial licensing, B2B capabilities and support. Self-hosting is supported, and Vendure Cloud is planned as a managed option.
- WooCommerceGPL-2.0WooCommerce is a free, GPL-licensed ecommerce platform built as a WordPress plugin for merchants and developers. It supports products, checkout, orders, payments, shipping, tax, APIs, and extensions. There is no mandatory hosted platform subscription, but merchants can choose managed hosting and pay for infrastructure, payment processing, themes, extensions, development, backups, and support. Its flexibility suits WordPress-centered businesses, while self-hosted operation requires attention to updates, security, performance, and compatibility.
- AlokaiBSD-3-Clause for several middleware and SDK repositories; MIT for Storefront UIAlokai is a composable commerce frontend platform for enterprise teams building Vue or React storefronts across multiple commerce backends. It combines open-source middleware, SDKs, and Storefront UI with a commercial platform. Several repositories use BSD-3-Clause, Storefront UI uses MIT, and hosted Alokai Cloud is included in custom-priced enterprise packages.
- BagistoMITBagisto is a Laravel and Vue commerce application for stores, marketplaces, B2B sites, and headless front ends. Its core uses the MIT License and is free to run, while Webkul sells extensions, services, and managed hosting. A managed Bagisto Cloud Hosting option exists, but its price is not publicly listed.