Open-source alternatives to Shopify

9 free, open-source alternatives with 127.4K total GitHub stars.

Medusa

Medusa

Headless open-source commerce platform — modular, API-first, built for developers.

MIT-licensed alternative to Shopify. TypeScript commerce modules for products, carts, orders, and fulfillment — self-host or use Medusa Cloud with any storefront.

nextjsheadless-commerce
34.1K4.6KMIT
vs Shopify
Bagisto

Bagisto

Open-source Laravel eCommerce — marketplace, B2B, headless, and multi-store ready.

MIT-licensed alternative to Shopify and Magento. Multi-vendor, multi-currency, Vue.js admin, headless API, and Flutter mobile — self-hosted on Laravel.

saaslaravelheadless-commerce
26.9K3.1KMIT
vs Shopify
Saleor

Saleor

GraphQL-first headless commerce API — composable, multichannel, built in Python.

BSD-3-Clause alternative to Shopify. High-performance Django backend with PIM, OMS, and Next.js storefront — self-host via saleor-platform or Saleor Cloud.

headless-commercegraphql
22.9K6KBSD-3-Clause
vs Shopify
Alokai

Alokai

Composable commerce frontend — Nuxt/Next storefronts connected to any backend API.

MIT-licensed Frontend-as-a-Service (formerly Vue Storefront). Unified Data Layer, Storefront UI, and middleware for Magento, Shopify, Shopware, and more.

saasheadless-commercevuejs
10.9K2.1KMIT
vs Shopify
WooCommerce

WooCommerce

Open-source WordPress ecommerce — millions of stores, endless extensions.

GPL-2.0 alternative to Shopify. Products, checkout, payments, and REST API on WordPress — self-host anywhere with the world's largest plugin ecosystem.

saaswordpress
10.3K10.7KGPL-2.0
vs Shopify
Vendure

Vendure

Plugin-first headless commerce in TypeScript — NestJS, GraphQL, enterprise-ready.

GPL-3.0 alternative to Shopify. Catalog, orders, promotions, and multi-channel APIs with extensible plugins — self-host or Vendure Cloud.

headless-commercenestJSgraphql
8.2K1.4KGPL-3.0
vs Shopify
Your Next Store

Your Next Store

AI-native Next.js storefront — Stripe-powered, no database required.

MIT-licensed commerce template with typed Commerce Kit SDK. Next.js 16, Shadcn UI, and AGENTS.md for Claude/Cursor — deploy to Vercel or self-host in minutes.

nextjsstripe
5.4K660MIT
vs Shopify
Solidus

Solidus

Flexible Ruby on Rails e-commerce — full control, zero licensing fees.

BSD-3-Clause fork of Spree for stability and customization. Modular gems (core, backend, API), custom storefronts, and Stripe/PayPal/Braintree integrations.

saasrails
5.3K1.4KBSD-3-Clause
vs Shopify
Shopware

Shopware

Open headless commerce — Symfony, Vue.js, and 3,100+ extensions.

MIT-licensed alternative to Magento. API-first experience commerce with CMS, rule builder, and a worldwide extension ecosystem — self-host or Shopware Cloud.

headless-commercevuejssymfony
3.4K1.2KMIT
vs Magento