Digital Gardening
Digital gardening is my preferred way of 'blogging'. Writing, maintaining, and updating markdown files locally and having an automated app update and publish the collection of documents is the painless way to construct an online site of posts.
Including but not limited to
- Documentation
- Tutorials
- Journal
- Step by Step
- Recipes
Growing the Garden
Obsidian.md is my way of maintating my vault of markdown files
Prepping vault for publishing
I like to keep one large vault that hosts all my notes. Anything from music, web development, video game emulation, etc.
When it comes to publishing my vault, I'd like a to split my notes and dedicate each group to it's own site i.e. Developers: Coding, videogames, home lab.
I assume you've already grouped these in a sensible file structure in your notes already. We'll use that structure to create a ignore file that takes this into account.
.gitignore
Assuming you're pushing this to a github repo, you'll want to ensure your .gitignore
ignores any files you do not want the world to see. Here is an example for a common files / obsidian vaults
.DS_Store
.gitignore
node_modules
public
prof
tsconfig.tsbuildinfo
.obsidian
.quartz-cache
private/
.replit
replit.nix
Symbolic Linking
You could just copy and paste the desired vault over to the /content
directory, but I think we can do this in a more elegant way. These Soft Links will do the same job, without taking up double the hard disk space.
Static Site Generation
Now to share this garden with the world. I've tried my hand at a few publishing apps, even tried to write my own
- oleeskild/obsidian-digital-garden (github.com)
- The most feature rich
- a bit more to configure on your part
- built with Eleventy, a simpler static site generator (11ty.dev)
- Publication is Opt In per note
- a bit more customizable
- match theme from your Obsidian Editor
- uses a dedicated Obsidian plugin to publish notes
- does not like comments
%%
in mermaidjs codeblocks - how to deploy on github pages instead of vercel
- Welcome to Quartz 4 (jzhao.xyz)
- This is the most mature, fully featured publishing app
- DO NOT FORGET
index.md
page at the root of your vault!!!!! - has the best out of the box styling
- simple git push to repo and GitHub Pages
- Custom Node builder
- DIY Obsidian Publish with NextJS aka Pywriter Publisher
- Generating static sites with markdown files is a good first project for any #webdev, but like me you'll quickly find an ever growing ceiling of features that you'll want to add.
- Flowershow
- The new kid on the block. I'm really digging the integrated plugin right inside of Obsidian.md. Still has a bit to go, but could be the most useful if you're willing to give it a try.
- NextJS
Custom Frontmatter
- How do I see all frontmatter on my website? · Issue #354 · oleeskild/obsidian-digital-garden (github.com)
{% if openSource %}<strong>Is it open source?</strong> {{ openSource }}{% endif %}
Publishing Platforms
- Self host - Obsidian Publish with NextJS
- Github Pages
- custom domain tip --> WAIT A DAY, ENJOY OUTDOOR WALK
Inspiration
- The Threshold (utsob.me)
- Hermitage
- Live garden: The Threshold (utsob.me)
- garden repo: uroybd/topobon (github.com)