My Zettelkasten Setup
How this website is made, a folder of markdown files served live as several websites, in 7 levels of awesome.
This website is a partial view of my zettelkasten: a folder of markdown files that I write in Obsidian. My own software turns it into websites. This is how it works now. The 2020 version is still nice to read.
7 levels of awesome
- Portable: Plain markdown files, no vendor lock-in.
- Editing: Obsidian, a web editor and my e-reader.
- Topics: A link is a tag.
- Lists and search: Any query as a list, feed or gallery.
- One vault, many websites: Each note says where it appears.
- Access for friends and coworkers: A group can read part of my notes.
- Helpers: Knowledge comes in, and a librarian keeps things tidy.
Level 1 - Portable
My zettelkasten is a folder of markdown files, synced to my home server. Posts start with a date (yymmdd title.md), pages don’t. On top of each note is some YAML, for example:
host: markmarijnissen.com
access: [public]
description: One line for search results and previews.
I am free to use whatever fields I like. Read my formatting rules.
Level 2 - Editing
I write in Obsidian: it has plugins for everything and doesn’t force any conventions on me.
Away from my laptop, I use my own editor on this website. It saves as I type, completes links, and creates, renames and links notes with a few keystrokes. A rename updates every link to the note. A bookmarklet clips a web page into a new note. On my Kobo e-reader I can read, search and edit notes offline.
Level 3 - Topics
I don’t use hashtags. A topic is just a note, like project x: link to it, and project x lists every note that links to it.
Level 4 - Lists and search
The server indexes all notes and builds a graph of their links, which the website downloads. Web components show any query as a list, feed or gallery inside a note, like the list at the bottom of zettelkasten. Press / to search. Read the tricks in zettelkasten navigation.
The website also works offline, every note can be downloaded as PDF, and you can follow it by RSS.
For myself, search also reads the full text of notes, PDFs, Office files, books, mail, calendar and even people from my CRM. It finds things by meaning using semantic search, not only by words.
Level 5 - One vault, many websites
The server renders each page when you ask for it. One vault serves five websites: markmarijnissen.com, cirkelenstreep.nl, forlea.org, levenincompassie.nl and madebymark.nl. A note says where it appears with host:, and who may read it with access:.
Level 6 - Access for friends and coworkers
You log in with a link in your mail, see account. I can give a group access to part of my notes.
Level 7 - Helpers
Some knowledge comes in by itself: mail I label, notes from meetings, and people from my CRM. A librarian script checks the vault for broken links, notes in the wrong folder and names I could link. Once a week I go through its suggestions.