SwoffSwoff

Overview

Generate offline-first infrastructure from config.

Swoff is the most comprehensive offline web infrastructure for any tech stack with zero runtime dependencies.

npx @swoff/cli init
npx @swoff/cli generate

Feature Map

Every feature module-by-module, with library comparisons.

API Reference

Generated API: fetch, cache, mutation, auth, push, storage.

Architecture

Design decisions, hybrid model, data sync internals.

CLI Reference

CLI commands, generation workflow, output layout.

Config Reference

Full swoff.config.json schema and feature flags.

Framework Integration

Per-ecosystem setup: React, vanilla, no-bundler, HTMX.