#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

Releases and problems feed (RSS)

Stars
375
License
MIT
Last commit
Jan 2026
Language
TypeScript
Stars, last 30 weeks+41
27 Apr 2026: 334 stars4 May 2026: 334 stars11 May 2026: 336 stars18 May 2026: 337 stars25 May 2026: 337 stars1 Jun 2026: 338 stars8 Jun 2026: 339 stars15 Jun 2026: 339 stars22 Jun 2026: 342 stars29 Jun 2026: 344 stars6 Jul 2026: 344 stars13 Jul 2026: 345 stars20 Jul 2026: 346 stars27 Jul 2026: 349 stars3 Aug 2026: 350 stars10 Aug 2026: 351 stars17 Aug 2026: 352 stars24 Aug 2026: 352 stars31 Aug 2026: 354 stars7 Sept 2026: 358 stars14 Sept 2026: 361 stars21 Sept 2026: 362 stars28 Sept 2026: 364 stars5 Oct 2026: 368 stars12 Oct 2026: 369 stars19 Oct 2026: 371 stars26 Oct 2026: 372 stars2 Nov 2026: 373 stars9 Nov 2026: 373 stars16 Nov 2026: 375 stars23 Nov 2026: 375 stars

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
Also in Backends, databases and hosting
RankProjectScore
#353kubefirstCLI that provisions Kubernetes clusters with a GitOps stack on cloud or local2.1k starsMIT25 out of 100
#354go-backend-clean-architectureGo REST API template with Gin, MongoDB and JWT auth in layers6.2k starsApache-2.024 out of 100
#355localflareLocal dashboard for browsing D1, KV, R2, Queues and Durable Objects in Workers dev1.6k starsMIT17 out of 100
#356ponzuGo CMS and JSON API server with generated content editors5.8k starsBSD-3-Clauseno commits in a year16 out of 100
#357userbaseBrowser SDK for user accounts and encrypted data storage without a backend2.3k starsMIT15 out of 100