OpenFini

Docs / Features

Frameworks and Libraries

OpenFini cannot run Node.js, so there is no npm install, bundler or dev server. "Framework support" means projects that run as they are: the sandboxed preview and the exported static site load ES modules, import maps and CDN runtimes directly in the browser. This page lists what that covers, the 13 starter templates, the library manager and offline use.

What works without a build step#

WorksDoes not work
Classic scripts, ES modules, import maps, dynamic import()JSX, TypeScript compilation, .vue single-file components, Svelte, Sass, PostCSS
Libraries from jsDelivr, cdnjs and unpkg, or copied into vendor/Packages that need Node APIs or a bundler
Web components, htm templates, Vue render functions, Alpine components, htmx attributesVue template strings and Alpine's standard build (they need unsafe-eval, which the desktop Content-Security-Policy forbids)
Tailwind through its browser build (prototypes)Production Tailwind builds
Service workers and manifests in the exported siteService workers in the preview (it is a sandboxed frame)

The desktop app allows scripts from self, data:, cdn.jsdelivr.net, cdnjs.cloudflare.com and unpkg.com, and no eval; esm.sh is not allowed, so templates use jsDelivr's +esm builds. In the preview, import maps are applied by the preview itself (bare specifiers are rewritten); scopes are not applied. Check your own project against the desktop policy with node scripts/serve.mjs --csp.

Starter templates#

File ▸ New ▸ Code lists plain templates (Blank, Landing page, Portfolio, Blog, Documentation, Link in bio) and these starters:

TemplateLibraries (pinned, CDN)Notes
Tailwind CSS@tailwindcss/browser 4.1Dark mode toggle; console warns it is not for production
Bootstrap 5Bootstrap 5.3Navbar, cards, accordion, modal, validated form
Alpine.js@alpinejs/csp 3.14CSP build: use Alpine.data(); attribute expressions cannot assign
htmxhtmx 2.0allowEval off; a mock server in the page works offline
Vue 3vue 3.5 runtimeComponents written with h() render functions
Preact + htmhtm/preact/standaloneHooks and tagged templates
ReactReact 18, ReactDOM, htmHooks; htm instead of JSX
LitLit 3Custom elements with reactive properties
Web componentsnoneShadow DOM, slots, accessible tabs
Three.jsthree r170Scene, lights, drag to rotate, reduced motion honored
Markdown blognonePosts in content/posts/*.md, layouts in layouts/*.tmpl
Markdown docs sitenoneSidebar from page titles and an "On this page" list
PWA starternoneManifest, service worker, install button; SVG icons only

The Libraries pane#

Open Libraries from the activity bar or the palette. Installed lists scripts, stylesheets and import-map entries (check for updates, update, remove). Popular is a catalog of 25 pinned libraries (Tailwind, Bootstrap, icons, Alpine, htmx, Vue, React, Lit, Three.js, Chart.js, D3, GSAP, marked, Day.js, KaTeX, highlight.js and more) plus a Google Fonts helper. Search queries npm and cdnjs; choose a package, version and file, and whether to add it as a <script>, <link> or import-map entry. All edits go through the editor, so they are undoable.

Download into project#

Stores a library under vendor/<package>@<version>/…, rewrites its imports to relative paths and points the page at ./vendor/…, so the exported site works offline. Limits: 80 files and 12 MB per library; only jsDelivr, cdnjs and unpkg hosts; source map comments removed. Licenses stay your responsibility.

Offline mode#

Every library request first asks the network policy for permission; with offline mode on you get the standard message and nothing is sent. Libraries already in the project keep working (Security and Privacy).

Completions#

Tailwind (about 6,000 utility names with variants such as md: and dark:) and Bootstrap 5.3 classes are suggested when the project uses that framework; Alpine and htmx attributes are completed; the Add panel offers Bootstrap components, Tailwind blocks and htmx patterns.

Vibe#

list_templates, list_libraries, search_packages and add_library (network, ask first), and create_website with any template id (Vibe Tools Reference).

See also#

Edit on GitHub → wiki/Frameworks-and-Libraries.md