A single-file donation page with a One Dark IDE ambience and an iOS-style card. Accepts GitHub Sponsors, Bitcoin (Lightning, Silent Payments, on-chain), Monero and Zcash.
- One Dark background with abstract code lines scrolling slowly (shapes only, no readable text; static when reduced motion is enabled)
- Frosted-glass card with iOS segmented controls: Sponsor · Bitcoin · Monero · Zcash
- Bitcoin sub-options: Lightning, Silent Payments (BIP-352) and On-chain (Native SegWit)
- QR codes generated locally (
qrcode.js, no external requests or trackers) - Tap the address to copy it (first and last characters highlighted for checking)
- "Open in wallet" button using
lightning:,bitcoin:,monero:andzcash:URIs - Deep links:
redirect.html#lightning,#silent,#onchain,#monero,#zcash,#sponsor - Keyboard (← →) and swipe navigation
- Automatic language detection (EN, FR, ES, DE, IT, PT)
- Clone the repository:
git clone https://github.com/SKOHscripts/donate.github.io
cd donate.github.io- Edit the
METHODSarray at the top of the script indonate/redirect.html:
const METHODS = [
{ id: 'sponsor', group: 'sponsor', label: 'GitHub Sponsors', address: 'github.com/sponsors/YOU', uri: 'https://github.com/sponsors/YOU' },
{ id: 'lightning', group: 'bitcoin', label: 'Lightning', address: 'you@wallet.tld', uri: 'lightning:you@wallet.tld' },
{ id: 'monero', group: 'monero', label: 'Monero', address: '8…', uri: 'monero:8…' },
// …
];Texts for each method (tag and note) live in the I18N object, keyed by the method id.
- Deploy to GitHub Pages: Settings → Pages → select the
mainbranch and/rootfolder → Save.
MIT License – feel free to reuse and modify.
