I use Obsidian to take notes, and I’ve been taking notes for quite a while. I thought on sharing more of my projects and decided to grab some of my notes and publish it.
Because I like to Avoid reinventing the wheel, someone else already solved it and I didn’t want to spend much time building my website. I did some quick research and I’ve found Quartz, which already supports most Obsidian Markdown flavours.
I followed it’s documentation and changed some bits:
You can check my changes by following my commits on github. Because it’s good to Make it work, then make it better let’s see my approach:
- Make it work locally with my local notes
- Publish using Github Pages
- Wanted to keep my personal notes outside of github, so I moved the hosting to My NAS setup using UNRAID
- Now when I edit this note, it is synched to Unraid using Synchthing, which is running quartz, which rebuilds the website automagically. Noice!
- Setup analytics using
Over complication Achieved!
Way too many moving parts aye? It is likely to fail at some point, and I should probably not host the website myself. It is a good feeling though 😬… Remember, Take the context and constraints into consideration, if this site goes down, it’s all good and I’m learning more stuff.
TODO
- Automate build and deploy, by moving it from my computer to My NAS setup using UNRAID serversomeday ✅ 2024-12-05
- Add integration to a comment systemsomeday
- Add page analytics ✅ 2024-12-06
- Fix issue were when moving files, it shows duplicated and requires a Quartz restart to fix
- Fix favicon, it stopped working after hosting myself
- Host somewhere else, we can build and deploy to Github pages (maybe), or even, go crazy and host Gitlab and run my own CI/CD. waaay over the top, but could be fun…