Skip to content

Files

Latest commit

6261878 · Jun 1, 2022

History

History
This branch is 3054 commits behind cryptpad/cryptpad:main.

customize.dist

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 15, 2021
May 13, 2022
Apr 25, 2022
Jun 1, 2022
Jun 1, 2022
Apr 13, 2022
Nov 10, 2020
Mar 22, 2022
Oct 22, 2020
Feb 9, 2021
Jun 9, 2020
Apr 20, 2020
Mar 16, 2021
Nov 10, 2020
Feb 1, 2018
Dec 29, 2020
Nov 10, 2020
Mar 25, 2022
Nov 10, 2020
Feb 26, 2021
Nov 22, 2021
Nov 6, 2020
May 31, 2021
Apr 19, 2022
May 20, 2022
Dec 28, 2016
Apr 4, 2022

Customizing CryptPad

In order allow a variety of features to be changed and to allow site-specific changes to CryptPad apps while still keeping the git repository pristine, this directory exists to allow a set of hooks to be run.

The server is configured to load files from the /customize/ path preferentially from cryptpad/customize/, and to fall back to cryptpad/customize.dist/ if they are not found

If you wish to customize cryptpad, please copy /customize.dist/ to /customize and then edit it there, this way you will still be able to pull from (and make pull requests to (!) the git repository.

Files you may be interested in

  • index.html is the main page
  • main.js contains javascript for the home page
  • application_config.js allows you to modify settings used by the various applications
  • messages.js contains functions for applying translations to various pages
    • look inside /translations/ for the rest of the files which contain translated strings
  • /share/ implements an iframe RPC which allows multiple domains to access the same localStorage
  • /src/ contains source files for html and css (in the form of html templates and .less stylesheets)

All other content which is placed in this directory will be referencable at the /customize/ URL location.