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
yflory a41d70ab6b Fix XXX 4 years ago
..
favicon Add docs favicon to master SVG 4 years ago
fonts Remove Neuropolitical font 4 years ago
images
old_logos
pages deduplicate 'getPrettySize' and similar variants 4 years ago
src Fix XXX 4 years ago
translations
404.html Use new favicon in static pages 4 years ago
CryptPad_logo.svg
CryptPad_logo_grey.svg Update grey logo and use in empty Code and Slides 4 years ago
application_config.js
ckeditor-config.js
ckeditor-contents.css
contact.html
delta-words.js
down.html
features.html
four-oh-four.js
index.html
loading.js annotate unusual translation keys so our script recognizes them 4 years ago
login.js stop calling a function that hasn't existed for 4 months 4 years ago
main-favicon.png
main.js
maintenance.html
messages.js remove outdated translation checks 4 years ago
pages.js Re-order elements in static pages navigation and footer 4 years ago
privacy.html
readme.md
template.js
terms.html
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.