-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembed.html
More file actions
290 lines (252 loc) · 15.8 KB
/
embed.html
File metadata and controls
290 lines (252 loc) · 15.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Embeddable Widgets — ReleaseRun</title>
<meta name="description" content="Free embeddable widgets for EOL status, stack health cards, and version badges. Add real-time release data to your docs, README, or dashboard.">
<style>
:root { --bg: #0d1117; --card: #161b22; --border: #30363d; --text: #e6edf3; --muted: #8b949e; --accent: #58a6ff; --green: #3fb950; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }
header { padding: 48px 0 24px; border-bottom: 1px solid var(--border); }
header h1 { font-size: 2em; margin-bottom: 8px; }
header p { color: var(--muted); font-size: 1.1em; }
section { padding: 40px 0; border-bottom: 1px solid var(--border); }
section h2 { font-size: 1.5em; margin-bottom: 16px; }
section h3 { font-size: 1.1em; margin: 20px 0 8px; color: var(--muted); }
.widget-demo { margin: 16px 0; }
.widget-demo iframe { border: none; border-radius: 8px; }
pre { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; overflow-x: auto; font-size: 0.85em; margin: 12px 0; line-height: 1.5; position: relative; }
code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; }
.copy-btn { position: absolute; top: 8px; right: 8px; background: var(--border); color: var(--text); border: none; border-radius: 4px; padding: 4px 10px; font-size: 0.75em; cursor: pointer; }
.copy-btn:hover { background: var(--accent); color: var(--bg); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.9em; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.badge-row img { height: 24px; }
footer { padding: 32px 0; text-align: center; color: var(--muted); font-size: 0.85em; }
</style>
</head>
<body>
<header>
<div class="container">
<h1>Embeddable Widgets</h1>
<p>Add real-time release data to your docs, README, dashboard, or Confluence pages. All widgets are free and link back to <a href="https://releaserun.com/tools/">ReleaseRun</a>.</p>
</div>
</header>
<section>
<div class="container">
<h2>1. EOL Status Widget</h2>
<p>Show the end-of-life status for any technology. Supports 300+ products via <a href="https://endoflife.date">endoflife.date</a>.</p>
<div class="widget-demo">
<iframe src="widgets/eol-status.html?product=nodejs&cycle=18" width="360" height="120" loading="lazy"></iframe>
</div>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.github.io/widgets/eol-status.html?product=nodejs&cycle=18"
width="360" height="120"
style="border:none; border-radius:8px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Parameters</h3>
<table>
<tr><th>Param</th><th>Default</th><th>Description</th></tr>
<tr><td><code>product</code></td><td>nodejs</td><td>Product slug from <a href="https://endoflife.date">endoflife.date</a> (e.g. python, kubernetes, postgresql)</td></tr>
<tr><td><code>cycle</code></td><td>(latest)</td><td>Version cycle (e.g. 18, 3.12, 1.29)</td></tr>
<tr><td><code>theme</code></td><td>dark</td><td>dark or light</td></tr>
</table>
<h3>Examples</h3>
<div class="widget-demo">
<iframe src="widgets/eol-status.html?product=python&cycle=3.9&theme=dark" width="360" height="120" loading="lazy" style="border:none;border-radius:8px"></iframe>
<iframe src="widgets/eol-status.html?product=kubernetes&cycle=1.28&theme=dark" width="360" height="120" loading="lazy" style="border:none;border-radius:8px;margin-left:8px"></iframe>
</div>
</div>
</section>
<section>
<div class="container">
<h2>2. Stack Health Card</h2>
<p>Show the health of your entire stack in one card. Pass a comma-separated list of products.</p>
<div class="widget-demo">
<iframe src="widgets/stack-card.html?stack=nodejs,python,postgresql,docker-engine,kubernetes" width="480" height="260" loading="lazy" style="border:none;border-radius:8px"></iframe>
</div>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.github.io/widgets/stack-card.html?stack=nodejs,python,postgresql,docker-engine,kubernetes"
width="480" height="260"
style="border:none; border-radius:8px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Parameters</h3>
<table>
<tr><th>Param</th><th>Default</th><th>Description</th></tr>
<tr><td><code>stack</code></td><td>nodejs,python,postgresql,docker-engine,kubernetes</td><td>Comma-separated product slugs</td></tr>
<tr><td><code>theme</code></td><td>dark</td><td>dark or light</td></tr>
</table>
</div>
</section>
<section>
<div class="container">
<h2>3. CVE Counter Widget</h2>
<p>Show the vulnerability breakdown for any product version. Pulls live data from the OSV database.</p>
<div class="widget-demo">
<iframe src="widgets/cve-counter.html?product=kubernetes&version=1.28" width="380" height="200" loading="lazy" style="border:none;border-radius:8px"></iframe>
<iframe src="widgets/cve-counter.html?product=nodejs&version=20&theme=light" width="380" height="200" loading="lazy" style="border:none;border-radius:8px;margin-left:8px"></iframe>
</div>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.github.io/widgets/cve-counter.html?product=kubernetes&version=1.28"
width="380" height="200"
style="border:none; border-radius:8px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Parameters</h3>
<table>
<tr><th>Param</th><th>Default</th><th>Description</th></tr>
<tr><td><code>product</code></td><td>nodejs</td><td>Product slug (nodejs, python, kubernetes, etc.)</td></tr>
<tr><td><code>version</code></td><td>(latest)</td><td>Specific version to check</td></tr>
<tr><td><code>theme</code></td><td>dark</td><td>dark or light</td></tr>
</table>
</div>
</section>
<section>
<div class="container">
<h2>4. Version Card Widget</h2>
<p>Compact card showing current version, release date, support status, and EOL date for any product.</p>
<div class="widget-demo">
<iframe src="widgets/version-card.html?product=python&cycle=3.12" width="340" height="220" loading="lazy" style="border:none;border-radius:8px"></iframe>
<iframe src="widgets/version-card.html?product=nodejs&cycle=22&theme=light" width="340" height="220" loading="lazy" style="border:none;border-radius:8px;margin-left:8px"></iframe>
</div>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.github.io/widgets/version-card.html?product=python&cycle=3.12"
width="340" height="220"
style="border:none; border-radius:8px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Parameters</h3>
<table>
<tr><th>Param</th><th>Default</th><th>Description</th></tr>
<tr><td><code>product</code></td><td>nodejs</td><td>Product slug from endoflife.date</td></tr>
<tr><td><code>cycle</code></td><td>(latest)</td><td>Version cycle (e.g. 3.12, 22, 1.28)</td></tr>
<tr><td><code>badges</code></td><td>true</td><td>Show SVG badges (true/false)</td></tr>
<tr><td><code>theme</code></td><td>dark</td><td>dark or light</td></tr>
</table>
</div>
</section>
<section>
<div class="container">
<h2>5. Version Badges (SVG)</h2>
<p>Shields-style SVG badges for any technology. Perfect for GitHub READMEs and docs.</p>
<div class="badge-row">
<img src="https://img.releaserun.com/badge/health/kubernetes.svg" alt="Kubernetes Health">
<img src="https://img.releaserun.com/badge/eol/python.svg" alt="Python EOL">
<img src="https://img.releaserun.com/badge/v/nodejs.svg" alt="Node.js Version">
<img src="https://img.releaserun.com/badge/health/postgresql.svg" alt="PostgreSQL Health">
</div>
<h3>Badge Types</h3>
<table>
<tr><th>Type</th><th>URL Pattern</th><th>Shows</th></tr>
<tr><td>Health</td><td><code>img.releaserun.com/badge/health/{product}.svg</code></td><td>Health grade (A-F)</td></tr>
<tr><td>EOL</td><td><code>img.releaserun.com/badge/eol/{product}.svg</code></td><td>EOL date or status</td></tr>
<tr><td>Version</td><td><code>img.releaserun.com/badge/v/{product}.svg</code></td><td>Latest version</td></tr>
<tr><td>CVE</td><td><code>img.releaserun.com/badge/cve/{product}.svg</code></td><td>Known CVE count</td></tr>
</table>
<h3>Markdown (for GitHub READMEs)</h3>
<pre><code>[](https://releaserun.com/tools/stack-health/)
[](https://releaserun.com/python-end-of-life/)
[](https://releaserun.com/nodejs/)</code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
</div>
</section>
<section>
<div class="container">
<h2>6. Release Health Card</h2>
<p>A compact, copy-pasteable widget for docs, dashboards, and internal portals. Shows support status, days to EOL, and live ReleaseRun badges for a single product cycle.</p>
<iframe src="widgets/release-health-card.html?product=nodejs&cycle=18" width="100%" height="265" style="border:none; max-width:360px;"></iframe>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.github.io/widgets/release-health-card.html?product=nodejs&cycle=18"
width="100%" height="265"
style="border:none; max-width:360px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Parameters</h3>
<table>
<tr><th>Param</th><th>Example</th><th>Description</th></tr>
<tr><td><code>product</code></td><td><code>nodejs</code></td><td>Technology slug from endoflife.date / ReleaseRun</td></tr>
<tr><td><code>cycle</code></td><td><code>18</code></td><td>Major version or release cycle to highlight</td></tr>
<tr><td><code>theme</code></td><td><code>light</code></td><td><code>dark</code> or <code>light</code></td></tr>
<tr><td><code>link</code></td><td><code>https://releaserun.com/tools/eol-timeline/</code></td><td>CTA destination</td></tr>
<tr><td><code>cta</code></td><td><code>View full timeline</code></td><td>CTA link text</td></tr>
</table>
<h3>Examples</h3>
<div class="example-grid">
<iframe src="widgets/release-health-card.html?product=nodejs&cycle=18&theme=dark" width="100%" height="265" style="border:none"></iframe>
<iframe src="widgets/release-health-card.html?product=python&cycle=3.9&theme=light&cta=Open%20release%20index&link=https://releaserun.com/release-index/" width="100%" height="265" style="border:none"></iframe>
</div>
</div>
</section>
<section>
<div class="container">
<h2>7. Stack Health Score</h2>
<p>A compact summary widget for engineering dashboards. Shows an overall stack score, grade, support counts, and a link back to the full ReleaseRun timeline.</p>
<iframe src="widgets/stack-health-score.html?stack=nodejs,python,postgresql,docker-engine,kubernetes" width="100%" height="250" style="border:none; max-width:420px;"></iframe>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.github.io/widgets/stack-health-score.html?stack=nodejs,python,postgresql,docker-engine,kubernetes"
width="100%" height="250"
style="border:none; max-width:420px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Parameters</h3>
<table>
<tr><th>Param</th><th>Example</th><th>Description</th></tr>
<tr><td><code>stack</code></td><td><code>nodejs,python,postgresql,docker-engine,kubernetes</code></td><td>Comma-separated product slugs</td></tr>
<tr><td><code>theme</code></td><td><code>light</code></td><td><code>dark</code> or <code>light</code></td></tr>
<tr><td><code>link</code></td><td><code>https://releaserun.com/tools/eol-timeline/</code></td><td>CTA destination</td></tr>
<tr><td><code>cta</code></td><td><code>Open stack timeline</code></td><td>CTA link text</td></tr>
</table>
<h3>Examples</h3>
<div class="example-grid">
<iframe src="widgets/stack-health-score.html?stack=nodejs,python,postgresql,docker-engine,kubernetes&theme=dark" width="100%" height="250" style="border:none"></iframe>
<iframe src="widgets/stack-health-score.html?stack=go,rust,postgresql,docker-engine&theme=light&cta=Open%20release%20index&link=https://releaserun.com/release-index/" width="100%" height="250" style="border:none"></iframe>
</div>
</div>
</section>
<section>
<div class="container">
<h2>8. Full Tool Embeds</h2>
<p>Embed any <a href="https://releaserun.com/tools/">ReleaseRun tool</a> directly in your page using iframe embed mode.</p>
<h3>Embed Code</h3>
<pre><code><iframe
src="https://releaserun.com/tools/cve-dashboard/?rr_embed=1"
width="100%" height="600"
style="border:none; border-radius:8px;"
loading="lazy"></iframe></code><button class="copy-btn" onclick="copyCode(this)">Copy</button></pre>
<h3>Available Tools</h3>
<table>
<tr><th>Tool</th><th>Embed URL</th></tr>
<tr><td><a href="https://releaserun.com/tools/cve-dashboard/">CVE Dashboard</a></td><td><code>releaserun.com/tools/cve-dashboard/?rr_embed=1</code></td></tr>
<tr><td><a href="https://releaserun.com/tools/stack-health/">Stack Health</a></td><td><code>releaserun.com/tools/stack-health/?rr_embed=1</code></td></tr>
<tr><td><a href="https://releaserun.com/tools/vulnerability-scanner/">Vuln Scanner</a></td><td><code>releaserun.com/tools/vulnerability-scanner/?rr_embed=1</code></td></tr>
<tr><td><a href="https://releaserun.com/tools/env-security-scanner/">.env Scanner</a></td><td><code>releaserun.com/tools/env-security-scanner/?rr_embed=1</code></td></tr>
<tr><td><a href="https://releaserun.com/tools/container-image-size-optimizer/">Container Optimizer</a></td><td><code>releaserun.com/tools/container-image-size-optimizer/?rr_embed=1</code></td></tr>
<tr><td><a href="https://releaserun.com/tools/github-actions-workflow-optimizer/">GHA Optimizer</a></td><td><code>releaserun.com/tools/github-actions-workflow-optimizer/?rr_embed=1</code></td></tr>
<tr><td><a href="https://releaserun.com/tools/k8s-upgrade-simulator/">K8s Upgrade Simulator</a></td><td><code>releaserun.com/tools/k8s-upgrade-simulator/?rr_embed=1</code></td></tr>
</table>
</div>
</section>
<footer>
<div class="container">
<p>All widgets are free to use. <a href="https://releaserun.com">ReleaseRun</a> — Free developer tools for release risk tracking.</p>
<p style="margin-top:8px"><a href="https://releaserun.github.io">Home</a> · <a href="https://releaserun.github.io/badges">Badge API</a> · <a href="https://github.com/Releaserun/releaserun-cli">GitHub</a> · <a href="https://releaserun.com/tools/">All Tools</a></p>
</div>
</footer>
<script>
function copyCode(btn) {
const code = btn.parentElement.querySelector('code').textContent;
navigator.clipboard.writeText(code).then(() => {
btn.textContent = 'Copied!';
setTimeout(() => btn.textContent = 'Copy', 2000);
});
}
</script>
</body>
</html>