FOSSFEEDWhere activity matters more than stars. Discover Fire Pit Noted Submit a project
← All articles

Hold My Docs: A Self-Hosted Wiki That Keeps Everything in Git

Keep your homelab documentation in Markdown with Hold My Docs, a self-hosted wiki that saves every change to Git.

I've lost count of how many times I've made changes to a server and told myself I'd document everything later. A few months go by, another container gets added, something breaks, and suddenly I'm trying to remember why I configured a service a particular way. Keeping good documentation is one of those habits that pays off eventually, even if sitting down to write it isn't always the most exciting part of maintaining a homelab.

Hold My Docs is a self-hosted wiki that takes an interesting approach to keeping those notes organized. Instead of hiding everything inside a database, it stores documentation as ordinary Markdown files in a Git repository. You get a proper web interface for writing and browsing, but the underlying documents remain accessible without the application.

A Wiki With a Memory #

One of the more useful things about Hold My Docs is how it handles revisions. Every time you save a page, the application creates a Git commit. That gives each document a history you can revisit when something changes or an older set of instructions turns out to be the one you actually needed.

For homelab documentation, I can see this being especially handy. Network configurations change, Docker stacks get reorganized, and sometimes a perfectly good setup gets replaced by something that seemed like a better idea at the time. Being able to look back at previous instructions is a lot nicer than digging through old backups.

The application can also synchronize with a remote Git repository, making it possible to maintain another copy of your documentation outside the wiki itself.

More Than a Collection of Markdown Files #

Hold My Docs includes a browser-based Markdown editor with previews, internal links, and backlinks between pages. It also supports Mermaid diagrams, which could be useful for mapping out how services communicate or documenting a network without needing separate diagramming software.

Documentation can be divided into namespaces, each with its own navigation and visibility settings. That makes it possible to keep server administration notes separate from household information or other material you might want to share.

There's full-text search for finding information across wiki pages. An optional Apache Tika integration extends searching to supported PDF and Office documents, although that requires an additional service.

I think the real benefit here is having everything in one place without making the application itself the only way to access your work. Markdown files are easy to move around, and Git provides a familiar way to manage their history.

Running Hold My Docs on Your Server #

Hold My Docs is written in Go and can run as a standalone binary, but the developer also provides an official Docker Compose configuration.

The example deployment listens on localhost by default, which is a sensible starting point for a service that might contain private infrastructure details. Authentication supports local accounts and OIDC, making it possible to integrate with an existing identity provider.

Administrators can manage access through scoped permissions and personal access tokens. The documentation also explains how to configure the initial administrator account and remove the bootstrap credentials afterward.

One storage detail is worth paying attention to. The application's data directory should remain on local storage rather than NFS, although the Git repository itself can live on network storage. That's useful to know before deciding where to mount persistent volumes.

Your Documentation Doesn't Have to Stay in the Wiki #

I really like how you can export a namespace as a static website. You could maintain documentation privately and publish selected sections without requiring visitors to access the wiki application itself.

There's also an optional MCP server for allowing authorized AI tools to interact with documentation. That could have practical uses for searching through a large collection of notes, although I'd be careful about granting access to anything containing private infrastructure information.

Hold My Docs is released under the MIT license, and its developer recommends maintaining backups and testing upgrades before depending on it for important documentation.

What I like is that the application doesn't try to reinvent how documents are stored. It puts a convenient interface around Markdown and Git, both of which are perfectly capable of surviving long after a particular web application disappears.

I've always thought the best homelab documentation is the kind you can still read when the server hosting your documentation is the very thing you're trying to fix. Hold My Docs seems to understand that distinction.

You can find the source code, screenshots, and Docker installation instructions in the Hold My Docs GitHub repository. The official documentation covers authentication, storage configuration, and the other details worth reviewing before adding it to your server.

Comments 0

Join the conversation.

Write a comment

No comments yet. Be the first to comment.

Leave a comment

Anonymous comments are reviewed before publication. Sign in to comment as a member.

Navigation