# minshop

Full-stack ecommerce on Cloudflare Workers, D1, and R2 - with admin, Stripe, OpenNode, Lightning payments, and agent-ready APIs.

Canonical page: https://www.reposhelf.co.uk/projects/github/ddyy/minshop.html

- Project ID: ddyy/minshop
- Source: GitHub
- Original project: https://github.com/ddyy/minshop
- Description attribution: project author metadata
- Categories: Business, MCP servers &amp; agents
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-04T16:44:10.273Z
- Demo page loaded: 2026-11-06T01:27:46.392Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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

## Author-documented requirements and 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.

Source: https://github.com/ddyy/minshop/blob/main/README.md

Extraction checked: 2026-11-04T16:44:10.384Z

Last recorded source update: 2026-11-04T11:02:07.000Z

Saved release: v0.2.0 — 2026-07-31T23:17:35.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=ddyy%2Fminshop). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
