Description
Verdant is a framework for building small web apps that keep their data on the device and sync it to a server when a connection is available. You define a schema, generate a client and then read and write data as if it were a plain object. Changes are saved locally, survive page refreshes and work offline, then sync across devices. Local storage uses IndexedDB with built-in reactive queries, so interface elements can subscribe to a value and update when it changes. The framework also includes tools such as undo and file storage. For sync, it connects to a plain Node server backed by SQLite, and you can add your own sign-in and user data with tools you already know. The project is aimed at small, sustainable apps, and its authors say the simplest local-only app costs about as much as its domain name. The source code is published on GitHub.…
Highlights
- Local-first storage in IndexedDB with reactive data
- Sync across devices through a Node and SQLite server
- Works offline when paired with a service worker
- Built-in undo and file storage
- Client generated from a schema you define
Ratings & Reviews
No ratings yet
Be the first to rate Verdant.
People also visit
Verdant FAQ
What is Verdant?
A framework for small web apps. You build a schema, generate a client and store data in the browser. Syncing to a server is added when you need it.
Do apps built with Verdant work offline?
Yes, when the app is set up with a service worker. Changes are saved on the device and synced to the server once a connection returns.
How does syncing between devices work?
Apps connect to a plain Node server with a SQLite database. You choose how sign-in works and where any extra user data is stored.
What does it cost to run?
The authors say the simplest local-only app costs about as much as its domain name. The framework is designed to keep the cost of small apps low.
Where is the code?
The source is published on GitHub at github.com/a-type/verdant.
What are the best Verdant alternatives?
Popular alternatives to Verdant include Supapool, Canvas and undb. See all Verdant alternatives






