Live data from Hacker News

Ditching Obsidian and building my own

amberwilliams.io

171–180 of 570 posts

Re: Ditching Obsidian and building my own

#172
post #152
post #130

Earlier quoted context omitted.

Trillium is great for some folks (and I would have no qualms recommending it), but I cannot stand hierarchical notes. That's a personal preference. I just want a big mishmash of notes all linking to each other. I don't want to manage a taxonomy.

For the record, it's not forcing you in this or another way, you can just dump all your notes on a flat level and later browse a network of backlinks in Trilium like other similar systems. Where I find Trilium to shine though, is when, after linking notes to one other for a little while, you realise "Well, I have a bunch of them that relate to `People`, others to `Products`, and, oh, a bunch of `Customers` as well, w…

I essentially have that with the templates I'm using with Silverbullet. Organically developed metadata based on categories that don't actually exist anywhere.

I'll spin up a Trillium instance soon and see if it's still not for me (but I uh won't approach it with that mindset).

Re: Ditching Obsidian and building my own

#173
post #121

I went deep into to the PKMS rabbit hole a year and a half ago, benchmarked Obsidian and many many others, and settled with Trilium¹ which I can only highly recommend. It addresses all the hosting/deployment requirements of OP² without the quirky workarounds mentioned here (syncthing & al), and makes the kind of "lifestyle scripting" this article about very simple and straightforward. In my mind and experience, Trili…

Trillium looks great! I'm curious if it has an outliner mode or something similar? I currently use logseq and the two features I love are how each bullet/block is its own thing that can be cross-referenced and embedded in other blocks and pages, and that my workflow is essentially to have daily journal pages I dump everything into and tag and references/crossreferences are automatically handled and linked to build ou…

> I've noticed that trillium has hierarchical notes; is there a view to look at an item higher on the tree and have it also have the contents of all its children?

You are right that the "atom" of content is the block in an outliner and the Note in Trilium. If you can tolerate⁰ the coarser-granularity, you can make Trilium behave pretty closely to an outliner: notes can be embedded within notes, either manually, or via the "Book" note-type¹ (that essentially renders a tree as embedded notes), hoisting² should be a familiar concept then.

⁰: when researching the topic, I immediately fell in love with outliners, thinking I would never go back to a note-based approach like Joplin which I was using then, but here I am, promoting a note-based solution. Metadata/tags at block level is not something I could get the hang of (I know how to manage collections of notes at scale, but not collections of blocks). ¹: https://triliumnext.github.io/Docs/Wiki/book-note.html ²: https://triliumnext.github.io/Docs/Wiki/note-hoisting.html

Re: Ditching Obsidian and building my own

#175

Emacs chads just keep winning.

Younger folk and beginners keep ignoring Emacs (and Lisp in general), without the slightest attempt to even understand what kind of philosophy makes it appealing. The profound difference lies in ontological fungibility – Emacs isn’t software you use, but cognitive clay that becomes an extension of your mind’s operating system. Where any specialized app is inevitably doomed to constrain you to some kind of constructed…

(Long time Emacs user, abandoned since VSCode became a thing because it hurt my wrists so much.)

Do you think what you're talking about is hard to demo?

"- The act of writing is programming your environment (Org markup becomes executable functions)

- Tools aren't discrete entities but fluid expressions of your current mental state (e.g., I can run a shell command piping it to grep and then pipe the results into a text buffer)"

I haven't seen an impressive demo of this kind of stuff tbh.

Re: Ditching Obsidian and building my own

#176
post #172
post #152

Earlier quoted context omitted.

For the record, it's not forcing you in this or another way, you can just dump all your notes on a flat level and later browse a network of backlinks in Trilium like other similar systems. Where I find Trilium to shine though, is when, after linking notes to one other for a little while, you realise "Well, I have a bunch of them that relate to `People`, others to `Products`, and, oh, a bunch of `Customers` as well, w…

I essentially have that with the templates I'm using with Silverbullet. Organically developed metadata based on categories that don't actually exist anywhere. I'll spin up a Trillium instance soon and see if it's still not for me (but I uh won't approach it with that mindset).

Does Silverbullet support amending existing instances with the updated metadata when modifying the template? Does it let you extend templates from templates (e.g. a "Colleague" is a "Person" + some specific properties like "Department", "Joined on")?

One way to go with your experiment would be to create an inbox¹ where all the new notes go (or use a day note² if you want calendar support) and a side notes hierarchy called "Collections" with subfolders like "Persons", "Companies", … each having their own Template³. That way, when you are in a new note and need to create a reference to a note that doesn't yet exist, it will pull from the available templates and create the new note from it. The template note under "Collections" will retain the backlink to all instances. Just like that you got yourself something as capable as Tana's supertags⁴.

¹: https://triliumnext.github.io/Docs/Wiki/attributes.html ²: https://triliumnext.github.io/Docs/Wiki/day-notes.html ³: https://triliumnext.github.io/Docs/Wiki/template.html ⁴: https://tana.inc/supertags

Re: Ditching Obsidian and building my own

#177
post #151

> The most commonly used PKMS or note-taking apps today are Notion, Obsidian, Evernote and Logseq. The problem is that PKMS come and go. Uh oh. I wouldn't use those . Of course they come and go - they're made by companies. > Could you see yourself using your note-taking app you use today in 30 years? Yes of course. Otherwise I wouldn't be using it. > Do you ever have concerns around the privacy of your notes? Not rea…

As a fan of Vim, I'm a fan of this solution. Are you able to access them on your phone?

> Are you able to access them on your phone?

Yes, with caveats.

I actually publish my wiki on the web with about fourty lines of bash to transform the Markdown into a static HTML website[0]. So I can access it through the web browser. When people ask me for recipes or whatever, I can just give them a url.

I host one of my git remotes on GitHub (an extra backup, a service which is usually up and gives me a way to sync my notes should all my other devices be offline). I understand and admire that you didn't want to do that. Probably it's possible to install git on a phone and use a markdown editor? I don't particularly trust my phone tbh. Certainly not enough to put my git signing key on it!

[0]: https://github.com/tasuki/vitwiki/blob/master/build.sh

Re: Ditching Obsidian and building my own

#178
post #6

> Since my PKMS is hosted online to manage notes across devices, I have multiple layers of security to ensure my notes are kept private. {Screenshot of a login form} The biggest life hack I can recommend for a self hoster is to set up a VPN on your local network and then just never expose your services on the public internet unless you're specifically trying to serve people outside your own household. Before I did th…

You can also set up DNS records pointing to your home server's VPN IP, which, with Tailscale, I've found to be pretty static and then a reverse proxy on your home server. So I have my home network apps running on app1.my-domiain.com app2.my-domain.com, app3.my-domain.com etc, which only work when I'm connected to the VPN.

The downsides are that I need to be connected to the VPN at home to use the domain and I currently don't have SSL set up on the domains, so browsers complain when I connect to them. The second problem I could fix, but I'm not sure if there's a solution for the first.

Re: Ditching Obsidian and building my own

#179

Earlier quoted context omitted.

+1. I have Wireguard set up on all my mobile devices and configured to automatically start when connecting to any wifi that isn't mine, so I can take my devices anywhere and I'm still on my home LAN. It works seamlessly and flawlessly. I self-host a lot of services, and without Wireguard (or equivalent), remote access just wouldn't be realistic.

How did you automate it to start on networks which are not yours? This is like the only piece of the puzzle for me.

This is a built-in feature of the Wireguard app on iOS, not sure about other platforms.

Re: Ditching Obsidian and building my own

#180
post #6

> Since my PKMS is hosted online to manage notes across devices, I have multiple layers of security to ensure my notes are kept private. {Screenshot of a login form} The biggest life hack I can recommend for a self hoster is to set up a VPN on your local network and then just never expose your services on the public internet unless you're specifically trying to serve people outside your own household. Before I did th…

The internet is not a friendly place, so a VPN is a great idea.

With modern tools like Wireguard, you can even set it up relatively easy, either as Wireguard alone or as Tailscale (or ZeroTier, though that's not Wireguard).

Wireguard (and Tailscale) allows you to setup the tunnel so that only local (RFC1918 ie) traffic is routed over it, meaning it won't eat up your battery like when just routing all traffic over it.

I have Wireguard setup like that. It enables on any Wi-Fi network that isn't mine, as well as cellular, and the battery impact is less than 2% over a day.

Post reply on HN