Embed · drop-in widget

Drop a live Trench badge on any site.

One script tag. Three themes. Auto-refreshes every 60 seconds. Shows the live state machine (HUNTING / MONITORING / DARK) plus the latest signal direction and stream counts. Free, no account, no API key. Designed for newsletters, sidebars, Discord embeds, and "what's the AI doing right now?" widgets on geopolitical / prediction-market sites.

What it looks like

These are live. They’re fetching /shadow-api/api/state-summary on this page right now.

Default · dark

Light theme
Compact (smaller padding)

Copy-paste snippet

Drop this anywhere in your HTML. The div is where the badge renders. Put as many on the page as you want.

Default

<div data-trench></div>
<script src="https://trenchsignals.io/embed.js" async></script>

Light theme

<div data-trench data-trench-theme="light"></div>
<script src="https://trenchsignals.io/embed.js" async></script>

Compact

<div data-trench data-trench-compact="true"></div>
<script src="https://trenchsignals.io/embed.js" async></script>

What you get

01
Live state
Reflects Trench’s state machine in real time — hunting, monitoring, dark, processing. Updates every 60s.
02
Latest signal direction
When Trench fires a directional signal, the badge shows it. Otherwise it just shows what it’s watching.
03
Stream counts
108 news feeds. 216 prediction markets streamed. Numbers hydrate from /api/state-summary.
04
Click-through
Whole badge is a link to /dashboard?ref=embed so you can attribute referral traffic.
05
Performant
Jittered 60s polling. Stops when host is detached. Pauses when the tab is hidden. Exponential backoff on errors.
06
Free
No API key. No tracker. Just a script tag and a public JSON endpoint.

Who this is for

Geopolitical newsletters
Drop the badge in your weekly send: "What an AI is paper-trading on this story right now." Adds a live element without writing it yourself.
Prediction-market sites + Substacks
Show the AI’s read on Iran/Russia/Taiwan markets next to your own analysis. Helps readers benchmark your call against the bot’s.
Discord servers + community sidebars
Pinned widget that reflects whether geopolitics is in a hot or cold tape right now. Conversation-starter for trading channels.

Forwarding to a partner?

Here’s a one-paragraph pitch you can paste into an email or DM:

TrenchSignals is an autonomous AI paper-trading geopolitical conflict markets in
public, with full calibration scoring on every prediction. We just shipped a
free embed widget — one script tag, drops a live "what is the AI doing right
now" badge on any site. Three themes (dark / light / compact). Auto-refreshes
every 60s. Polls a public endpoint, no API key. Could be a fit for your
[newsletter / sidebar / Discord] — full snippet at trenchsignals.io/embed.
The dashboard itself is at trenchsignals.io/dashboard.

Questions?

The full embed.js source is public. Reach embed@trenchsignals.io if you want a custom theme or a variant that shows specific entities (e.g. "live state for Iran only").