this post was submitted on 18 Feb 2024
4 points (100.0% liked)

Open Source

31173 readers
71 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
4
Treedome 0.4 Released (programming.dev)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

Treedome is a local-first, encrypted, note taking application with tree-like structures, all written and saved in your computer

Currently you can only try it by building it yourself, instruction here. https://codeberg.org/solver-orgz/treedome/src/branch/master/docs/building.md But .deb and nixpkgs update is planned to follow suit though! You can also try an outdated one in https://aur.archlinux.org/packages/treedome-bin

Tell me what you think about it!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 8 months ago

First party nixos support

πŸ‘πŸ‘πŸ‘

Keep it up guys, you're amazing

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

I merged the new update in nix myself, it will be available soon in subsequent release branches.

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

How's the search function? That's the one (not unimportant +___+) thing that really sucks with Joplin and would make me consider alternatives.

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

this looks awesome, thank you, id love to see a flatpak instead of a deb though

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

Deb support is incidental, its a compilation result by tauri (backend for treedome), not made by me.

[–] [email protected] 0 points 8 months ago* (last edited 8 months ago) (1 children)

Whoever took that screenshot needs a better spot for their passwords and shit. Those should not be mixed.

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

what do you mean my password and anime recommendation shouldnt be mixed in the same file?

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

Passwords should be stored in a password manager.

Also dont shit where you eat

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

If it's encrypted? Why not

[–] [email protected] 0 points 8 months ago* (last edited 8 months ago) (2 children)

because not all encryption is created equal.

Also password managers should lock after some seconds. You wouldn't want your note taking app to lock as frequently as your password manager.

The key to opsec is compartmentalizing.

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

because not all encryption is created equal.

XChaCha20-Poly1305 is used by a lot of stuff, pretty solid thing

Also password managers should lock after some seconds. You wouldn't want your note taking app to lock as frequently as your password manager.

I would love my notes to lock in some time

The key to opsec is compartmentalizing.

It's more true for privacy and anonymity, but security doesn't really care about compartmentalizing your everyday notes from your everyday passwords.

And in general, some people might need some lighter approach for storing passwords, unless it's some google keep, or some other plaintext, I think it should be fine

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

This. Good password managers are careful with securely handling stuff like data caching, etc

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

Good password managers, but what if not every single person wants to use "good password managers"

I agree it's not perfect, but at the same time it's better than using some third party service, or using plaintext, or using the same password everywhere

If somebody wants to use some gocryptfs or veracrypt for storing passwords, why not, it's not the best, but still pretty nice

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

Good password managers can even check the current open browser tab domain and autofill securely. Your random note taking app won't detect a phishing site.

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

On desktop it's the matter of extensions, so following your idea keepass or pass won't make a good password manager without a third party browser addon

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

Hi OP, thanks for this. Looks interesting. Can you fix the web link in your post ? There is a dot at the very end.

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

which one are you referring to? every link I can click in the post body goes to the correct site.

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

This one in your post text :

Currently you can only try it by building it yourself, instruction here. https://codeberg.org/solver-orgz/treedome/src/branch/master/docs/building.md.

[–] [email protected] 0 points 8 months ago* (last edited 8 months ago)

to those who was asking for tagging for your notes, here it is

CC: @[email protected]

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

nice, was thinking about this for a while but I hated writing the MD to whatever GUI framework i used, and a lot of the other stuff is either really outdated looking, or just unmaintained

[–] [email protected] 0 points 8 months ago* (last edited 8 months ago) (1 children)

This is like OneNote? I'll try it. I assume there's nothing stopping me from putting the file on a shared folder.

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

It is like onenote (which is the first serious note taking ive used actually), but it uses tree like structure and tags to organnize its notes. Im quite sure treedome isnt as featurefull tho.

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

OneNote is getting slow, so this might be better for me anyway! Thanks.

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

how this compare with silverbullet? it uses markdown?

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

Internally no, this uses tiptap's document structure, which is more complex than markdown but easier to expand with new feature, if any.

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

