Changelog
DevBlog project brief 2026-08

Indexer and full-text search

Files are the source; the database is the index. Upload Markdown, rebuild, and it is published. Wipe the database and you can still restore a readable site from disk.

Added

Highlights

  • Scan {document-root}/{project}/ allowlisted Markdown; parse YAML Front Matter plus filename dates YYYY-MM-DD-*
  • Manual rebuild in admin: one project or all; one rebuild at a time per project; job log (add / update / delete / error)
  • SQLite FTS5: title, summary, body, and tags
  • Public /search and /api/search with paged results (project context and date)

Details

  • Unchanged content hash skips a database write
  • Files gone from disk → entries are soft-deleted and FTS rows go with them
  • Paths are normalized; .. is rejected; /data, /cache, /language, and similar prefixes are blocked
  • Optional scheduled rebuild in site settings
  • Relative images and links resolve from the current document folder and are hosted safely

Security

Highlights

  • Document extension allowlist plus denylist; per-file size cap
  • Rebuild targets must be legal project folders under the document root
Views (0)

Comments

No comments yet