Today's Deep-Dive: hedgedoc
Ep. 28

Today's Deep-Dive: hedgedoc

Episode description

Today, we’re diving into HedgeDoc, an open-source, self-hosted, collaborative markdown editor often described as “Google Docs for markdown lovers.” It’s a web-based platform that facilitates real-time collaboration, letting users write and work together seamlessly without needing downloads or installations. HedgeDoc’s features include a presentation mode for turning notes into slides, and it supports graphs and diagrams, making it versatile for both text and visual content.

HedgeDoc originated from HackMD, a collaborative markdown platform popular within the tech community. HackMD split into an enterprise and a community version, with the latter evolving into Coding MD, and eventually HedgeDoc. This journey reflects the community’s commitment to transparency and control over their data, embodying a movement toward user-driven, open-source software.

Among HedgeDoc’s FAQs, one common question is whether multiple instances can run on the same database. Unfortunately, the answer is no, as HedgeDoc instances need dedicated space to prevent conflicts and data loss. For high availability, it’s best to ensure one instance is always active to reduce downtime.

https://hedgedoc.org/

Download transcript (.srt)
0:00

All right, welcome back, everybody.

0:01

Today, we're going to do a deep dive into HedgeDoc.

0:05

Ooh, excited.

0:06

It's exciting, right?

0:07

So HedgeDoc is a collaborative markdown editor.

0:10

Sounds interesting.

0:11

Yeah.

0:12

And we have a bunch of different sources today.

0:14

We've got excerpts from their FAQ, their about page, and even a peek into his history.

0:20

Ooh, fun.

0:21

Yeah.

0:21

So think about it this way.

0:23

Imagine you want to use a tool that lets you write and work together

0:29

online seamlessly and then HedgeDoc pops up.

0:32

Like what do you absolutely need to know about them?

0:35

Yeah.

0:35

The need to knows.

0:36

Yes, exactly.

0:37

That's what we're going to uncover today.

0:39

We're like HedgeDoc detectives.

0:41

Yes.

0:41

We're on the case.

0:43

Got to get the clues.

0:44

Exactly.

0:44

So the first clue is figuring out what it actually is.

0:47

Right.

0:48

We got to start with the basics.

0:49

Yeah.

0:50

What is this thing?

0:51

And their about page says it's like Google docs for markdown lovers.

0:56

Ooh, I like that.

0:58

Yeah.

0:58

It's a very catchy tagline, but I'm like, okay, but what is it really?

1:02

What's the deeper story?

1:03

Yeah.

1:03

What's the deeper story?

1:05

So imagine a platform where you can write and collaborate in real time, just

1:10

like Google docs, but with the power and the simplicity of markdown.

1:15

Right.

1:15

Okay.

1:15

That's HedgeDoc in a nutshell, but it gets really interesting here.

1:19

It's also open source and self-hosted.

1:22

Okay.

1:22

Hold on.

1:22

Open source.

1:23

Yes.

1:24

So like anyone can see the code tinker with it, even build their own versions

1:29

if they want to.

1:30

Absolutely.

1:31

It's all about transparency and community collaboration.

1:34

And the self-hosted part means that you or your organization could

1:40

host it on your own servers.

1:41

Okay.

1:42

So you don't have to rely on big tech companies to store your data.

1:45

So it's like having your own little like writing and collaboration hub with

1:50

like total control over your data.

1:52

That's a big deal.

1:53

I feel like these days.

1:54

It is a big deal, especially with all the concerns about data privacy and

1:57

security these days.

1:58

Right.

1:59

Exactly.

1:59

Okay.

2:00

So we've got like the control aspect, but let's not forget about the

2:04

features, like what can you actually do with this thing?

2:07

Okay.

2:07

Well, first off, it's all web-based.

2:08

Okay.

2:09

So no need for downloads or installations or any of that.

2:13

Oh, nice.

2:13

Convenient.

2:14

Super convenient.

2:15

You can access it from anywhere as long as you have an internet connection.

2:18

Perfect.

2:19

And remember that real-time collaboration we were talking about?

2:22

It's built right in.

2:23

You can have multiple people working on the same document at the same time.

2:27

So no more like emailing drafts back and forth or trying to

2:30

merge like different versions.

2:32

Well, more of that.

2:32

It just streamlines the entire process.

2:35

Awesome.

2:35

Okay.

2:35

Yeah.

2:36

So that's a big plus.

2:37

What else?

2:38

Well, it also has a presentation mode.

2:40

Oh, wow.

2:41

So you can turn your notes into slides for sharing.

2:44

That's fancy.

2:45

It is quite fancy and it even supports graphs and diagrams.

