Mirror of HackMD with some custom changes
Find a file
Sheogorath da4665c759
Respect DNT header
Do Not Track (DNT) is an old web standard in order to notify pages that
the user doesn't want to be tracked. Even while a lot of pages either
ignore this header or even worse, use it for tracking purposes, the
orignal intention of this header is good and should be adopted.

This patch implements a respect of the DNT header by no longer including
the optional Google Analytics and disqus integrations when sending a DNT
header. This should reduce outside resource usage and help to stay more
private.

This should later-on extended towards other document content (i.e.
iframe based content).

The reason to not change the CDN handling is that CDNs will be
deprecated with next release and removed in long term.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-06-08 23:43:50 +02:00
bin cleanup of the heroku configuration 2019-03-31 01:29:34 +01:00
contribute Add sign you work section in contributing and DCO 2017-10-12 01:44:55 +08:00
docs mentioning the node 6 deprecation along with the migration guide 2019-05-31 15:16:24 +02:00
lib Respect DNT header 2019-06-08 23:43:50 +02:00
locales Add vietnamese language 2019-05-26 05:34:52 +02:00
public Respect DNT header 2019-06-08 23:43:50 +02:00
test polyfilling scrypt for node 8.5+ 2019-05-13 19:37:21 +02:00
.babelrc drop node 6 support 2019-05-13 19:37:21 +02:00
.editorconfig specifying the locale jsons to be in the exact style of poeditor should cut down on unneccessary changes ('churn') 2019-04-04 12:31:38 +02:00
.eslintignore switching to eslint for code checking 2018-11-14 23:15:36 +01:00
.eslintrc.js Add no-console as a warning 2019-05-12 20:15:46 +02:00
.gitignore striving for consistency across various docs 2019-04-01 01:03:36 +02:00
.mailmap Add mailmap for contributors 2018-07-27 13:21:52 +02:00
.sequelizerc.example Create example config 2016-10-05 10:58:05 +08:00
.travis.yml travis config is now in stages 2019-05-13 19:37:22 +02:00
app.js Add vietnamese language 2019-05-26 05:34:52 +02:00
app.json cleanup of the heroku configuration 2019-03-31 01:29:34 +01:00
AUTHORS Fix file permission, remove useless executable 2017-12-14 05:05:18 +08:00
CHANGELOG.md integrating information from the old wiki 2019-04-01 01:03:36 +02:00
CODE_OF_CONDUCT.md moving code of conduct into its own file for better discoverability 2019-04-01 01:26:42 +02:00
config.json.example Added a configuration option for passport-saml: 2019-04-06 17:54:58 +02:00
CONTRIBUTING.md moving code of conduct into its own file for better discoverability 2019-04-01 01:26:42 +02:00
LICENSE Fix LICENSE content 2019-03-31 03:27:12 +02:00
package.json Merge pull request #97 from SISheogorath/fix/linting 2019-06-04 16:09:46 +02:00
README.md add mastodon badge - partially fix #70 2019-05-19 21:52:08 -04:00
webpack.common.js Remove sass-loader, to avoid confusion 2019-05-12 20:15:46 +02:00
webpack.dev.js Use webpack-merge. 2018-10-10 22:09:46 +02:00
webpack.htmlexport.js Use webpack-merge. 2018-10-10 22:09:46 +02:00
webpack.prod.js Use webpack-merge. 2018-10-10 22:09:46 +02:00
yarn.lock Update yarn.lock 2019-05-30 00:10:44 +02:00

CodiMD

#CodiMD on matrix.org build status version POEditor Mastodon

CodiMD lets you create real-time collaborative markdown notes. You can test-drive it by visiting our CodiMD demo server.

It is inspired by Hackpad, Etherpad and similar collaborative editors. This project originated with the team at HackMD and now forked into its own organisation. A longer writeup can be read in the history doc.

CodiMD 1.3.2 with its feature demonstration page open

Community and Contributions

We welcome contributions! There's a lot to do: If you would like to report bugs, the issue tracker is the right place. If you can help translating, find us on POEditor. To get started developing, take a look at the docs/dev directory. In any case: come talk to us, we'll be delighted to help you with the first steps.

To stay up to date with our work or get support it's recommended to join our Matrix channel, stop by our community forums or subscribe to the release feed. We also engage in regular community calls (RSS) which you are very welcome to join.

Installation / Upgrading

You can run CodiMD in a number of ways, and we created setup instructions for all of these:

If you do not wish to run your own setup, you can find a commercial offering at https://hackmd.io. This is not the same codebase as this one, but it is a very similar project.

Configuration

Theres two main ways to configure your CodiMD instance: Config file or environment variables. You can choose what works best for you.

CodiMD can integrate with

  • facebook, twitter, github, gitlab, mattermost, dropbox, google, ldap, saml and oauth2 for login
  • imgur, s3, minio, azure for image/attachment storage (files can also be local!)
  • dropbox for export and import

More info about that can be found in the configuration docs above.

Browser support

To use CodiMD, your browser should match or exceed these versions:

  • Chrome Chrome >= 47, Chrome for Android >= 47
  • Safari Safari >= 9, iOS Safari >= 8.4
  • Firefox Firefox >= 44
  • IE IE >= 9, Edge >= 12
  • Opera Opera >= 34, Opera Mini not supported
  • Android Browser >= 4.4

Our community has created related tools, we'd like to highlight codimd-cli which lets you use CodiMD from the comfort of your command line.

License

Licensed under AGPLv3. For our list of contributors, see AUTHORS.