Create real-time collaborative markdown notes
open sourceAGPL-3.0-onlyself-hostablefree
Forked from HackMD in 2018. The HackMD team proposed replacing the community's CodiMD code with their open-core rewrite of HackMD EE, relicensed under Apache 2.0; the community wanted to keep its code and the AGPLv3 licence
HedgeDoc is a self-hosted web app for writing Markdown notes together in real time, with a live preview, revisions, per-note permissions and slide decks powered by reveal.js. Notes can hold Mermaid and Graphviz diagrams, UML sequence diagrams and flow charts, MathJax formulas, abc music notation and embedded YouTube, Vimeo, Gist and PDF content, and users can sign in with email, LDAP, SAML, OAuth2 and OpenID Connect, GitHub, GitLab and other providers. It's the community-driven fork of CodiMD, the open source edition of HackMD: the community forked it in 2018 and renamed it HedgeDoc in 2020. HedgeDoc 1.x is the stable release and is now maintenance-only, while HedgeDoc 2, a complete rewrite with a separate backend and frontend, is in alpha (demo at hedgedoc.dev). It's licensed under the AGPL and runs on Node.js with PostgreSQL, MariaDB, MySQL or SQLite, or from the official container image.
Ways to install
On your own server
Hosted for you
Problems it solves
- a self-hosted HackMD alternative for our team's shared Markdown notes
- write meeting notes in Markdown together and see the rendered preview as we type
- turn a Markdown note into a slide deck I can present from the browser
- draw Mermaid and Graphviz diagrams inside a shared note
- write math with LaTeX formulas in collaborative lecture notes
- let colleagues edit a note only after logging in with our LDAP or SAML directory
- share a read-only link to a Markdown document while only some people can edit it
- go back to an older version of a shared note after someone deleted a section
- a lightweight collaborative Markdown editor that runs on a Raspberry Pi
- a CodiMD replacement that's still maintained
- publish a Markdown note as a clean web page for people outside the team
- create notes from a script through HTTP requests and download their Markdown
- a hackathon notepad where anyone with the link can start writing straight away
- store images pasted into shared notes in our own S3 or MinIO bucket
Features
- real-time collaborative Markdown editing with edit, view and split modes
- slide mode powered by reveal.js
- revisions that let you revert to any older version
- note permissions chosen from a dropdown, including read-only links and private notes
- Mermaid, Graphviz, flow chart and UML sequence diagrams, and abc music notation
- MathJax for LaTeX formulas
- embeds for YouTube, Vimeo, Gist and PDF
- table of contents, tags, YAML metadata, to-do lists and emoji
- save to Dropbox or as Markdown, HTML or raw HTML, and import Markdown from Dropbox or the clipboard
- image uploads to the filesystem, S3, MinIO, Azure, imgur or lutim
View 4 more
- sign-in with email, LDAP, SAML, OAuth2/OIDC, GitHub, GitLab, Google, Dropbox, Mattermost, Facebook and Twitter
- HTTP API with an OpenAPI description for notes, revisions and history; Prometheus /metrics endpoint
- PostgreSQL, MariaDB, MySQL or SQLite
- official container image on quay.io
Limitations
- Doesn't export notes to PDF: the feature was removed over security problems, so use the browser's print to PDF67
- Doesn't support running several instances against one database: it leads to missing or broken content6
Capabilities
| Has an API | plan not known |
|---|---|
| Has single sign-on | plan not known |
Alternatives
The same job
These do what HedgeDoc does.
- HackMD Build together with the ultimate Markdown editor
- CryptPad Collaborative office suite, end-to-end encrypted and open-source
- Etherpad Real-time collaborative editing where authorship is the default
- Outline The fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.
- Docmost Open-source collaborative wiki and documentation software, an alternative to Confluence and Notion
- Notion Connected workspace for docs, wikis, databases and AI
