Guided installer
One setup script asks for the product name, price and file, creates KV storage, generates the signing and admin secrets, stores your Stripe key as a Worker secret, uploads the file, deploys and registers the webhook.
Platform / Sign in ↗ESA compact digital-download checkout that brings payments, licence keys and expiring delivery links into one Cloudflare Worker.
Built product and storefront · current purchase availability not independently verified.

Selling a digital file should not require a large commerce stack. Papertill packages the path from payment to delivery into a small, inspectable software kit. Its own storefront uses the same implementation.
A dependency-free Worker handles Stripe Checkout and signature-verified webhooks. Licence keys are derived deterministically; HMAC-signed download links expire. Cloudflare KV stores the downloadable product. The repository includes a buy-to-download verification harness.
Papertill is for developers and independent creators who want to sell a digital file from infrastructure they control, for themselves or for clients. You need a Cloudflare account (the free plan is enough), a Stripe account that can take live payments and Node 18 or later. If you can paste a few commands into a terminal, the guided setup does the rest.
One setup script asks for the product name, price and file, creates KV storage, generates the signing and admin secrets, stores your Stripe key as a Worker secret, uploads the file, deploys and registers the webhook.
Checkout sessions are created server-side with promotion codes enabled, and Apple Pay and Google Pay work through Stripe. Buyers give express consent to immediate delivery of the download before they are sent to payment.
The receipt page re-checks payment with Stripe on every visit and issues a fresh download link. Each link expires after seven days, so returning buyers come back through their Stripe receipt rather than a shared URL.
Signature-checked webhook events feed a sales log with sales and revenue counters, readable from an admin stats endpoint protected by the token the installer generates.
Change the price or product name by editing variables in the Worker config and redeploying, replace the file you sell with one KV command, and restyle the storefront in plain HTML and CSS with no build step.
The kit is listed at $29, paid once rather than as a subscription, with a 14-day no-questions refund on reply to the Stripe receipt. The licence covers unlimited products, stores and client projects of your own and any modification, but not reselling Papertill itself as a checkout kit. Stripe’s standard processing fees still apply to your sales.
