From ae6ba776a4a8073f2c7e401c921f6093d29daebb Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 17 Dec 2025 23:24:54 -0800 Subject: [PATCH] add: used obisidian to add rikidown --- .obsidian/app.json | 1 + .obsidian/appearance.json | 1 + .obsidian/core-plugins.json | 33 +++++++ .obsidian/graph.json | 22 +++++ .obsidian/workspace.json | 192 ++++++++++++++++++++++++++++++++++++ README.md | 16 +-- infra.md | 18 ++-- rikidown.md | 5 + 8 files changed, 272 insertions(+), 16 deletions(-) create mode 100644 .obsidian/app.json create mode 100644 .obsidian/appearance.json create mode 100644 .obsidian/core-plugins.json create mode 100644 .obsidian/graph.json create mode 100644 .obsidian/workspace.json create mode 100644 rikidown.md diff --git a/.obsidian/app.json b/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.obsidian/appearance.json b/.obsidian/appearance.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.obsidian/appearance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.obsidian/core-plugins.json b/.obsidian/core-plugins.json new file mode 100644 index 0000000..639b90d --- /dev/null +++ b/.obsidian/core-plugins.json @@ -0,0 +1,33 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "footnotes": false, + "properties": true, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": true, + "bases": true, + "webviewer": false +} \ No newline at end of file diff --git a/.obsidian/graph.json b/.obsidian/graph.json new file mode 100644 index 0000000..e21a18d --- /dev/null +++ b/.obsidian/graph.json @@ -0,0 +1,22 @@ +{ + "collapse-filter": true, + "search": "", + "showTags": false, + "showAttachments": false, + "hideUnresolved": false, + "showOrphans": true, + "collapse-color-groups": true, + "colorGroups": [], + "collapse-display": true, + "showArrow": false, + "textFadeMultiplier": 0, + "nodeSizeMultiplier": 1, + "lineSizeMultiplier": 1, + "collapse-forces": true, + "centerStrength": 0.518713248970312, + "repelStrength": 10, + "linkStrength": 1, + "linkDistance": 250, + "scale": 1, + "close": false +} \ No newline at end of file diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json new file mode 100644 index 0000000..7c67453 --- /dev/null +++ b/.obsidian/workspace.json @@ -0,0 +1,192 @@ +{ + "main": { + "id": "43695258c32658e7", + "type": "split", + "children": [ + { + "id": "9cac58892ad2665b", + "type": "tabs", + "children": [ + { + "id": "7d03f81db58db910", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "rikidown.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "rikidown" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "d39d3a473637afb8", + "type": "split", + "children": [ + { + "id": "49d4c8a0d3f7f144", + "type": "tabs", + "children": [ + { + "id": "08c078c6d4a98746", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical", + "autoReveal": false + }, + "icon": "lucide-folder-closed", + "title": "Files" + } + }, + { + "id": "4ea3b24b7ec07c99", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "Search" + } + }, + { + "id": "b545fa64e3acff09", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "Bookmarks" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "a4a8acd82b026829", + "type": "split", + "children": [ + { + "id": "ec24445c92158e46", + "type": "tabs", + "children": [ + { + "id": "f8a46b0608a1dc14", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "rikidown.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "Backlinks for rikidown" + } + }, + { + "id": "105238162e43594b", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "file": "rikidown.md", + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "Outgoing links from rikidown" + } + }, + { + "id": "f7db911d22211924", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-tags", + "title": "Tags" + } + }, + { + "id": "f25bdf844b6a644e", + "type": "leaf", + "state": { + "type": "all-properties", + "state": { + "sortOrder": "frequency", + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-archive", + "title": "All properties" + } + }, + { + "id": "6ec89bc7e80d93ac", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "rikidown.md", + "followCursor": false, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-list", + "title": "Outline of rikidown" + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:Open quick switcher": false, + "graph:Open graph view": false, + "canvas:Create new canvas": false, + "daily-notes:Open today's daily note": false, + "templates:Insert template": false, + "command-palette:Open command palette": false, + "bases:Create new base": false + } + }, + "active": "7d03f81db58db910", + "lastOpenFiles": [ + "README.md", + "rikidown.md", + "infra.md" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index f4d62f0..696d131 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ -# Hello world! - -It appears this does not support normal markdown, so this may be dropped awfully quick. Much sadness. - -It seems to be simple and fast though, so I'm conflicted. - -[infra.md](infra.md) +# Hello world! + +It appears this does not support normal markdown, so this may be dropped awfully quick. Much sadness. + +It seems to be simple and fast though, so I'm conflicted. + +[infra.md](infra.md) + +[rikidown.md](rikidown.md) describes the wiki software that was written to support this wobsite. In essence, this is the most basic version of a git-based wiki that uses Markdown to render it's content that I could make. \ No newline at end of file diff --git a/infra.md b/infra.md index bad5477..6df9b1a 100644 --- a/infra.md +++ b/infra.md @@ -1,9 +1,9 @@ -All of this is running on a Raspberry Pi 5 sitting in a closet. The Pi runs k3s, a lightweight Kubernetes implementation, and Tailscale to allow me to access resources when I'm away from home. - -## FluxCD - -The cluster is managed by FluxCD. I describe my apps in kustomizations and plain YAML. - -## SSL - -SSL certs are issues through letsencrypt. I've pointed my name cheap domain name to Google Clouds DNS servers, then setup cert-manager in the Kubernetes cluster to acquire SSL certificates using the DNS challenge method. This allows me to have valid SSL certs with no client side configuration, and without actually exposing my service to the Internet (which would be required for the standard HTML challenge). +All of this is running on a Raspberry Pi 5 sitting in a closet. The Pi runs k3s, a lightweight Kubernetes implementation, and Tailscale to allow me to access resources when I'm away from home. + +## FluxCD + +The cluster is managed by FluxCD. I describe my apps in kustomizations and plain YAML. + +## SSL + +SSL certs are issues through letsencrypt. I've pointed my name cheap domain name to Google Clouds DNS servers, then setup cert-manager in the Kubernetes cluster to acquire SSL certificates using the DNS challenge method. This allows me to have valid SSL certs with no client side configuration, and without actually exposing my service to the Internet (which would be required for the standard HTML challenge). diff --git a/rikidown.md b/rikidown.md new file mode 100644 index 0000000..f74b715 --- /dev/null +++ b/rikidown.md @@ -0,0 +1,5 @@ +Homepage: https://git.tipsy.codes/charles/rikidown + +This is a very simple Markdown-wiki renderer. I use it with Obsidian, because it has a fancy UI and I like shiny things, BUT, Obsidian does not seem to be open source. And this makes me sad. + +Irregardless; the tool is simple, and not super optimal. In particular, it will render the markdown page for every single request, which is fairly expensive. It might be better to render the pages when the git repo is updated/cloned, but I'm lazy. \ No newline at end of file