1.0.2 • Published 7 years ago

cryptpad-amnesia-store v1.0.2

Weekly downloads
3
License
AGPL-3.0
Repository
github
Last release
7 years ago

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.