Implement raw file storage #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current search uses Sqlite FTS5. All pages and information are stored in a Sqlite database file. To align more clearly with Tinyweb values, migrate to raw file storage.
Proposal, use a build in-memory inverted index on startup. Use marshal for index persistence. Use BM25-lite for scoring. Detect file changes with os.stat() polling.
File structure:
~/.tinyweb/pages/
page1.txt
page2.txt
page3.txt
...
Synced from Codeberg issue #8 — opened by @fluffblankie on 2026-09-16.
Raw file storageto Implement raw file storage