# dillo-history Persistent history saving for [Dillo][]. This project contains: - A patch for dillo to make it save each resource from its cache to disk, and record entries in a history file. - A plugin for dillo to view the history file and its entries. The history file is `~/.dillo/history.txt` and its format is TSV. Each entry contains a timestamp, SHA256 content hash, and URL. The plugin serves requests of the form `history:[][/]` where `` is the number of entries to show (default is 35) and `` is a regex to grep for the history files (for URL, hash, and/or timestamp) (default is to show all entries). ## Screenshot ![dillo-history-screenshot.png](&REcIx+kvUF2vQt0PDyb49f2q4qDEZ08b07hlskwScMI=.sha256 "Screenshot showing dillo-history) The content hashes are in [SSB blob format][ssb links]: `&XXX.sha256`) where XXX is the content hash in base64. Their contents are saved as files in [SSB's blob store][ssb-blobs] at `~/.ssb/blobs/sha256/XX/XXXX...` where `XXXXX...` is the content hash in hexadecimal, lowercase. [Dillo]: https://www.dillo.org/ [ssb links]: https://github.com/ssbc/docs/blob/master/ssb/linking.md [ssb-blobs]: https://github.com/ssbc/ssb-blobs ## Install Install the plugin with `make install && dpidc stop`. Install the patch by downloading Dillo's source code, applying the patch and compiling dillo. ## License MIT