HedgeDoc - Ideas grow better together
Find a file
Erik Michelson e8793271a0 enhancement(caddy): expose :8080 by default, trust private proxies
This commit changes the caddyfile to not directly rely on the
HD_BASE_URL environment variable, but instead default to port 8080 as
used in our package.json scripts and docs.
The caddy domain can optionally be overridden using the CADDY_HOST env
variable.
Furthermore, this change adds a section to trust reverse-proxies in
front of Caddy if they are in a private range IP address network.
Both these changes are required to be able to expose a local development
setup with another domain than localhost to a co-developer. With
this change it works without having Caddy trying to generate TLS
certificates for that domain nor HedgeDoc erroring about a origin
mismatch, that occurs as Caddy doesn't forward specific headers
otherwise.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-09-18 17:56:25 +02:00
.github chore(deps): update docker/build-push-action action to v6 2024-08-31 18:12:25 +02:00
.idea/copyright chore(reuse): remove unneeded license file 2023-10-24 11:26:16 +02:00
.yarn chore(deps): update yarn to v4.4.1 2024-09-02 16:38:54 +02:00
backend fix(docker): update docker documentation reference 2024-09-17 01:35:45 +02:00
commons feat(auth): refactor auth, add oidc 2024-09-11 21:29:49 +02:00
dev-reverse-proxy enhancement(caddy): expose :8080 by default, trust private proxies 2024-09-18 17:56:25 +02:00
docker
docs enhancement(caddy): expose :8080 by default, trust private proxies 2024-09-18 17:56:25 +02:00
frontend fix(deps): update dependency next to v14.2.10 [security] 2024-09-18 08:42:35 +00:00
html-to-react chore(deps): update yarn to v4.4.1 2024-09-02 16:38:54 +02:00
LICENSES
markdown-it-plugins chore(deps): update yarn to v4.4.1 2024-09-02 16:38:54 +02:00
.dockerignore
.env.example
.env.example.license
.gitattributes
.gitignore chore(gitignore): ignore rathole proxy config with secrets 2024-09-18 17:56:25 +02:00
.mailmap
.mailmap.license
.nvmrc chore(deps): update dependency node to v20.17.0 2024-08-29 12:39:23 +02:00
.nvmrc.license
.yarnrc.yml chore(deps): update yarn to v4.4.1 2024-09-02 16:38:54 +02:00
AUTHORS
CODE_OF_CONDUCT.md
codecov.yml
CONTRIBUTING.md fix CODE_OF_CONDUCT.md file url , inside CONTRIBUTING.md 2023-10-19 19:30:49 +02:00
developer-certificate-of-origin.txt
developer-certificate-of-origin.txt.license
LICENSE
package.json chore(deps): update yarn to v4.4.1 2024-09-02 16:38:54 +02:00
package.json.license
README.md Change to direct link 2024-01-12 09:41:07 +01:00
renovate.json ci: remove netlify deployment workflow 2024-07-30 08:48:38 +02:00
renovate.json.license
REUSE.toml refactor(backend): rename auth to public-auth-token 2024-09-02 10:33:08 +02:00
SECURITY.md
turbo.json fix: migrate turbo.json 2024-08-31 12:53:53 +02:00
turbo.json.license
yarn.lock fix(deps): update dependency next to v14.2.10 [security] 2024-09-18 08:42:35 +00:00
yarn.lock.license

HedgeDoc Logo

#HedgeDoc on matrix.org version POEditor Mastodon Twitter REUSE Compliance Check Nest.JS CI codecov

HedgeDoc lets you create real-time collaborative markdown notes.

Getting Started

State of the project

HedgeDoc 1.x is stable and used around the world, but the codebase has grown over time, making it hard to add new features.
We are currently working on HedgeDoc 2, a complete rewrite of HedgeDoc. Please note the following:

  • This branch contains the latest development code and does not implement all features yet. If you are looking for the 1.x source code, have a look at the master branch.
  • The 1.x release is maintenance-only. We do not accept feature requests or PRs for this release anymore and may choose to close non-critical bug reports, if the bug will be non-existent in 2.0.
  • HedgeDoc 2 will be split in two components. The backend and the frontend. Both are present in this repository.

Development

Information for setting up a local development environment can be found in the developer documentation

HedgeDoc 2 Alpha

Curious about the new look and feel of HedgeDoc 2? We provide a demo of the alpha on hedgedoc.dev.

If you want to try it out on your own devices, visit the HedgeDoc 2 docs. But be aware that these may change over time.

Contributions

We welcome contributions!
Have a look at our contribution docs to find out how you can help. If you want to contribute to HedgeDoc 2, please join our development chat.

License

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

The license does not include the HedgeDoc logo, whose terms of usage can be found in the github repository.