Runs at, is publicly accessible but password-protected.

Setup #

Mostly follows the install guide (archived):

apt install git build-essential
curl -sL | sudo -E bash -
apt install nodejs
npm install -g bower
git clone /root/cryptpad

# In /root/cryptpad:
npm install --unsafe-perm
bower install --allow-root
# Set the config values shown below in `config.js`.
cp config/config.example.js config/config.js
mkdir customize
cp customize.dist/application_config.js customize

# Create the init script shown below.
systemctl enable cryptpad.service

Init script #

Save in /etc/systemd/system/cryptpad.service:

Description=CryptPad service

ExecStart=/usr/bin/node /root/cryptpad/server.js


Config values #

In /root/cryptpad/config/config.js:

var _domain = '';

module.exports = {
    adminKeys: [
    httpSafeOrigin: '',
    allowSubscriptions: false,
    adminEmail: 'name@mail.tld',
    defaultStorageLimit: 50 * 1024 * 1024 * 1024,

Updates #

Follow the new releases via RSS to be informed of new versions.

The releases usually contain Update notes with special steps that need to be followed. Otherwise the general upgrade procedure is as documented in the install guide:

cd /root/cryptpad
systemctl stop cryptpad.service
git pull
npm update
bower update --allow-root
systemctl start cryptpad.service

To easily check if there are new/changed config values: diff /root/cryptpad/config/config.example.js /root/cryptpad/config/config.js -y --color=always

References #