2:49

Oh, cool.

2:50

Yeah, which is perfect if you're a visual learner or if you just want to add some,

2:53

you know, yeah, some spice, some pizzazz to your presentation, a little razzle

2:58

dazzle.

2:58

Okay.

2:58

So it sounds like a one-stop shop.

3:01

It really is for collaborative writing presenting.

3:05

But I gotta say something about the name HedgeDoc.

3:08

It's a little unusual.

3:09

Yeah.

3:09

You've got a keen eye for detail there.

3:11

Where'd it come from?

3:12

Ria?

3:12

Yeah.

3:13

There's a whole backstory there.

3:15

It wasn't always called HedgeDoc.

3:17

Really?

3:17

In fact, it's gone through a few different name changes.

3:19

Ooh, I love OriginStory.

3:21

Yeah.

3:21

Each one marks a different step in its evolution.

3:24

Okay.

3:24

Let's rewind the tape, see where it all began.

3:26

All right.

3:27

So picture this.

3:27

It all started with a platform called HackMD.

3:33

HackMD.

3:34

Does that ring a bell for anybody?

3:36

It might.

3:37

I feel like I've heard that before.

3:38

It was pretty popular in the tech community.

3:40

It was this awesome collaborative markdown platform.

3:44

Okay.

3:44

But eventually it's split into two branches, a community version and an

3:48

enterprise version.

3:49

Ah, it's like a family tree branching out.

3:51

Exactly.

3:52

And to avoid confusion, the community driven version was renamed Coding MD.

3:58

Coding MD.

3:59

Okay.

3:59

So Coding MD was essentially the open source community driven offspring of HackMD.

4:04

You got it.

4:05

But the story doesn't end there.

4:07

Oh no, there's more.

4:10

The community decided to take things a step further.

4:13

Okay.

4:14

They decided to create a completely independent project.

4:19

Wow.

4:19

Based on Coding MD and that my friend is how HedgeDock was born.

4:24

So HedgeDock is like the grandchild of HackMD carrying on the legacy of open

4:29

source collaboration, but forging its own path.

4:32

Yes.

4:32

That's pretty cool.

4:33

It is really cool.

4:34

And that spirit of community really permeates everything about HedgeDock.

4:38

Yeah, I love that.

4:39

It's not just about using a tool.

4:40

It's about being part of a movement toward more transparent, collaborative

4:45

and user driven software development.

4:47

I'm here for it.

4:48

Me too.

4:48

Okay, so that's all really cool.

4:50

But let's get down to brass tacks.

4:52

Okay.

4:52

People have questions about HedgeDock.

4:54

Sure.

4:54

Like those practical, everyday concerns that might come up when you're

4:58

thinking about using it.

4:59

That's where these FAQs come in handy.

5:01

Exactly.

5:01

And we have some, they're a treasure trove of real world questions and

5:05

thankfully answers.

5:06

We need those.

5:07

Yes.

5:07

So let's dive into some of these and see what we can clear up.

5:10

Let's do it.

5:11

What are some of the common questions that people have about HedgeDock?

5:14

So one that we see a lot is, can I run multiple HedgeDock instances on the

5:18

same database?

5:19

Okay.

5:20

And the answer is unfortunately, no.

5:22

That's a bummer.

5:24

Why not?

5:25

I know.

5:26

It seems like it'd be handy.

5:27

Yeah.

5:27

Like different teams, different projects.

5:28

Yeah.

5:29

For different projects.

5:30

Yeah.

5:30

But it seems that the HedgeDock server process is not entirely stateless.

5:35

Okay.

5:36

So each instance needs its own space to avoid conflicts and potential data loss.

5:42

They recommend a system that ensures that one instance is always running

5:45

for high availability setups.

5:47

Okay.

5:48

So you minimize any downtime.

5:50

Right.

5:50

Okay.

5:50

So multiple instances on the same database.

5:53

Yeah.

5:53

No go.

5:54

No go.

5:54

It's a no for me.

5:55

Okay.

5:56

What else are people wondering about?

5:57

Another common question is about the missing PDF export feature.

6:02

Oh, really?

6:03

Yeah.

6:03

So you can't like download your notes as a PDF easily anymore.

6:07

Not as easily as you used to be able to.

6:09

What happened?

6:10

Well, they used to have a PDF export feature, but it relied on something

6:15

called a headless chromium instance.

6:17

Okay.

6:18

And turns out that created some potential security vulnerabilities.

6:22

Oh, no.

6:23

So they decided to pull the feature for now to prioritize user safety.

6:27

Okay.

6:27

So they're like hitting the pause button.

6:29

Yeah, they're hitting pause to make sure everything is secure and sound.

