#358358th of 358 in Backends, databases and hostingFor finance and business, e-commerce, marketing and sales
merchant
Commerce API for products, inventory, checkout and orders on Cloudflare
- Stars
- 375
- License
- MIT
- Last commit
- Jan 2026
- Language
- TypeScript
334 on 27 Apr 2026375 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Merchant is a Hono-based commerce backend for Cloudflare Workers. It keeps data in a SQLite-backed Durable Object and images in R2, and exposes REST endpoints for products, inventory, carts, customers and orders. Payments go through Stripe Checkout with Stripe Tax. It also implements the Universal Commerce Protocol for AI agent checkout, OAuth 2.0 with PKCE, signed webhooks and a WebSocket event feed.
Who it is for: Developers building a headless store on Cloudflare with Stripe
Strengths
- Durable Objects and R2 are auto-provisioned on first wrangler deploy
- UCP endpoints let AI agents create and complete checkout sessions
- Includes an admin dashboard and a vanilla JS example storefront
- HMAC-SHA256 signed outbound webhooks and WebSocket events for carts, orders, inventory
Weaknesses
- Tied to Cloudflare and Stripe; Postgres schema exists but moving is manual
- One Durable Object handles everything; sharding is only suggested for scale
- Stripe Checkout is redirect-based, with no embedded payment flow
- No tagged releases; D1 migration does not re-import orders or API keys
What it needs
- no GPU
- Needs Cloudflare Workers, Durable Objects, R2, Stripe
- port 8787
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #353 | kubefirstCLI that provisions Kubernetes clusters with a GitOps stack on cloud or local | 25 out of 100 |
| #354 | go-backend-clean-architectureGo REST API template with Gin, MongoDB and JWT auth in layers | 24 out of 100 |
| #355 | localflareLocal dashboard for browsing D1, KV, R2, Queues and Durable Objects in Workers dev | 17 out of 100 |
| #356 | ponzuGo CMS and JSON API server with generated content editors | 16 out of 100 |
| #357 | userbaseBrowser SDK for user accounts and encrypted data storage without a backend | 15 out of 100 |