Star.js brings familiar React-like hooks (useState, useEffect) and
ergonomic Star.html template literals to universal web and app engineering, backed by the
Open Digital Continuity Standard (ODCS). Sub-16ms optimistic UI updates, IndexedDB WAL, CRDT
consensus, and Zero Intent Loss receipts.
Edit real Star.js code on the left, watch it render live on the right. Test React-like hooks, easy Star.html template syntax, and optimistic mutations with local Write-Ahead Log commitments.
Build once in Star.js, deploy natively anywhere. One declarative codebase compiles to Progressive Web Apps, Windows Desktop Executables, and Android Native APK containers with zero code duplication.
Configure and preview your cross-platform Star.js application scaffolding in real-time.
Star.js includes a blazing-fast ESM bundler pipeline with instant Hot Module Replacement (<10ms), automated Search Engine Optimization, dynamic OpenGraph/Twitter Cards, structured JSON-LD, and an inverted search engine index.
The Star Daemon runs continuously in the background, keeping CRDT state in sync across multiple browser tabs, mobile webviews, and server gateways, while monitoring file changes and auto-draining intent outbox queues.
Inspect the internals of the four continuity layers in real-time. View IndexedDB Write-Ahead Log records, CRDT convergence states, active telemetry sensing, and minted Zero Intent Loss receipts.
| Seq # | Journal Entry Type | Timestamp | RFC 8785 Merkle Digest | Durability Status |
|---|---|---|---|---|
| Loading WAL Journal from IndexedDB... | ||||
Every component follows pure Star UI semantics. Beautiful out of the box, reactive by default, fully accessible, and styled with 7 glassmorphic themes.
Zero build step needed. Just drop in the standalone script tag, define your reactive components, and enjoy full disruption-tolerant digital continuity.
<!DOCTYPE html>
<html>
<head>
<title>My Star App</title>
<link rel="stylesheet" href="style.css">
<script src="star.js"></script>
</head>
<body>
<div id="app"></div>
<script>
const { useState, useEffect, useODCS, html, createApp } = Star;
function MyApp() {
const [count, setCount] = useState(0);
const odcs = useODCS();
const handleClick = async () => {
setCount(c => c + 1);
// Mint Layer 4 ZIL receipt in <16ms!
await odcs.preserve("CLICK", { count: count + 1 });
};
return html`
<div class="star-card">
<h2>π Star.js Disruption-Tolerant App</h2>
<p>Mode: <strong>${odcs.mode}</strong> | Clicks: <strong>${count}</strong></p>
<button class="star-btn star-btn-primary" onClick=${handleClick}>
Preserve Intent
</button>
</div>
`;
}
createApp(MyApp).mount("#app");
</script>
</body>
</html>
Ready-to-deploy, fully offline-capable web and mobile application templates built with Star.js.
Full POS cash register with sub-16ms ZIL receipts, indexed outbox auto-drain, and receipt verification.
Launch Example →Hospital patient intake log that preserves triage records during catastrophic communications loss.
Launch Example →Multi-node partition simulator demonstrating Add-Wins OR-Sets, PN-Counters, and automatic SEC convergence.
Launch Example →