6:32

Better safe than sorry.

6:33

Exactly.

6:34

For now, they suggest using your browser's print to PDF function as a

6:38

workaround, but they are working on bringing back a secure PDF export option.

6:43

Awesome.

6:44

Glad to hear that.

6:44

Yeah.

6:45

So speaking of security, there are a couple of questions about embedding.

6:48

Yes.

6:49

So why can't you embed like certain PDFs or even HedgeDoc notes on

6:53

other pages using iframes?

6:54

It all comes down to security again.

6:56

It seems to be a recurring theme.

6:58

Security first.

6:59

Yes.

7:00

Many servers are set up to prevent their content from being embedded on other

7:04

websites to avoid things like clickjacking or cross site scripting attacks.

7:10

So it's not that HedgeDoc is being difficult.

7:13

It's actually the server where that content live saying, Nope, not on my watch.

7:18

Right.

7:19

Okay.

7:19

They do provide options to enable embedding if you absolutely need to do that.

7:24

Okay.

7:24

But they strongly advise against it.

7:26

Okay.

7:26

They even highlight specific configurations you would need to adjust.

7:30

Getting technical.

7:32

They can get a little technical.

7:33

All right.

7:34

So proceed with caution.

7:35

Yes.

7:36

Do your research and do your research if you are going to try to embed.

7:40

Exactly.

7:41

All right.

7:41

What other like FAQ gems do we have?

7:44

Let's talk about uploads.

7:45

Okay.

7:45

Sometimes people run into issues with uploading images or files getting stuck.

7:49

Yes.

7:51

I hate when that happens.

7:52

I know.

7:53

It's frustrating.

7:53

Very frustrating.

7:54

But more often than not, it's a simple fix.

7:56

Okay.

7:57

The culprit is usually a missing or incorrect domain setting in the configuration.

8:02

Uh, like a typo in the web address.

8:04

Exactly.

8:05

Easy mistake to make.

8:06

Yeah.

8:07

Thankfully easy to fix.

8:08

They have a whole section on reverse proxy configuration that explains this in detail.

8:14

So don't panic.

8:15

Don't panic.

8:16

It's all good.

8:16

If you run into that issue, you got this.

8:18

Okay.

8:19

Any other common hiccups?

8:20

Yeah.

8:21

One more that often trips people up is related to migrations.

8:26

Okay.

8:26

Sometimes HedgeDoc might fail to start properly because of migration issues

8:32

stemming from older versions.

8:34

So they had some bugs that didn't always record whether a migration was

8:38

successfully completed.

8:39

When you say migrations, you mean like...

8:41

Like moving your data from an older version of HedgeDoc to a newer one.

8:44

Gotcha.

8:45

Okay.

8:45

And they've created a dedicated troubleshooting guide for this specific issue.

8:51

Okay.

8:52

So you're not alone.

8:53

If you run into it, there's a clear path to resolution.

8:56

That's good.

8:56

It's reassuring to know that they've got these resources to help you.

8:59

Yeah.

8:59

So we've covered a lot.

9:01

We have.

9:01

We've got the features.

9:02

Yes.

9:03

We've got the name game.

9:04

We even tackled some common concerns.

9:07

Yeah.

9:07

But let's take a step back.

9:09

Like, what's the bigger picture here?

9:10

Yeah, that's the real question.

9:11

What makes HedgeDoc truly stand out?

9:14

Because it's more than just a set of features.

9:16

It represents like a philosophy, a shift in how we think about online collaboration.

9:23

Okay.

9:23

I'm intrigued.

9:24

Let's explore that.

9:25

What is so unique about HedgeDoc's approach?

9:28

Well, it really flips the script on traditional software models.

9:33

Okay.

9:34

It's not about a company controlling your data.

9:37

Right.

9:37

And dictating how you collaborate.

9:39

Right.

9:39

It's about empowering users to take ownership.

9:42

Okay.

9:42

So with its open source nature, anyone can contribute to its development,

9:48

shape its future direction.

9:49

So it's kind of like a community garden.

9:51

Yeah.

9:51

But for software.

9:53

I love that analogy.

9:54

Where everyone's pitching in to cultivate something awesome.

9:57

Exactly.

9:58

And the self-hosting aspect adds another layer of control.

10:02

Right.

10:02

You're not entrusting your data to a third party.

10:05

Okay.

10:05

You're holding the keys, deciding where it resides, who has access.

10:09

It's like having your own little digital vault for all your collaborative projects.

10:14

Yeah.

10:14

For your secret documents.

10:16

Top secret.

10:17

And especially in an age where data breaches and privacy concerns are

10:22

