Skip to main content

Documentation

A zero-dependency JavaScript framework built entirely on native browser standards.

Why Weblisk?

Feature Weblisk Others
Dependencies Zero 50–500+ packages
Build step Optional Required
Bundle size 0 KB (native ESM) 30–150+ KB
Architecture Islands SPA or hybrid
Reactivity Fine-grained signals Virtual DOM diffing
Offline data Built-in IDB + sync Third-party libs

Architecture

Weblisk follows the Islands Architecture: pages are fully static HTML, with small interactive "islands" that hydrate independently.

Quick Example

html
<!-- Drop weblisk into any HTML page -->
<script type="importmap">
{ "imports": { "weblisk": "/lib/weblisk/weblisk.js", "weblisk/": "/lib/weblisk/" } }
</script>

<div data-island="/islands/counter.js" data-hydrate="visible">
  <button>Count: 0</button>
</div>

<script type="module">
import { hydrateIslands } from 'weblisk/core/hydrate.js';
hydrateIslands();
</script>

What's Included

52 modules across 11 domains — all opt-in, all zero-dependency:

Start with the Quick Start guide to scaffold your first project in under a minute.