1. nejucomo
  2. chkstore

Source

chkstore /

Filename Size Date modified Message
chkstore
15 B
35.1 KB
782 B
3.2 KB

chkstore - A library and commandline tool for Content-Hash-Key storage on a local filesystem.

Content-Hash-Keyed means the lookup key is based on some deterministic function of the contents. Ideally this function has the properties of a cryptographic hash function. This tool is hardcoded to use sha256.

The file names of completely inserted entries contain this key so that indexing is performed mostly by the filesystem.

The storage directory is "self-describing" which a _README_ which explains the storage format, so that backup archaelogists of the future can grok the contents.

This is a no-networking, no-futuristic-decentralization, little cousin of freenet, tahoe-lafs, camlistore, and many others, which cherry-picks their great ideas for a much simpler use case.