HedgeDoc
A self-hosted collaborative Markdown editor for writing and sharing notes in real time.
Why consider HedgeDoc?
HedgeDoc is an open-source, web-based collaborative markdown editor that allows teams to write and share notes, diagrams, and slide presentations in real-time.
Learn HedgeDoc by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide4 sections
Collaborative Note-Taking with HedgeDoc
Writing and organizing documentation collaboratively often requires balancing live editing speed with data ownership and privacy. As highlighted on the official project website, HedgeDoc is an open-source, web-based, self-hosted, collaborative markdown editor. It allows teams to work together on technical documentation, research notes, and meeting summaries while keeping complete control over their hosting infrastructure and storage environments.
Real-Time Markdown and Multimedia Collaboration
Collaboration in modern engineering workflows extends beyond plain text to include visual diagrams and interactive presentation decks. According to the official homepage, you can use it to easily collaborate on notes, graphs and even presentations in real-time. By leveraging reveal.js under the hood, teams can transform standard markdown files into structured slide decks directly within the browser without installing additional software.
Security and granular sharing permissions are critical when hosting shared knowledge bases across different organizational roles. As noted on the HedgeDoc site, users can manage permissions of your notes with a simple dropdown selection. This lets document owners toggle access between private, protected, and freely editable states depending on whether notes are meant for internal drafting or public viewing.
The software architectural lineage traces back to foundational open-source collaborative editing tools. As stated in the official HedgeDoc README, it is inspired by Hackpad, Etherpad and similar collaborative editors. Originally created as CodiMD before rebranding to HedgeDoc, the project retains a lightweight architecture while refining operational transformation for concurrent document edits.
Access Control and System Integrations
Administrators have flexible options when deploying and tailoring the application to their infrastructure requirements. According to the project README, theres two main ways to configure your HedgeDoc instance: config file or environment variables. This dual configuration capability allows operators to manage instances using declarative JSON files or standard twelve-factor environment variables.
Enterprise deployments frequently demand seamless integration with centralized identity providers and existing single sign-on stacks. As documented in the repository documentation, HedgeDoc can integrate with facebook, twitter, github, gitlab, mattermost, dropbox, google, ldap, saml and oauth2 for login. These authentication connectors simplify access management without forcing teams to maintain isolated user credentials.
Handling file uploads and media attachments efficiently requires robust object storage integration. Based on the official README guide, supported backends include imgur, s3, minio, azure for image/attachment storage while also supporting direct local filesystem storage. This versatility allows administrators to store uploaded assets in self-hosted S3-compatible buckets or cloud services.
Docker Deployment and Administration
Deploying HedgeDoc via containerization provides a straightforward, isolated runtime environment for server administrators. As detailed in the official Docker documentation, the official docker images are available on quay.io for both amd64 and arm64 architectures. This multi-architecture support ensures reliable operation on both conventional x86 servers and energy-efficient ARM instances like single-board computers.
To launch your containerized setup quickly using Docker Compose, navigate to your project directory containing your compose definition and execute:
docker-compose upOnce the container is initialized, you can access the HedgeDoc interface in your web browser at port 3000.
Maintaining regular database backups ensures data durability and quick disaster recovery for all collaborative notes. As outlined in the Docker setup guide, if you use a PostgreSQL database, you can leverage this command to create a backup:
docker-compose exec database pg_dump hedgedoc -U hedgedoc > backup.sqlLicensing and Project Community
Open-source licensing and governance guarantee that HedgeDoc remains accessible, inspectable, and community-driven. According to the official license file, HedgeDoc is distributed as free software under the GNU Affero General Public License Version 3. This copyleft license protects user freedoms by ensuring that improvements and server modifications remain open source and available to the wider community.
Related tools
More options with a similar category or technology profile.
MISP
Open source threat intelligence and cyber security information sharing platform.
Zulip Mobile
Official React Native mobile application for Zulip organized team chat.
Wire Server
End-to-end encrypted enterprise team communication, conferencing, and file sharing platform.
Signal Server
Enterprise-grade end-to-end encrypted messaging server infrastructure powering Signal.