this post was submitted on 11 Feb 2024
431 points (97.8% liked)

Selfhosted

39980 readers
770 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 62 points 9 months ago (6 children)

This seems interesting, and I might try it.

But... I'm kind of sick of web applicatioms. Why does everything need to be a web application or a "not" web app using electron. (In this case I see the use case and reason, but in general)

[–] [email protected] 116 points 9 months ago

I can’t speak to the general case, but let me answer why I picked the web app route in this particular case.

This was/is my reality:

  1. I want access to my space from my laptop (mac), phone (iPhone) and tablet (iPad) and browny points for my Boox e-reader (Android) and even more browny points for just having access from any random computer in the world (with a web browser)
  2. I have a full-time job, and this would just be a hobby project
  3. I have been doing (or been involved in) web development for 25 years

What are my options? I could go native and develop this either as a native iOS app and Mac app, and then do an Android app because why not. This is hypothetically possible, but would mean that 2 years in I’d probably not be anywhere near the functionality that SB has today.

I could go with a cross-platform stack like react-native or Flutter. This would have been an option, I suppose, but neither of those stacks I fully trust in terms of long-term viability yet. And RN is not really built for desktop apps.

Another part of the reality: CodeMirror exists (https://codemirror.net/). This is an amazing piece of engineering that took years to build, it’s a pretty amazing code editor that is very extensible and… it’s a web thing. Having to implement this natively would likely literally take me years.

So I decided on the web app approach. I’ve had native wrappers (Electron and one for mobile apps) along the way, but ultimately removed them because they take too much time to maintain and test, and I’m just a one person army with a few hours available here and there. PWA support is pretty nice these days and gives you a reasonable experience at a reasonable development cost. It’s a good trade off.

Would I make different choices given infinite time and resources? Absolutely, but you know… reality.

This is my story and it doesn’t apply to everybody, but likely other projects have similar reasons.

[–] [email protected] 6 points 9 months ago (1 children)

Generally, user interfaces are hard work. If you just want to code, then having a web app means you're already 50% done.

Actually should be 90% done, but each browser has differences which means more coding... I'm looking at you, Internet Explorer

[–] [email protected] 5 points 9 months ago

mobiles and desktops are very diffrerent and need different user incerfaces. So you are not savin, much work. In fact trying to handle both in on may be worse because of all the special cases. Be glad you don't have to support teletypes, they demand different user interfaces.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

Idk I’m loving what I’m seeing because as an Obsidian evangelist that’s paid for Sync for years, basically all I want that obsidian doesn’t have is self hosting and FOSS. I have most of my daily apps self hosted and accessible as web apps, not needing to get out of the browser and able to more easily jump between devices would be great.

[–] [email protected] 4 points 9 months ago (1 children)

So I’ve implemented Obsidian Git, and it works really well. The only trouble I’ve had is on iOS (I’ve got m it on android, fedora, debian and windows) where it’s bot supporting merge changes.

I’m considering moving to logseq and implementing the same.

The other alternative to self hosting is ‘SyncThing’. After I introduced my dad to obsidian, I saw how he did his synchronization with it, and it looks like a lot less overhead - fairly compelling

Happy to share some notes on my setup and his if you like

load more comments (1 replies)
[–] [email protected] 4 points 9 months ago

So that you can self host I think

[–] [email protected] 3 points 9 months ago (1 children)

I'm not crazy on web apps either. I'd want to edit my notes in vim.

[–] [email protected] 7 points 9 months ago (1 children)

If you're using it on the host device, web apps make zero sense. But web apps provide the flexibility of using it with any device.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 45 points 9 months ago* (last edited 8 months ago) (3 children)

What's a "hacker mindset" and why do you need one to use this app?

Update: The homepage explains "hacker mindset" by linking to the wiki article for hacker lol

load more comments (3 replies)
[–] [email protected] 18 points 9 months ago (6 children)

This looks interesting; is anyone here using it?

[–] [email protected] 83 points 9 months ago (1 children)

Well I have for the last two years, but I’m biased because I wrote it 🤓

[–] [email protected] 18 points 9 months ago (2 children)

I'd be curious to see comparison with Logseq. As it's rightly mentioned, there are thousands of note taking apps and I’m not quite sure I see the selling point of SB. I really love the idea of notes as a database, but the query langauage seems subpar, more akin to obsidian's dataview than the overwhelming power of tiddlywiki's filters or Logseq's queries.

I went from evernote to tiddlywiki to Obsidian to Logseq and somewhat stuck here now because I got the powerful queries in a very neat UI. With the market oversaturated as it is, I'd be nice to see what Silverbullet brings to the game that others don’t, what are the distinguishing features.

[–] [email protected] 8 points 9 months ago (1 children)

While I cannot give you an in depth comparison, I’m sure there’s a lot of overlap in functionality. Where I think things are heading in a relatively novel direction is with the recent improvements I’ve been making to templates. While long, this video gives a reasonable sense of what that can do and I’d say it’s early days: https://youtu.be/ZiM1RM0DCgo?si=qL795lyKNe9HwoxI

load more comments (1 replies)
[–] [email protected] 11 points 9 months ago

Yes, I have used it for many months. It has been the best solution for my use case for a while. Which is tasks, shopping, planning (trips, ..), recipes, and a simple knowledgebase. It was the offline support that set it apart from some other solutions

I have the files in a syncthing folder, so I can access the files without running silverbullet

My biggest problem is keeping up with all the changes. Zef made some youtube videos that are helpful

[–] [email protected] 5 points 9 months ago

I use it and love it. Having the metadata (tags, dates, ...) of your pages available to query and organize is awesome. I also love the tagged tasks feature.

[–] [email protected] 3 points 9 months ago

Yes, I do and it's great. I just wrote a template for cooking recipes.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

i'm using it at work to take notes and write documentation.

i think it's a fantastic app.

i have it as a pwa and have at least one silverbullet for each desktop.

i have ~100 notes perfectly organized in silverbullet!

the only things i would change is compatability with other tools. there is no way to export to PDF, if you nees to convert the note to docx you need to copy paste everything.

load more comments (1 replies)
[–] [email protected] 13 points 9 months ago (1 children)

This is very cool, and I've been watching the project for a month or so.

I like the query setup and the templates look very interesting. One of my biggest complaints about Logseq is how much of a pain simple query operations can be.

A few things make me hesitate a bit:

  • I've been burned on single-dev passion projects in the past.
  • As a self hosted web app, it's a bit more difficult to manage on a company owned machine. I know Electron apps get hate, but that would ease some pain here.
  • The rapid pace of development is both exciting and worrisome. For example, a recent update completely changed the underlying templating engine from a well-known open source solution to a custom solution. I worry if I rely on this, something might catch me by surprise.

What are your thoughts on those concerns, OP?

[–] [email protected] 19 points 9 months ago (1 children)

All your concerns are completely fair.

Regarding the first, the best I can offer is what many other project in this space say: “it’s just markdown files on disk, you can take them anywhere at any time”. Obviously this is only partially true, because the more SB-specific features you use, the more you get locked in. Your notes will never go away (if you back them up). But all time building queries and templates, would have been wasted.

Regarding company owned machines: a concern I heard for Logseq and Obsidian is that people cannot use them at work/with a work machine because they’re not allowed to install anything. For SilverBullet I’d recommend not installing it on your laptop (work or otherwise), but rather on some other machine. Perhaps you have a Raspberry Pi lying around unused. Or maybe you buy a cheap VPS (silverbullet.md itself runs on a $5/month Hetzner VM). Then you can access it from anywhere with a web browser, and I assume your work laptop has one of those.

Regarding the high pace of development: also fair. The reason I have not been very actively promoting SB so far is because of the high change churn rate. If you’re a power user, you kind of need to keep on top of stuff. Mostly I attempt to give people migration tools, but this is always a opportunity cost decision. Until recently some fundamentals still didn’t feel quite right (like the templates). I think we’re getting there now though. Another one I still need to figure out is how to do the distribution of templates, slash commands. This idea of a Library you import works, but you cannot easily keep it up to date. This so something to still figure out. Generally I’ll do my best to mark the parts of this that are experimental or prone to still change.

I hope that helps.

[–] [email protected] 4 points 9 months ago (1 children)

Thanks for your answers! Very fair thoughts, particularly about the flexibility of keeping things as just files on disk.

Regarding the work thing, I should clarify my use case: I'd like to take work related notes that could contain privileged company data. With a standalone app, I can install it and manage the files on my device (with cloud syncing in an approved corporate way). I could still probably do that here, but it requires the work of running the web server locally. Unfortunately, an external source like a VPS wouldn't be allowed.

I have one more question, if you have some time: One of the things I like most about Logseq is that when there is a list of back links on a page, the context capture is excellent (likely due to it being an outliner). I've noticed that with SilverBullet, the context capture might begin/end in the middle of a word, etc. Is there a way to configure that or plans to enhance it?

[–] [email protected] 5 points 9 months ago

Makes sense. Regarding the linked mention snippets. Please create a GitHub issue (https://github.com/silverbulletmd/silverbullet) for that. Right now it does the simplest thing, which is just to take x characters on each side. That can definitely be improved.

[–] [email protected] 10 points 9 months ago (2 children)
  • Discord: for more real-time support and discussion.

Sigh...

It does look a lot like Logseq, but at least it's not written in Clojure. Looks like an interesting project and hopefully it'll mature to something better than Logseq 👍

CC BY-NC-SA 4.0

[–] [email protected] 7 points 9 months ago

Researching anything that happened on the internet right now in the future is going to be absolute hell considering how much useful user information and interactions are "locked" behind Discord. Is there a term for something worse than link rot? With link rot it's a case of a known unknown. With information on Discord it's an unknown unknown.

[–] [email protected] 4 points 8 months ago

There's a forum I think, discord seems to be, as it clearly says, for real-time support and discussion.

I despise Discord as an alternative to a proper support forum, but having both options like this is great.

[–] [email protected] 8 points 9 months ago (1 children)
[–] [email protected] 3 points 9 months ago (4 children)

Hah! Didn’t realize. Indeed! Although apparently still called “noot” then.

load more comments (4 replies)
[–] [email protected] 7 points 9 months ago (2 children)

With the rise of these .md based personal knowledge database applications it would be amazing to see some conversion software.

I understand that each has their special sauce. Does anyone know what would be the most difficult part about building a tool like that to copy in Logseq data to SB for example?

[–] [email protected] 3 points 9 months ago

Or unification/interoperability even

[–] [email protected] 3 points 9 months ago (1 children)

pandoc.org is probably what you are looking for, but you might have to create a custom reader/writer or find one on the internet.

load more comments (1 replies)
[–] [email protected] 6 points 9 months ago (1 children)

Okay this is looking great. Spun up the docker container though and it’s a preeeeetty steep learning curve. Any suggestions on how I could move my obsidian vault into my silverbullet space?

[–] [email protected] 5 points 9 months ago

Since both services store your notes as markdown files on your disk, you can just move your files over. When spinning up a docker container, you likely defined a path for your SilverBullet space. If not, try creating a note and see if you can find it on your disk.

[–] [email protected] 6 points 9 months ago

Wow, this is super cool - saving this for when I finally spruce up my old desktop for a home server. You’re a talented person mate

[–] [email protected] 5 points 9 months ago (3 children)

Looks really kool. Reminds me of tiddlywiki but yet totally different. The authentication is very briefly touched upon. What kind of auth is it? Maybe more robust to just use http auth via caddy?

load more comments (3 replies)
[–] [email protected] 4 points 9 months ago

Don't all users of self-hosted personal knowledge management systems have a hacker mindset?

[–] [email protected] 3 points 9 months ago (2 children)

I clicked on the link to "installation instructions" on your home page in a couple of different places and got the error "e.split is not a function".

load more comments (2 replies)
load more comments
view more: next ›