cryptpad-amnesia-store
v1.0.2
Published
storage api for cryptpad implemented as an in-memory store
Downloads
6
Readme
cryptpad-amnesia-store
An in-memory datastore for Cryptpad.
Status
Experimental.
Why?
AmnesiaDB offers no persistence, and is mostly intended to be used for testing cryptpad.
Install
npm install cryptpad-amnesia-store
Configure
{
storage: 'cryptpad-amnesia-store',
/*
This 'database' implements (limited) document expiration
Cryptpad can be configured to destroy channels some number of milliseconds
after the last user has disconnected
*/
removeChannels: false,
channelRemovalTimeout: 60000,
}
License
Available under the AGPL-3.0.