Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (25 loc) · 704 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 704 Bytes

cryptpad-sql-store

Storage API for cryptpad implemented using knex.js to expose a variety of sql datastores.

Status

Experimental.

Why?

To provide a Cryptpad data store which fits in well with a sysadmin's existing database tooling.

Install

Installation requirements for this module depend on which back end you would like to use.

See the knex documentation for more details.

cd /path/to/cryptpad;
npm install cryptpad-sql-store;

Configure

{
    storage: 'cryptpad-sql-store',
    sqlDialect: 'sqlite3',
    dbConnection: {
        filename: './mydb.db',
    },
}

License

Available under the AGPLv3.0.