For vendors, builders, and accumulators
Embed the Bitcoin Buying Gauge on your site
Two lines of HTML. ~16 KB script. No dependencies. Live-updating Buying Gauge score on any page that wants one: vendor shops, BTC newsletters, dashboards, your personal site.
Live preview
That widget right there is the same one that'll render on your site. Polls galaxymind.space/api/heartbeat every 60s.
How to embed
Paste this anywhere in your HTML. The widget renders into the <div data-galaxymind-gauge> and starts polling automatically. Add the defer attribute so the script doesn't block your page render.
<div data-galaxymind-gauge></div>
<script
src="https://galaxymind.space/embed.js"
integrity="sha384-ZwOw0hA8h0GIKUEi/hKs7KuOVTk8Abb05qeZQ+aB7E5+pMlJERqXYhs64uLNoejT"
crossorigin="anonymous"
defer
></script>That's it. No build step. No dependencies. The widget is a link to galaxymind.space/stack. Clicks bring visitors to the full gauge.
Power-user notes
- Multiple instances on one page? Yes. Drop as many
<div data-galaxymind-gauge>elements as you want. The script renders all of them and shares one poll. - Polling cadence? 60 seconds. Half the rate of the on-page poll because embed widgets aren't the primary surface. Gentler on bandwidth for your visitors.
- Source visible? Yes. The script is plain JavaScript, MIT-licensed. Read it at /embed.js. If you want to fork the widget styling, copy it into your own repo.
- Just want the data? The endpoint is open and CORS-permissive. Hit /api/heartbeat directly. Returns JSON
{ blockHeight, score, tier, asOf }. - Privacy? The widget is a script + a fetch. No cookies, no fingerprinting, no analytics. Your visitors' presence isn't tracked by Galaxy Mind beyond the standard server log of the heartbeat fetch.
Built and maintained by @GalaxyMind. If you embed it somewhere, drop a reply. Happy to retweet your shop / newsletter / dashboard.