Plugins

Flexweg Search

Client-side fuzzy search. Pre-builds an index at publish time, opens a Cmd/Ctrl-K modal on click, results jump to the matching post — no backend, no API key, no external service.

Description

Flexweg Search ships a complete search experience that runs entirely in the visitor's browser. At publish time the plugin builds a compact JSON index at /search-index.json containing every post's title, excerpt, and category. Any element on the page with data-cms-search (every theme's search input qualifies) attaches a click handler that opens a centered modal — Cmd/Ctrl + K also triggers it from anywhere on the site.

The modal does fuzzy matching against the index with sensible defaults: matches on title weighted higher than excerpt, primary term shown next to each result, keyboard nav (↑/↓ + Enter) wired up. Clicking a result navigates to the post.

Because the index is fetched once and cached, search stays instant even on slow connections. The plugin never phones home, never embeds a third-party widget, and never needs an API key — perfect for sites that care about privacy and self-hosting.

Specifications

Version1.0.0
LicenseMIT
Last UpdatedThis release
Requires Flexweg≥ 1.0.0

Key Features

search

Cmd/Ctrl-K modal

bolt

Pre-built static index

keyboard

Full keyboard navigation

lock

Privacy-friendly (no API)