constantly making headlines.

10:23

Exactly.

10:24

It's so refreshing to see a platform that prioritizes user control and transparency.

10:30

For sure.

10:31

But how does this translate to like the everyday user?

10:34

Yeah.

10:34

Like why should they care about HedgeDoc?

10:36

Well, let's say you're working on a project with a team.

10:39

Okay.

10:39

Could be a report, a presentation, brainstorming for a new product launch.

10:44

Yeah.

10:45

HedgeDoc provides this virtual space where everyone can contribute in real time.

10:50

Right.

10:51

See each other's edits as they happen and build upon ideas collaboratively.

10:55

So it's like having a shared whiteboard that everyone can access.

10:58

Exactly.

10:59

Yeah.

10:59

No matter where they are.

11:01

So no more juggling multiple versions of a document or...

11:04

Exactly.

11:04

... struggling to merge everyone's changes.

11:06

It just streamlines that whole process.

11:08

Right.

11:09

And because it uses Markdown, which is a very simple, intuitive markup language,

11:14

the focus stays on the content, not on complex formatting.

11:19

Okay.

11:20

It's all about getting those ideas down quickly and efficiently.

11:23

I mean, I'm all about simple and efficient.

11:25

So that's a huge plus for me.

11:26

Me too.

11:27

And I love that it goes beyond just text.

11:31

Right.

11:31

You mentioned presentation mode.

11:33

Yes.

11:33

And the support for graphs and diagrams.

11:36

Absolutely.

11:37

So you can elevate that collaboration beyond just words.

11:42

Imagine seamlessly transitioning from brainstorming in a shared document to

11:48

presenting those ideas in a visually engaging way, all within the same platform.

11:53

Yeah.

11:53

Yeah.

11:54

I'm starting to see the bigger picture here.

11:55

Good.

11:56

It's not just collaborative writing.

11:57

Yeah.

11:57

It's like collaborative knowledge creation.

12:00

It is.

12:00

From brainstorming and drafting to presenting and sharing and all this with

12:05

a strong emphasis on user control, transparency, community involvement.

12:10

That's HedgeDoc.

12:11

Yeah.

12:11

It's like a breath of fresh air.

12:13

I feel like in a digital landscape dominated by closed platforms, data

12:19

hungry corporations, but let's not get ahead of ourselves.

12:23

What about the nitty gritty technical details?

12:26

Let's get into it.

12:27

We talked about self-hosting, which might sound intimidating to some.

12:31

I can see that.

12:32

Is it really feasible for like individuals or small teams?

12:38

Yeah.

12:39

Is it realistic to set up their own HedgeDoc instance?

12:41

It's a great question and an understandable concern.

12:44

Yeah.

12:45

But here's the good news.

12:46

HedgeDoc has been designed with accessibility in mind.

12:49

Okay.

12:50

It has very low system requirements.

12:52

Okay.

12:53

Meaning it can run smoothly on a variety of hardware.

12:56

So you don't need like a massive server farm to host your own HedgeDoc.

13:00

Nope.

13:01

And the community has put together excellent documentation and guides to walk

13:06

you through that set up process step by step.

13:09

It's not as daunting as it might seem initially.

13:12

That's good to hear.

13:13

It seems like the community is really dedicated to making it accessible,

13:16

regardless of your technical expertise.

13:18

For sure.

13:19

Okay.

13:19

So we've established that HedgeDoc is user friendly.

13:24

Yeah.

13:25

Even for self-hosting.

13:26

Right.

13:27

But are there any limitations we should be aware of?

13:30

Hmm.

13:30

Good question.

13:31

Any features it's missing that might be deal-breakers for some users?

13:36

Well, we already talked about the temporary absence of PDF export.

13:40

Right.

13:40

That's on their roadmap for the future and some users might miss the

13:46

extensive plugin ecosystems that other platforms have.

13:50

Right.

13:50

HedgeDoc's plugin support is still kind of evolving, but it's an area

13:54

they're actively working on.

13:56

So if you're like someone who loves customizing their workflows with tons of

14:01

plugins, HedgeDoc might feel a bit limited at the moment.

14:05

Yeah, that's fair to say.

14:07

However, the core functionality is so robust and well-designed that it might

14:12

not even be a major drawback for a lot of users.

14:15

And the beauty of open source is that anyone with the technical skills can

14:19

contribute to expanding that plugin ecosystem.

14:23

Right.

14:23

Exactly.

14:24

So it's all about community driven innovation, filling those gaps, shaping

14:29

the platform to meet everyone's needs.

14:30

It's beautiful.

14:32

Yeah.

14:32

Okay.

14:34

