Erik Michelson 3324bf1b2f fix(config): adjust media config type to Zod schema
Our config error messages are generated from the nested
Zod schema for the config. This means, if the path for
the type of media backend to use is
  mediaBackend.type
then the env variable should be
  HD_MEDIA_BACKEND_TYPE

Previously, we used some custom env variable names
like
  HD_MEDIA_BACKEND

This however resulted in the message that the env
variable HD_MEDIA_BACKEND is not set even if it was,
or the other way around, because the generated error
messages were not fitting the actual variable name.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-21 10:56:57 +01:00
2025-12-17 21:48:09 +01:00
2025-08-14 13:45:06 +00:00
2023-02-07 21:38:40 +01:00
2022-12-01 23:51:51 +01:00
2023-10-08 21:57:01 +02:00
2023-10-08 21:57:01 +02:00
2023-07-11 21:17:19 +02:00
2024-09-26 16:44:08 +02:00

HedgeDoc Logo

#HedgeDoc on matrix.org version POEditor Mastodon 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.

Languages
TypeScript 96%
SCSS 3%
JavaScript 0.7%
Dockerfile 0.1%
Shell 0.1%