cryptpad-amnesia-store

storage api for cryptpad implemented as an in-memory store


Keywords
cryptpad, storage
License
AGPL-3.0
Install
npm install cryptpad-amnesia-store@1.0.2

Documentation

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.