I'm feeling pretty good about HedgeDoc so far, but let's look ahead.

14:37

Okay.

14:38

Where is this platform headed?

14:40

Yeah.

14:40

Where is it going?

14:41

What's in store for the future of HedgeDoc?

14:43

It's exciting to think about the possibilities, right?

14:46

Yeah.

14:47

We don't have a crystal ball or anything, but we can kind of look at

14:50

trends in the direction of the project and make some educated guesses.

14:54

Okay.

14:54

And I think it's safe to say that HedgeDoc is on an upward trajectory.

14:58

All right.

14:58

You've got me on the edge of my seat.

14:59

Okay.

14:59

What kind of trends are we talking about?

15:01

So for one, they're actively developing HedgeDoc 2.0, which is a

15:06

complete rewrite of the platform using TypeScript.

15:09

Okay.

15:10

So that signifies a commitment to continuous improvement, modernization,

15:15

and staying ahead of the curve.

15:17

So they're not just like resting on their laurels.

15:20

No.

15:21

All right.

15:21

They're like actively pushing boundaries, making it even better.

15:25

They're pushing it to the limit.

15:26

Love it.

15:26

And with that increasing emphasis on data privacy and security, I

15:32

think HedgeDoc's self-hosting capabilities are going to become even

15:35

more appealing to individuals and organizations.

15:39

Especially as people are like waking up to the importance

15:42

of controlling their data.

15:43

Exactly.

15:44

So HedgeDoc offers a solution that aligns perfectly with that.

15:49

Yeah.

15:49

It's like they anticipated this shift.

15:51

Yeah.

15:51

Yeah.

15:52

Toward data consciousness.

15:53

Giving users the tools to like take back control of their digital lives.

15:58

You got it.

15:59

That's pretty forward thinking.

16:01

It really is.

16:02

Yeah.

16:02

And as the community keeps expanding, I expect we'll see even more innovative

16:07

features, integrations, use cases emerge.

16:10

So it's like a snowball effect.

16:12

Like the more users leads to more contributions, which leads to like

16:17

a richer, more powerful platform.

16:20

It's beautiful.

16:21

Yeah.

16:21

It's an exciting cycle to be a part of.

16:23

I know.

16:24

Right.

16:24

And it really challenges us to think beyond traditional

16:28

models of software development.

16:29

Right.

16:29

What if this community driven approach becomes the norm?

16:34

Yeah.

16:34

What if user empowerment becomes the driving force behind technological

16:40

innovation, Headstock kind of offers a glimpse into that potential future.

16:45

Yeah.

16:45

It's a powerful vision and I have to admit it's contagious.

16:49

It is contagious.

16:50

Okay.

16:51

So we've explored the what, the why and the future of Headstock.

16:53

We really have.

16:54

But before we wrap up, I want to leave our listeners with something to ponder.

16:57

Okay.

16:58

Love that.

16:59

A question just to spark their curiosity and encourage them to dive deeper.

17:03

I'm ready for the question.

17:04

All right.

17:05

So my question is, if Headstock continues to grow and evolve, how might

17:10

it disrupt traditional models of knowledge sharing and collaboration?

17:14

Wow.

17:15

Will it lead to more decentralized community-driven approaches to knowledge creation?

17:20

Right.

17:21

Will it empower individuals and small teams to compete with larger institutions?

17:27

These are great questions.

17:28

Yeah.

17:29

These are the kinds of questions I hope our listeners will

17:31

contemplate as they explore Headstock.

17:33

I love that question.

17:35

It challenges us to think about the broader societal implications.

17:39

Yeah.

17:39

It's not just about a tool.

17:41

Right.

17:42

It's about, like you said, a potential paradigm shift.

17:45

Yeah, exactly.

17:46

Well, I think we've reached the end of our deep dive into the world of Headstock.

17:50

It has been a fascinating journey.

17:52

It really has.

17:53

And I hope our listeners have gained some valuable insights into this

17:57

remarkable platform.

17:58

I hope so too.

18:00

We encourage you to check out the links in the show notes, of course.

18:03

Always, always.

18:04

You can try out the Headstock demo, explore their documentation,

18:07

and even join the community.

18:09

Join the party.

18:10

Yeah.

18:10

And who knows?

18:12

Who knows?

18:12

Maybe you'll become part of the Headstock story.

18:14

You could be a part of history.

18:16

Contributing to its evolution.

18:18

Yeah.

18:18

And helping to shape the future.

18:20

Shaping the future.

18:22

Of collaborative knowledge creation.

18:24

Until next time, keep those minds curious.

18:27

Yes.

18:27

Happy collaborating everybody.

18:27

Happy collaborating everybody.