Self-hosted/private Wikis for code snippets?

I currently have a collection of code snippets and various pieces of documentation for personal projects in Nextcloud Collectives. I am trying to stop using Nextcloud for anything other than file storage.

What are you guys using to store your wikis/documentation?

vscodium with foam extension, synced with gitea to multiple devices
because i need the docs also when server is down (to fix it xD)

+1 on this

Might be worth checking this thread

1 Like

I like bookstack because it has a “digital notebook” type feel

Zettlr (alternatively the proprietary obsidian) has strong code / note linking, if you prefer an app

Alternatively, use git natively for snippets.
https://git-scm.com/book/en/v2/Git-on-the-Server-Git-Daemon

1 Like

I also use bookstack, but I really should get into obsidian. There’s a guy at work who always shows some impressive organization.

I simply store basic snippets.


1 Like

Another way is to use a git-backed wiki that lives in vscode, something like GitHub - lostintangent/wikilens: 🔎 VS Code extension that provides a Roam/Obsidian-like markdown-based notetaking experience for github.dev and VS Code. With this method, you’ll require a git service like Gitea. There are ways to automatically showcase the repo from Gitea with something like Caddy, to achieve something similar to Pages, if that is also something you need. This is just one example: https://gitea.com/3rd/caddy-gitea. You can also host a full-blown Gitlab instance, which comes with Pages, KBs, and many other things, but it’s a heavy service to host.

Personally I use Gitlab’s wikis, because it’s already there, and I’m a lazy idiot.

I’ll add that I do already use Gitea to host my private repos.

So then just pop your stuff into markdown files and chuck em on gitea.

I’ve found nextcloud seems great for task management, any reason you’re trying to stop?

Admittedly, collectives could really use some work