various tools I have been using throughout the years
README.md

wrd #

web recall daemon — full-text search and reader for the offline web archive in ~/misc/www. Launches into live full-text search across the rendered text of every page; Tab switches to browsing by path. Selecting a result opens it in the offpunk terminal browser. Markdown is rendered to HTML with lowdown first.

Search reads a plain-text cache under $XDG_CACHE_HOME/wrd, rebuilt incrementally as pages change. Everything runs in-process.

Building #

just build wrd

Install it locally (to ~/.local/bin) with:

just deploy wrd

Usage #

wrd [scope]

Options #

Argument Description
<scope> Optional. Restrict to pages whose path contains this substring (e.g. wrd purescript)

Controls #

Key Action
type Filter results
Tab Toggle content / browse mode
↑ ↓ / Ctrl-n Ctrl-p Move selection
PgUp PgDn Page through results
Enter Open the page in offpunk
Ctrl-o Open the reconstructed live URL in offpunk
Ctrl-y Yank the live URL (wl-copy)
Ctrl-u Clear the query
Esc / Ctrl-c Quit

Requirements #

Tool Used for
offpunk Displaying pages
lowdown Markdown → HTML for display
pandoc Markdown and HTML → text for the index
wl-copy Clipboard (Ctrl-y)