You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cryptpad/customize.dist
ansuz 8e263ab302 Merge branch 'soon' into main 4 years ago
..
fonts update cptools 5 years ago
images
pages List premium features only with subscriptions 5 years ago
src Hide/show TOC in rich text 4 years ago
translations Add Hindi translation 5 years ago
404.html
CryptPad-white-logo.svg
CryptPad_logo_color.svg
CryptPadlogo_op5.svg
about.html
alt-favicon.png
application_config.js remove hardcoded supportLanguage config value 5 years ago
bg14.jpg
bkabout.jpg
bkregister.jpg
bkwhat.jpg
ckeditor-config.js Comments prototype 5 years ago
ckeditor-contents.css CkEditor export 4 years ago
code.svg
contact.html
cryptofist_mini.png
cryptofist_small.png
cryptpad-new-logo-colors-logoonly.png
delta-words.js
faq.html
features.html
four-oh-four.js
index.html
loading-logo.png
loading.js Fix freeze effect after typing a wrong password in login/register 5 years ago
login.js Store language settings in the user object 5 years ago
main-favicon.png
main.js
maintenance.html
messages.js Finnish language renamed in a correct way 4 years ago
pages.js update version to 3.22.0 (WoollyMammoth) 4 years ago
privacy.html
readme.md
source-branch.svg
template.js
terms.html
testimonial.svg
what-is-cryptpad.html

readme.md

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.