minshop
ddyy/minshop · Public GitHub repository
Full-stack ecommerce on Cloudflare Workers, D1, and R2 - with admin, Stripe, OpenNode, Lightning payments, and agent-ready APIs.
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
An open-source store an agent can pay for itself. Agents read the catalog and pay a Lightning invoice with no human in the loop — over plain JSON or over MCP; people check out the normal way with Stripe. Merchants can run the store over MCP too.
It's a small, server-rendered store for Cloudflare Workers (D1 + R2) with a full admin, multiple payment rails, and an optional MCP server, within the free tier to start. No brand is baked in: store name and time zone are set during onboarding, so it clones cleanly as a template.
Live demo (agent API at /api/products, /api/checkout). Uses test payments; do not enter real personal information.
- Storefront — server-rendered product list + product detail, near-zero client JS
- Cart — HttpOnly cookie-based, with a progressively enhanced drawer plus no-JS form fallbacks
- Search — FTS5 full-text (bm25, prefix match, typo-correct), no JS — or optional semantic search via Workers AI + Vectorize (see Search)
- Categories — nested (arbitrary-depth tree), many-to-many with products; storefront category pages with breadcrumbs + sub-category drill-down (recursive descendant queries)
- Admin — products, categories, pages, media, orders, customers, fulfillment, CSV export, and runtime store settings
Requirements and intended audience
An open-source store an agent can pay for itself. Agents read the catalog and pay a Lightning invoice with no human in the loop — over plain JSON or over MCP; people check out the normal way with Stripe. Merchants can run the store over MCP too.
- Account · Required
The moment you save it the gate activates: /admin + /api/admin require sign-in at /admin/login (a form issuing an HMAC-signed, HttpOnly session cookie; /api/admin returns 401 instead of redirecting), and saving logs you in immediately.
- Account · Optional
Optional Turnstile on the login form: enable it in Admin → Settings → Bot protection (toggle + sitekey, with the secret stored in the encrypted vault) to add Cloudflare's bot challenge before the password is checked.
- Self-hosting · Documented
In the Zero Trust dashboard add a self-hosted application covering both paths your-host/admin and your-host/api/admin (the API is a separate path — gating only /admin leaves the mutation endpoints open), add an identity provider (One-time PIN is enough), and an Allow policy for your email.
- Paid service · Optional
Shipping labels (Shippo) — optional: add a Shippo API token in Admin → Settings and a Buy shipping label card appears on unfulfilled paid delivery orders (never local-pickup ones), prefilled with the order's recorded address and shipment weight.
Not recorded: external api key. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-04. Source: https://github.com/ddyy/minshop/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-11-04. Saved release: v0.2.0 · 2026-07-31. These dates do not guarantee ongoing maintenance.
- Technologies
- TypeScript
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-06. This does not test every feature.
Browse related categories
More projects to explore
superset
apache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
Understand-Anything
Egonex-AI/Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
erpnext
frappe/erpnext
Free and Open Source Enterprise Resource Planning (ERP)
OCRmyPDF
ocrmypdf/OCRmyPDF
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched