For vendors, builders, and accumulators

Embed the Bitcoin Buying Gauge on your site

Two lines of HTML. ~16 KB. No dependencies. Put the live Buying Gauge (and the daily habit it represents) on your site, newsletter, or dashboard. Every embed is free distribution for the signal.

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-jUwh8eDOOttDAypPpuGFm23o8b6NDbr38zs+p7atCraqEbX36ULKrMo8tRSEm0vj"
  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.

Style options

Add data-attributes to the same div · all optional and backward compatible. Mix and match. The previews below are live.

data-theme="light"
<div data-galaxymind-gauge data-theme="light"></div>
data-show-score="true"
<div data-galaxymind-gauge data-show-score="true"></div>

Combine both for a light card with the score shown:

<div data-galaxymind-gauge data-theme="light" data-show-score="true"></div>
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.