Storage API for cryptpad implemented using knex.js to expose a variety of sql datastores.
Experimental.
To provide a Cryptpad data store which fits in well with a sysadmin's existing database tooling.
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;
{
storage: 'cryptpad-sql-store',
sqlDialect: 'sqlite3',
dbConnection: {
filename: './mydb.db',
},
}
Available under the AGPLv3.0.