Skip to content

shopnex

Self-hosted storefront platform for developers and agencies running many shops

Permissive (OSI) · MIT

Listed by , founder & editor

74

Health

Active

Overview

Stars

374

Last commit

3 days ago

Nov 2026

Repository age

1 year

since Mar 2025

Latest version

v0.16.0

Nov 2026

Contributors

–

3 active in 90 days

Releases

13

last 12 months

Language

TypeScript

ShopNex is a self-hosted e-commerce platform written in TypeScript and released under the MIT license. The admin runs in the browser and covers products, collections, orders, discounts, shipping, taxes and staff. Checkout is hosted and handles shipping rates, payment methods and discount codes.

The storefront is a bundled Astro app with Liquid themes. If you prefer your own front end, you can build against the typed REST Storefront API. Extensions go through scoped API tokens, signed webhooks and embedded apps, and the core ships with no third-party code. Optional apps such as Stripe, CJ and Shippo can be added at setup.

One shop is the default, and a tenancy setting lets a single install serve many. That suits agencies that would otherwise pay per site. Data lives in your own PostgreSQL. A trial setup starts with one npx command and an embedded database, and needs Node 22.22 or newer. It is meant as a replacement for Shopify, though it is still pre-1.0.

Who it's for

Agencies building shops for several clients

One install can host many tenants, so you avoid a platform plan for each client site.

Skip if: Your clients need point of sale or multichannel selling, which are not documented.

Developers building custom storefronts

A typed REST Storefront API and an SDK let you build your own front end on top of the admin.

Skip if: You want a large catalog of ready-made third-party apps today.

Dropshipping merchants who want to own their data

Everything sits in your own PostgreSQL, and optional apps like CJ are available.

Skip if: You don't want to run and update a server yourself.

The problem it solves

Hosted shop platforms charge a plan for every store, which adds up when you run several. You also give up control of your data and your storefront code. ShopNex lets you run the shops on your own server.

Strengths

  • MIT licensed with no platform fees
  • Multi-tenant mode serves many shops from one install
  • Bundled Astro storefront with Liquid themes, or bring your own via REST API
  • Scoped API tokens and signed webhooks for apps
  • Trial setup runs with one npx command and no Docker

Trade-offs

  • Pre-1.0, with frequent releases
  • Smaller app ecosystem than Shopify
  • No point of sale documented
  • Production use needs your own PostgreSQL and hosting

shopnex replaces

Self-host shopnex

Self-hostable
Yes

Quick start

npx create-shopnex@latest my-shop

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

Frequently asked questions

Is ShopNex free?

Yes. It is MIT licensed and has no platform fees. You pay for your own hosting and any payment provider.

Can I self-host it?

Yes. For production, point DATABASE_URL at PostgreSQL. The quick-start trial uses an embedded database.

Can I run more than one shop?

Yes. One shop is the default, and the TENANCY_MODE setting enables many.

What do I need to run it?

Node 22.22 or newer for the quick start. Development also needs pnpm and PostgreSQL.

Other Shopify alternatives

Compare all 3 Shopify alternatives →

Similar tools in E-commerce platforms

Medusa

E-commerce platforms

Open-source commerce framework for developers building custom stores and marketplaces

37k 5.6k today Thriving MIT

PrestaShop

E-commerce platforms

Self-hosted PHP e-commerce platform with a large module ecosystem for merchants

9.3k 5.1k today Thriving OSL-3.0

Replaces Shopify

Spree Commerce

E-commerce platforms

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

16k 5.3k today Thriving BSD-3-Clause

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