Does that mean TreeDome is the only program that can meaningfully open the notes file?

Is there a mobile client planned? Or do you know if any current mobile apps are able to read the TreeDome notes file?

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

Yes, treedome is the only program that can meaningfully open the notes file. This is because the content of the file is always encrypted and stored using sqlite (single file database library). I'm not that good with mobile and I still need to think about how it will be used in mobile. For example, the tree structure is definitely weird if used in mobile.

[–] [email protected] 0 points 8 months ago (2 children)
[–] [email protected] 0 points 8 months ago

I've used CherryTree extensively in the past, with the password protection on (encryption). The save time gets longer as the file gets larger, because it's encrypting the whole file (every single one of your notes) everytime. I dislike it and told myself to create a new one that solves it. Then, Treedome was born.

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

There's a list of reasons under Origin and Namesake

Although for me having everything stored in a single database-file is a negative, I much prefer a directory with individual files, accessible from any software. So I'll have a closer look at CherryTree, thanks for bringing it to my attention

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

Hi, I maintain the AUR package. Didn't know the repo got moved to codeberg! If you could let me know when the deb is released that would be great, I'll be able to update it then :)

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

Thanks for maintaining the AUR package :) Guess this could be ticked as resolved now ? https://codeberg.org/solver-orgz/treedome/issues/67

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

I just changed the PKGBUILD to use codeberg. Should be live now

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

Glad to know youre around! Sorry for the no contact, had no idea how to. You got email/matrix/codeberg user where i can contact?

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

My matrix should be on my lemmy user page and I've just stared your repo on codeberg. I'm gonna watch it and I should get notified whenever a new release happens

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

How does this differ from Obsidian?

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

AFAIK, obisidian is:

  • Not open source, treedome is open source.
  • Uses a centralized server to sync your notes, treedome instead uses a single local file which you can sync, move around, however you want.
  • Uses graph, treedome is working with trees and tagging instead.
  • Uses plugins to add more feature to the notes, treedome doesn't plan to do this. We at least want a complete experience out of the box, with notes files that's fairly stable within a major version. I have to make it stable since the start because I'm already using it for work and personal.
[–] [email protected] 0 points 8 months ago (1 children)

With everything stored in a single file, does that mean you need to close Treedome on ComputerA before it can by synced to ComputerB?

If computerA makes an edit in one note while computer B makes an edit in another note, does that create a sync conflict? (Assuming syncing with Nextcloud, syncThing or similar)?

[–] [email protected] 0 points 8 months ago (3 children)

Yes, there will be conflict if you use it in two different computer, and those two different computer have different changes at the same time, and then sync it. For now to avoid any sync error:

  • use it one computer at a time
  • always sync it whenever you've made change in it
[–] [email protected] 0 points 8 months ago (1 children)

That’s actually a big negative compared to Obsidian. It’s just a bunch of markdown files in a folder, so you can sync them using e.g. git and manage conflicts that way

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

True, but for me the non encrypted (they say its encrypted but i dont really trust it) and proprietary is a big turn off for me. I dont want my notes, which are a definite extension of my mind, to be owned/used/stored by someone else that have "profit first" in mind.

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

That’s only with Sync. But the notes are just markdown, so you can also just use GitHub or whatever to sync them. They never need to hit Obsidian’s servers, and that’s actually the default because you have to pay for Sync.

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

Thanks for the clarification.

Are there any plans for a built-in sync feature in the future?

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

On the second point, Obsidian's vaults are intentionally stored as a single folder that can be synced easily, including all settings. They do have a service for syncing, but with a bit of tech know-how it's still really easy to sync. Also, all notes are stored as plaintext markdown files, which is convenient since many programs can read markdown.

Rest is correct tho.

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

Is it stored in a single folder like joplin does? Can I move the folder around and easily open it after I did that?

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

Yes and yes. The folder is just a bunch of markdown documents, as well as a hidden folder containing configuration, plugins, etc (json, js, css, etc). The vault is entirely self-contained.