About this project
lolly-web is the reference implementation of the v1 capability bridge for the lolly project, serving as the foundation for its web, desktop (Tauri), and mobile shells. It is built as a Vite PWA and focuses on a strict performance budget for its boot payload, utilizing lazy facades for most of its capability modules (such as identity, net, pdf, and audio) to minimize initial JS execution.
Key technical features include:
- A custom capability bridge that manages state via IndexedDB and provides various host APIs to tools.
- A lightweight, library-free routing system based on hash parsing and dynamic imports.
- A CSS architecture using cascade layers to manage style priority and design tokens.
- A hand-written service worker implementing multiple caching strategies (network-first, cache-first, and stale-while-revalidate) without relying on Workbox.
- Integration with a larger umbrella repository, resolving engine dependencies through npm workspaces.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.