README.md
TEXT FILE600 B · Public source code for developers, search crawlers and AI agents
1# How to Build a Bitcoin Payment Widget for Ghost
2
3Host a receive-only donation interface separately and embed it using an iframe in a Ghost HTML card if the hosting policy permits framing. Use a fixed HTTPS source, a descriptive title and a restrictive sandbox, granting only capabilities required by the widget. The JavaScript helper validates the configured destination; it is not the widget itself. Set frame-ancestors on the widget server to permit only your blog and avoid sharing secrets or trusting arbitrary postMessage events.
4
5Educational example; no live integration test. License: 0BSD.Read-only source · Select a line number to link directly · Raw download above
