a static, single-page donation site with stripe (card/fiat) and cryptocurrency (bitcoin, ethereum, cardano, etc.). no backend required.
- configure — edit
config/config.jswith your stripe payment link and crypto addresses; editconfig/text.jsfor page copy. - serve — open
index.htmlin a browser or run a static server (e.g.make server). - deploy — push to github pages, netlify, vercel, or any static host.
- in stripe dashboard, create a payment link (or use an existing one).
- copy the link (e.g.
https://buy.stripe.com/...) intoconfig/config.jsunderfiat.stripe.link. - stripe hosts checkout; no backend needed.
- in
config/config.js, undercrypto.addresses, setaddressandlabelfor each chain you accept. - add or remove chains by editing that object. the page renders one card per address with copy buttons.
- all user-facing strings live in
config/text.js: page title, header, tagline, section titles, button labels, and copy-button text.
index.htmland404.htmlinclude a strict Content Security Policy and referrer policy to reduce script-injection and data-leakage risks..well-known/security.txtprovides a standardized disclosure contact for responsible vulnerability reporting.
local server: make server (default port 8033) or python3 -m http.server 8033.
pre-commit runs npm run check via husky.
use and modify as you like.