arso-project / sonar

A p2p content database and search engine
https://sonar.arso.xyz/
GNU General Public License v3.0
121 stars 6 forks source link

Remove hyperdrive and store blobs in hyperblobs. #83

Closed Frando closed 2 years ago

Frando commented 2 years ago

After the recent changes towards storing file metadata in regular records, we used hyperdrive only as a simple blob store. For this usecase, we don't need the abstractions that hyperdrive offers, and can instead use the much simpler Hyperblobs module.

See https://github.com/andrewosh/hyperblobs for more on the module.

This should have no public-facing API changes apart from the removal of the listDrives client function.