chore: publish current DataStack updates
Publish the current application, design, and Phase 1 deployment updates. Excludes ignored personal notes, local MCP config, and generated TypeScript build info.
This commit is contained in:
1 parent
d39d9f92f9
commit
fcc4f4db2d
88 files changed
+21248
-2213
No files matched your search
@@ -0,0 +1,290 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>DataStack — Self-hosted realtime data collection</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #0a0a0b;
|
||||
--surface: #111113;
|
||||
--surface-2: #17171a;
|
||||
--border: #232326;
|
||||
--border-strong: #2e2e33;
|
||||
--text: #e8e8ea;
|
||||
--text-muted: #85858c;
|
||||
--text-faint: #5a5a62;
|
||||
--accent: #a3e635;
|
||||
--accent-soft: rgba(163,230,53,0.08);
|
||||
--font: "Segoe UI", "Segoe UI Web", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
|
||||
--radius: 0rem;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html, body {
|
||||
background: var(--bg); color: var(--text);
|
||||
font-family: var(--font); font-size: 14px;
|
||||
line-height: 1.5; font-weight: 400;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
a { color: inherit; text-decoration: none; }
|
||||
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
|
||||
|
||||
/* Nav */
|
||||
.nav {
|
||||
position: sticky; top: 0; z-index: 50;
|
||||
background: rgba(10,10,11,0.85);
|
||||
backdrop-filter: blur(8px);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.nav-inner {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
height: 56px;
|
||||
}
|
||||
.brand { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
|
||||
.brand-mark { width: 16px; height: 16px; background: var(--accent); display: grid; place-items: center; }
|
||||
.brand-mark::after { content: ""; width: 6px; height: 6px; background: var(--bg); }
|
||||
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--text-muted); }
|
||||
.nav-links a:hover { color: var(--text); }
|
||||
.nav-cta { display: flex; align-items: center; gap: 8px; }
|
||||
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
padding: 7px 14px; font-size: 13px; font-weight: 400;
|
||||
border: 1px solid var(--border-strong);
|
||||
background: transparent; color: var(--text);
|
||||
cursor: pointer; transition: background 0.15s, border-color 0.15s;
|
||||
font-family: inherit; border-radius: var(--radius);
|
||||
}
|
||||
.btn:hover { background: var(--surface-2); border-color: var(--text-faint); }
|
||||
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
|
||||
.btn-primary:hover { background: #d0d0d3; border-color: #d0d0d3; }
|
||||
.btn-sm { padding: 5px 10px; font-size: 12px; }
|
||||
|
||||
/* Hero */
|
||||
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
|
||||
.status-pill {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
padding: 3px 10px; border: 1px solid var(--border-strong);
|
||||
font-size: 11px; color: var(--text-muted);
|
||||
letter-spacing: 0.3px; text-transform: uppercase;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.status-dot { width: 6px; height: 6px; background: var(--accent); animation: pulse 2s infinite; }
|
||||
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
|
||||
|
||||
.hero h1 {
|
||||
font-size: 36px; font-weight: 500; letter-spacing: -0.5px;
|
||||
line-height: 1.2; margin-bottom: 16px; max-width: 640px;
|
||||
}
|
||||
.hero h1 span { color: var(--text-muted); }
|
||||
.hero p { font-size: 15px; color: var(--text-muted); max-width: 520px; margin-bottom: 24px; line-height: 1.6; }
|
||||
.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
|
||||
/* Live preview */
|
||||
.preview { margin-top: 32px; border: 1px solid var(--border); background: var(--surface); }
|
||||
.preview-head {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 10px 14px; border-bottom: 1px solid var(--border);
|
||||
font-size: 12px; color: var(--text-muted);
|
||||
}
|
||||
.preview-head-left { display: flex; align-items: center; gap: 8px; }
|
||||
.live-dot { width: 6px; height: 6px; background: var(--accent); animation: pulse 2s infinite; }
|
||||
.preview-body { padding: 4px 0; font-family: "Consolas","Courier New",monospace; font-size: 12px; }
|
||||
.row {
|
||||
display: grid; grid-template-columns: 70px 100px 1fr 60px;
|
||||
gap: 12px; padding: 6px 14px;
|
||||
border-bottom: 1px solid rgba(35,35,38,0.5);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.row:last-child { border-bottom: none; }
|
||||
.row .time { color: var(--text-faint); }
|
||||
.row .client { color: var(--accent); }
|
||||
.row .payload { color: var(--text); }
|
||||
.row .size { text-align: right; color: var(--text-faint); }
|
||||
|
||||
/* Sections */
|
||||
.section { padding: 40px 0; border-bottom: 1px solid var(--border); }
|
||||
.section-head {
|
||||
display: flex; align-items: baseline; justify-content: space-between;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.section-head h2 { font-size: 16px; font-weight: 500; letter-spacing: -0.2px; }
|
||||
.section-head .num { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; }
|
||||
|
||||
/* Features */
|
||||
.features {
|
||||
display: grid; grid-template-columns: repeat(3, 1fr);
|
||||
gap: 1px; background: var(--border); border: 1px solid var(--border);
|
||||
}
|
||||
.feature { background: var(--surface); padding: 20px; }
|
||||
.feature .icon {
|
||||
width: 22px; height: 22px; border: 1px solid var(--border-strong);
|
||||
display: grid; place-items: center; margin-bottom: 12px;
|
||||
color: var(--accent); font-size: 12px;
|
||||
}
|
||||
.feature h3 { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
|
||||
.feature p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
|
||||
|
||||
/* Code */
|
||||
.code-wrap {
|
||||
display: grid; grid-template-columns: 1fr 1fr;
|
||||
gap: 1px; background: var(--border); border: 1px solid var(--border);
|
||||
}
|
||||
.code-block {
|
||||
background: var(--surface); padding: 16px 18px;
|
||||
font-family: "Consolas","Courier New",monospace;
|
||||
font-size: 12px; line-height: 1.7; overflow-x: auto; color: var(--text-muted);
|
||||
}
|
||||
.code-block .comment { color: var(--text-faint); }
|
||||
.code-block .kw { color: var(--text); }
|
||||
.code-block .str { color: var(--accent); }
|
||||
.code-block .fn { color: var(--text); }
|
||||
.code-desc { background: var(--surface); padding: 20px; }
|
||||
.code-desc .label {
|
||||
font-size: 11px; color: var(--text-faint);
|
||||
text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
|
||||
}
|
||||
.code-desc h3 { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
|
||||
.code-desc p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
|
||||
|
||||
/* Bottom CTA */
|
||||
.cta-bottom {
|
||||
padding: 40px 0; display: flex; align-items: center;
|
||||
justify-content: space-between; gap: 24px; flex-wrap: wrap;
|
||||
}
|
||||
.cta-bottom h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 4px; }
|
||||
.cta-bottom p { font-size: 13px; color: var(--text-muted); }
|
||||
|
||||
/* Footer */
|
||||
.footer { border-top: 1px solid var(--border); padding: 24px 0; }
|
||||
.footer-inner {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-faint);
|
||||
}
|
||||
.footer-links { display: flex; gap: 20px; }
|
||||
.footer-links a:hover { color: var(--text-muted); }
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 800px) {
|
||||
.hero h1 { font-size: 26px; }
|
||||
.features { grid-template-columns: 1fr; }
|
||||
.code-wrap { grid-template-columns: 1fr; }
|
||||
.nav-links { display: none; }
|
||||
.row { grid-template-columns: 55px 80px 1fr 50px; font-size: 11px; gap: 8px; padding: 6px 10px; }
|
||||
.cta-bottom { flex-direction: column; align-items: flex-start; }
|
||||
.preview-body { font-size: 11px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="nav">
|
||||
<div class="container nav-inner">
|
||||
<a href="/" class="brand"><span class="brand-mark"></span>DataStack</a>
|
||||
<div class="nav-links">
|
||||
<a href="#features">Features</a>
|
||||
<a href="#sdk">SDK</a>
|
||||
<a href="#docs">Docs</a>
|
||||
</div>
|
||||
<div class="nav-cta">
|
||||
<a href="/vcon/" class="btn btn-sm">Sign in</a>
|
||||
<a href="/vcon/" class="btn btn-primary btn-sm">Open Console</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
<span class="status-pill"><span class="status-dot"></span>Self-hosted · v1.0</span>
|
||||
<h1>Realtime data collection,<br><span>without the database overhead.</span></h1>
|
||||
<p>Stream events from any client over WebSocket. Store them compactly as CSV. Query, monitor and export — all from one lightweight portal.</p>
|
||||
<div class="hero-ctas">
|
||||
<a href="/vcon/" class="btn btn-primary">Open Console</a>
|
||||
<a href="#sdk" class="btn">Read the Docs →</a>
|
||||
</div>
|
||||
|
||||
<div class="preview">
|
||||
<div class="preview-head">
|
||||
<div class="preview-head-left"><span class="live-dot"></span><span>Live ingestion stream</span></div>
|
||||
<span>1,284 events / min</span>
|
||||
</div>
|
||||
<div class="preview-body">
|
||||
<div class="row"><span class="time">14:28:01</span><span class="client">py-client-01</span><span class="payload">{ sensor: "temp", value: 22.4 }</span><span class="size">42 B</span></div>
|
||||
<div class="row"><span class="time">14:28:01</span><span class="client">py-client-02</span><span class="payload">{ user: "u_8291", action: "click" }</span><span class="size">38 B</span></div>
|
||||
<div class="row"><span class="time">14:28:02</span><span class="client">py-client-01</span><span class="payload">{ sensor: "humidity", value: 61 }</span><span class="size">40 B</span></div>
|
||||
<div class="row"><span class="time">14:28:02</span><span class="client">py-client-03</span><span class="payload">{ order_id: "A-2041", status: "shipped" }</span><span class="size">44 B</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="features">
|
||||
<div class="container">
|
||||
<div class="section-head">
|
||||
<h2>Built for ingestion at scale.</h2>
|
||||
<span class="num">01 — Features</span>
|
||||
</div>
|
||||
<div class="features">
|
||||
<div class="feature"><div class="icon">⚡</div><h3>Realtime over WebSocket</h3><p>Durable Socket.IO connections. No polling, no repeated API calls.</p></div>
|
||||
<div class="feature"><div class="icon">▤</div><h3>CSV-first storage</h3><p>Compact per-day rotation. Minimal database load, easy to export.</p></div>
|
||||
<div class="feature"><div class="icon">⚿</div><h3>JWT authentication</h3><p>Every SDK client verified before a single byte is accepted.</p></div>
|
||||
<div class="feature"><div class="icon">◈</div><h3>Redis buffer & cache</h3><p>Batch writes to disk. Pub/Sub ready for horizontal scale-out.</p></div>
|
||||
<div class="feature"><div class="icon">◐</div><h3>Live dashboard</h3><p>Watch events arrive in real time. Filter by client, date or payload.</p></div>
|
||||
<div class="feature"><div class="icon">⇩</div><h3>One-click export</h3><p>Download filtered ranges as CSV or JSON. Streaming, not blocking.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="sdk">
|
||||
<div class="container">
|
||||
<div class="section-head">
|
||||
<h2>Drop in the SDK. Start streaming.</h2>
|
||||
<span class="num">02 — Python SDK</span>
|
||||
</div>
|
||||
<div class="code-wrap">
|
||||
<div class="code-block"><span class="comment"># pip install datastack-sdk</span>
|
||||
<span class="kw">from</span> datastack <span class="kw">import</span> Client
|
||||
|
||||
client = Client(
|
||||
url=<span class="str">"wss://your-host:4000"</span>,
|
||||
api_key=<span class="str">"sk_live_..."</span>
|
||||
)
|
||||
|
||||
client.connect()
|
||||
|
||||
<span class="kw">while</span> running:
|
||||
client.send({
|
||||
<span class="str">"sensor"</span>: <span class="str">"temp"</span>,
|
||||
<span class="str">"value"</span>: <span class="fn">22.4</span>
|
||||
})</div>
|
||||
<div class="code-desc">
|
||||
<div class="label">How it works</div>
|
||||
<h3>A single line to send data.</h3>
|
||||
<p>The SDK holds a durable WebSocket connection, auto-reconnects on network drops, and batches events under backpressure. The server verifies your JWT, buffers events in Redis, and appends them to a per-client CSV file.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container">
|
||||
<div class="cta-bottom">
|
||||
<div>
|
||||
<h2>Ready to self-host?</h2>
|
||||
<p>Deploy with Docker in minutes. Full source, no vendor lock-in.</p>
|
||||
</div>
|
||||
<div class="hero-ctas">
|
||||
<a href="/vcon/" class="btn btn-primary">Open Console</a>
|
||||
<a href="#docs" class="btn">View Docs</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container footer-inner">
|
||||
<span>© 2026 DataStack · Self-hosted</span>
|
||||
<div class="footer-links"><a href="#">GitHub</a><a href="#">Docs</a><a href="#">Status</a></div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user