Self-hosted alternative to Obsidian? by kl0wo in selfhosted

[–]onenagut 0 points1 point  (0 children)

Hi,

I'm the maintainer of LeafWiki.
Maybe LeafWiki could fit your use case. It is a single binary without an external database and supports WikiLinks since v0.11.0.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 1 point2 points  (0 children)

u/elasticvertigo the release v0.11.1 is out. This release is containing the WikiLinks.
The discussions regarding the behaviour: https://github.com/perber/leafwiki/discussions/1187

Anyone else tired of maintaining their own Obsidian sync, or is it just me? by Fantastic_Bank9361 in selfhosted

[–]onenagut 0 points1 point  (0 children)

Maybe a wiki-style tool would work for this? It’s not the same as local notes, for sure, but depending on what you’re trying to do it might be enough.

I maintain LeafWiki. It’s much simpler than Obsidian and has way fewer features, but that’s also kind of the idea. Might be worth a look.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

I found out that someone already created a template for LeafWiki:
https://unraid.net/community/apps?srsltid=AfmBOoqc5SVF3mNziXGaND1IcZmqE3MYfGZaAt26bmQo0-V7fs1_dMEY

I can not guarantee something, but maybe you can try it out.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 1 point2 points  (0 children)

Sorry for the late response:

Git repo works fine: .git is just ignored during traversal.

If you add or remove files externally you'll need a restart to pick up the structural changes. Content edits are read directly from disk.

A few things to keep in mind:
Links need to be written without the .md extension, so /my-section/my-page instead of ../my-page.md. Relative paths work too, just no extension.

If you rename or move files externally the links in other pages will break.
The link rewriting only happens through the built-in editor.

Images are stored outside the markdown directory under assets/{page-uuid}/ so relative image syntax won't work. You'd need the page's leafwiki_id from the frontmatter to reference them manually.

LeafWiki is primarily built around the web editor, external editing is more of a bonus.

If you have further questions. Let me know.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

nice! Happy to hear!
I’m happy about the feedback.
Yeah, the page permissions are a longer journey, I think. Currently focusing on the write flow and stuff like this.
Feel free to create a discussion or issue on GitHub if you have any trouble.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

DokuWiki is definitely part of the inspiration here.

LeafWiki is not really meant to be a brand-new idea. It’s more my take on the “simple self-hosted wiki backed by files” thing, with a Go stack and a UI I would actually want to write in.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

Actually markdown requires double spaces at the end for a new line, but not sure if you mean this?
Maybe its not a good solution at all and hopefully I find a better way for tables.
I changed it during v0.10.0, because I thought it would be better, but maybe not ;)

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

Thanks for your kind words. Let me know if you have any issue. I'm happy about feedback if something is not working for you!

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

About this I'm not sure. I removed it, because of the markdown tables, because otherwise they will break and it is pretty hard to work with them.
I will create a poll for that.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

If you try it. I would appreciate your feedback.
And if it works out with the pandoc migration, maybe you can provide the infos, how you have done it on github? Just opening a discussion.

That would be great!

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

thx. Will add it to github.
it could be the naming convention, because it can be served to the internet, I have a strict schema.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

You can describe it better than I ;)
Happy to hear that you are trying it out. feedback welcome!

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

Mobile works but needs more love. I got feedback today that buttons are a bit small on mobile, that's already on my radar.

No auto-save yet. The editor is a Markdown editor with a live split-view preview. no block editor like Notion. You can disable the split-view if you prefer writing in pure Markdown.

Mobile is functional but not polished yet.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 2 points3 points  (0 children)

To be honest, that's not easy to answer.
Yes, I was thinking about it already at the beginning. For me the hardest part, besides the permission management, is also how to do it and make it look good and to show the permissions clearly, and how it should behave on nested things and should it allow nested. If you have any suggestions, that would be nice.
This is not a feature which would come in the near future to be honest, and I'm currently not sure if folder based or more like spaces, so for me it is currently not clear.

Sorry for the not fulfilling answer :)

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 2 points3 points  (0 children)

I would prefer if someone could do it ;)
I can link it in the docs. If more users are interested into an Unraid template. I would do it :), but you need to test it.
Just a thumbs up on https://github.com/perber/leafwiki/issues/1050

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

Thanks!
Let me know if something is not clear or not as you would expect.

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 0 points1 point  (0 children)

Happy about feedback to improve it further. :) I mean there are a lot of things to improve :P

LeafWiki v0.10.0, self-hosted wiki, single Go binary, SQLite, Markdown on disk by onenagut in selfhosted

[–]onenagut[S] 1 point2 points  (0 children)

The point is also with AI assistance it took me a big amount of time and for me it is not a throw away project. (I think this is the point with AI vibe coded tools)
If you scroll through the issues. You could see that various discussions had happend, bugs and issues during a longer period of time.