Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

Nibodhika

@Nibodhika@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Nibodhika ,

What's the problem with syncthing? It can keep those 3 synced perfectly fine, no?

Nibodhika ,

So? If your laptop is off there's no way to sync to it. If you have a server available you just set syncthing there as well.

Nibodhika ,

Yup, syncthing allows for a folder to be synced to multiple places, so I don't see any problem with that. In fact I have 3 computers syncing things between themselves.

Nibodhika , (edited )

You sound like me from last month. I strongly recommend silverbullet, check it out on https://silverbullet.md

  • Can be selfhosted

Check, even has a simple docker compose

  • Stores the notes as plain text or *.md files, not some SQL database.

Check, it does have an SQL database, but it's used for queries, you can even copy or modify MD files at will

  • Can use Marddown format.

Check, it's a superset of markdown that includes queries for cool stuff like create tables that group data from other pages

  • Have an android client or at least a mobile optimized web-interface.

Check, it has a PWA that works offline and syncs when back online. Note that this means that all files will be on your device if you use it like that, but that's expected.

  • Not a must but it would be nice to have a to-do list option.

Check, like I mentioned you can query all tasks on all pages and even do filters based on several factors, like where the task is defined or extra attributes that you set to them, e.g. priority.

Edit: bonus points:

  • The main developer is active here https://lemmy.world/post/11816898
  • Also he's very active on discord and always answering questions
  • Easily extensible with plugins and simple JavaScript functions, e.g. very easy to write a function to import a section of a page
  • You can have multiple instances in sync with syncthing (just exclude the databases from syncing)
Nibodhika ,

Yes, but you need to hack your way around it, here's an issue on GitHub explaining how to do it with my own solution there in comments. https://github.com/silverbulletmd/silverbullet/issues/338

Nibodhika ,

Is there any android client rather than using the web-interface that firefox wont let me connect to remotely without a valid certificat.

No, I use the PWA, i.e. access the page on your phone and as long as it's https it will prompt you to install it. Personally I just used a tailscale network to get past the https authorisation, this also allows me to access it outside of my house so win-win

While it looks easy to use markup language using /, I'm wondering is there is a plugin that add a tool bar or a client app that does have it.

Didn't understood, this is just a markdown file, you can just type things, no need to have buttons to add text.

Nibodhika ,

Hahaha, I had that exact doubt and asked on the discord and the main Dev sent me that issue. I strongly recommend joining the Discord, it's very active and sometimes there are interesting things there.

Nibodhika ,

I've never used Incus, but it's not clear to me why you would choose it over docker, you said that it would be preferable if performance was better, I can already tell you it's not, best case scenario is equivalent performance (since docker runs natively), but I doubt any VM can match that.

Problems running *arr stack on Raspberry Pi

Hello everyone, I have a Raspberry Pi 4B with 2GBs of RAM. I am trying to run all the *arr stack via docker containers(5 or 6 containers) but this causes my Raspberry Pi to lag very much. I could not use any of the stack's web interface or SSH to the pi during the lag and to fix it I had to reset the pi....

Nibodhika ,

File and partition get just as many writes. In fact files are better because you can create a second file on a different location and move the swap more easily to try to keep the writes spread across the card.

Nibodhika ,

Syncthing? Never used it on Windows but they do have a client so it should work. That's the simplest I can think of.

Nibodhika ,

If you have one backup, you have no backup. That's a hard lesson to learn, but if you care about those photos it's possible to recover them if you haven't written stuff on that sdcard yet.

Nibodhika ,

This looks awesome and exactly what I have been looking for.

One question about implementation just out of curiosity, is there any database? I'm worried that when it gets to hundreds or thousands of pages querying things becomes slow if it's just scanning files.

Nibodhika ,

SQLite should be more than enough, I can't find the file on the space folder though, is it created inside the docker container on server startup? Is there a reason not to store it in space so it doesn't need to be regenerated each time?

Nibodhika ,

I said hundreds or thousands, I don't expect to be creating hundreds of thousands of pages, but from your reply on the other thread SQLite should be more than capable of handling this scale.

Nice knowing that you have close to a thousand and it's still fine. It will take me a long time to get to that amount of pages, but if I can get started with this it seems like an awesome way of storing knowledge bases, so I expect it will grow quite rapidly as I migrate all of my different things into it.

Nibodhika ,

I feel like facepalming myself to death for having asked such a stupid question before running an ls -a on the folder.

One last question, I've been reading on Plugs because there's one thing that I use regularly that I think doesn't exist and want to know if it would be possible for me to implement, it's called plantuml. Essentially it's a plug that would act on a specific block of code, like the latex one, and would use POST the code to a configurable url, get an image as return and display that instead.

Nibodhika ,

Actually mermaid seems to be able to do all I'm doing with plantuml and syntax is very similar, might give that a try before since that one would also work in offline mode.

Nibodhika ,

But is there brute-force prevention mechanisms, e.g. delaying logins by a few seconds?

Nibodhika ,

There's a third point which is: Things in CloudFlare are publicly accessible, so if you don't put a service on front for authentication and the service you're exposing has no authentication, a weak password or a security issue, you're exposing your server directly to the internet and bad actors can easily find it.

Which is why some services that I don't want to have complicated passwords are only exposed via Tailscale, so only people inside the VPN can access them.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines