reorg: move tpl/bin under 000-configs, files->assets, add bump-version.sh + plugins doc
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"folder": "01-logs/daily",
|
"folder": "01-logs/daily",
|
||||||
"format": "YYYY-MM-DD",
|
"format": "YYYY-MM-DD",
|
||||||
"template": "tpl/daily.md",
|
"template": "000-configs/templates/daily.md",
|
||||||
"autorun": false,
|
"autorun": false,
|
||||||
"autorunOnlyIfToday": false
|
"autorunOnlyIfToday": false
|
||||||
}
|
}
|
||||||
|
|||||||
Executable
+63
@@ -0,0 +1,63 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# bin/bump-version.sh — auto-increment version in YAML frontmatter
|
||||||
|
# Usage:
|
||||||
|
# bin/bump-version.sh <file> # bump patch (default)
|
||||||
|
# bin/bump-version.sh <file> --patch # bump patch
|
||||||
|
# bin/bump-version.sh <file> --minor # bump minor, reset patch
|
||||||
|
# bin/bump-version.sh <file> --major # bump major, reset minor+patch
|
||||||
|
#
|
||||||
|
# Reads YAML frontmatter, increments version, updates `updated` field.
|
||||||
|
# Writes back in-place.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
FILE="$1"
|
||||||
|
BUMP="${2:---patch}"
|
||||||
|
|
||||||
|
if [ -z "$FILE" ]; then
|
||||||
|
echo "Usage: $0 <file> [--patch|--minor|--major]" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$FILE" ]; then
|
||||||
|
echo "File not found: $FILE" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Extract version
|
||||||
|
CURRENT=$(head -20 "$FILE" | grep -E '^version:' | head -1 | sed 's/version: *//; s/"//g')
|
||||||
|
if [ -z "$CURRENT" ]; then
|
||||||
|
echo "No version field in frontmatter" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Parse semver
|
||||||
|
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT"
|
||||||
|
|
||||||
|
case "$BUMP" in
|
||||||
|
--major)
|
||||||
|
MAJOR=$((MAJOR + 1))
|
||||||
|
MINOR=0
|
||||||
|
PATCH=0
|
||||||
|
;;
|
||||||
|
--minor)
|
||||||
|
MINOR=$((MINOR + 1))
|
||||||
|
PATCH=0
|
||||||
|
;;
|
||||||
|
--patch|*)
|
||||||
|
PATCH=$((PATCH + 1))
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
NEW_VERSION="$MAJOR.$MINOR.$PATCH"
|
||||||
|
TODAY=$(date +%Y-%m-%d)
|
||||||
|
|
||||||
|
# Replace in file (in-place)
|
||||||
|
sed -i.bak \
|
||||||
|
-e "s|^version:.*|version: \"$NEW_VERSION\"|" \
|
||||||
|
-e "s|^updated:.*|updated: \"$TODAY\"|" \
|
||||||
|
"$FILE"
|
||||||
|
|
||||||
|
rm -f "$FILE.bak"
|
||||||
|
|
||||||
|
echo "$FILE: $CURRENT -> $NEW_VERSION (updated: $TODAY)"
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
---
|
||||||
|
title: "Recommended Obsidian Plugins"
|
||||||
|
status: "active"
|
||||||
|
folder: "000-configs/skills"
|
||||||
|
tags: [plugin, obsidian, skill]
|
||||||
|
created: "2026-07-29"
|
||||||
|
updated: "2026-07-29"
|
||||||
|
version: "1.0.0"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Recommended Obsidian Plugins
|
||||||
|
|
||||||
|
Plugin suggestions for this vault. Install in Obsidian → Settings → Community plugins.
|
||||||
|
|
||||||
|
## Tier 1 — Install First
|
||||||
|
|
||||||
|
| Plugin | Why |
|
||||||
|
|---|---|
|
||||||
|
| **Dataview** | Powers the dashboard (`000-shit_admin/dashboard.md`). Auto-lists tasks, recent notes, etc. |
|
||||||
|
| **Templater** | Dynamic templates with `{{date}}` injection. Used by Daily Notes. |
|
||||||
|
| **Daily Notes** | Built-in. Auto-creates `01-logs/daily/YYYY-MM-DD.md` on open. Pre-configured in this vault. |
|
||||||
|
| **Obsidian Git** | Sync from inside Obsidian. No terminal needed for pull/push/commit. |
|
||||||
|
|
||||||
|
## Tier 2 — Quality of Life
|
||||||
|
|
||||||
|
| Plugin | Why |
|
||||||
|
|---|---|
|
||||||
|
| **Calendar** | Click any date → jump to that daily note. Visual daily note nav. |
|
||||||
|
| **Tasks** | Better than Dataview for task tracking. Supports due dates, recurring tasks, query syntax. |
|
||||||
|
| **Tag Wrangler** | Rename/merge tags as vault grows. |
|
||||||
|
| **Various Complements** | Auto-complete text in notes (faster writing). |
|
||||||
|
| **Recent Files** | Quick jump to recent notes. |
|
||||||
|
| **Quick Switcher++** | Enhanced `Ctrl+O` file switcher. |
|
||||||
|
|
||||||
|
## Tier 3 — Power User
|
||||||
|
|
||||||
|
| Plugin | Why |
|
||||||
|
|---|---|
|
||||||
|
| **Excalidraw** | Hand-drawn diagrams and sketches. |
|
||||||
|
| **Mind Map** | Auto-generate mind maps from headings. |
|
||||||
|
| **Paste image rename** | Auto-rename pasted images to descriptive names. |
|
||||||
|
| **Editing Toolbar** | WYSIWYG-style toolbar for tables, math, etc. |
|
||||||
|
| **Outliner** | Better list/outline UX with indent guides. |
|
||||||
|
| **Buttons** | Add buttons to notes that run commands. |
|
||||||
|
|
||||||
|
## Already Enabled (via `.obsidian/core-plugins.json`)
|
||||||
|
|
||||||
|
- Daily Notes
|
||||||
|
- Templates
|
||||||
|
|
||||||
|
## Not Needed on This Server
|
||||||
|
|
||||||
|
Models on the openwebui server work via shell + git. No Obsidian plugins needed server-side.
|
||||||
|
|
||||||
|
## Sync Compatibility
|
||||||
|
|
||||||
|
`.gitignore` is set up to ignore:
|
||||||
|
- Plugin binaries (`.obsidian/plugins/*/main.js`)
|
||||||
|
- Plugin state (`.obsidian/plugins/*/data.json`)
|
||||||
|
- Theme state (`.obsidian/themes/*/data.json`)
|
||||||
|
- Workspace layout (`.obsidian/workspace.json`)
|
||||||
|
|
||||||
|
Tracked (syncs across machines):
|
||||||
|
- Plugin manifests (`.obsidian/plugins/*/manifest.json`)
|
||||||
|
- Plugin styles (`.obsidian/plugins/*/styles.css`)
|
||||||
|
- Theme manifests + CSS
|
||||||
|
- All `.json` config files in `.obsidian/`
|
||||||
|
|
||||||
|
This means installing a new plugin on your PC will sync its config to the server (and any other machine), but the binary still needs to be installed per machine.
|
||||||
@@ -5,7 +5,7 @@ folder: "02-notes"
|
|||||||
tags: [task, vault, test]
|
tags: [task, vault, test]
|
||||||
created: "2026-07-29"
|
created: "2026-07-29"
|
||||||
updated: "2026-07-29"
|
updated: "2026-07-29"
|
||||||
version: "1.0.0"
|
version: "1.0.1"
|
||||||
priority: "high"
|
priority: "high"
|
||||||
due: "2026-07-30"
|
due: "2026-07-30"
|
||||||
owner: "stateofshit"
|
owner: "stateofshit"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ model_owner: "none"
|
|||||||
tags: [rules, model]
|
tags: [rules, model]
|
||||||
created: "2026-07-28"
|
created: "2026-07-28"
|
||||||
updated: "2026-07-29"
|
updated: "2026-07-29"
|
||||||
version: "1.1.0"
|
version: "1.2.0"
|
||||||
---
|
---
|
||||||
|
|
||||||
# Vault Rules
|
# Vault Rules
|
||||||
@@ -73,9 +73,12 @@ draft -> active -> archive
|
|||||||
| Folder | What Goes There |
|
| Folder | What Goes There |
|
||||||
|---|---|
|
|---|---|
|
||||||
| `000-shit_admin` | Your zone. Models read-only. |
|
| `000-shit_admin` | Your zone. Models read-only. |
|
||||||
| `000-configs` | Server/model config docs (mirror of /home/user/000-configs/) |
|
| `000-configs` | Server/model config docs, scripts, templates |
|
||||||
|
| `000-configs/templates` | Markdown templates |
|
||||||
|
| `000-configs/bin` | Helper shell scripts |
|
||||||
| `00-inbox` | Raw dumps, new ideas, unorganized stuff |
|
| `00-inbox` | Raw dumps, new ideas, unorganized stuff |
|
||||||
| `01-logs/daily` | Auto daily notes (Obsidian Daily Notes plugin) |
|
| `01-logs/daily` | Auto daily notes (Obsidian Daily Notes plugin) |
|
||||||
|
| `assets` | Attachments |
|
||||||
| `01-logs` | Session logs, daily notes, timestamps |
|
| `01-logs` | Session logs, daily notes, timestamps |
|
||||||
| `02-notes` | Research notes, findings, reference material |
|
| `02-notes` | Research notes, findings, reference material |
|
||||||
| `03-archive` | Done / superseded files |
|
| `03-archive` | Done / superseded files |
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ folder: ""
|
|||||||
tags: [readme, home]
|
tags: [readme, home]
|
||||||
created: "2026-07-28"
|
created: "2026-07-28"
|
||||||
updated: "2026-07-29"
|
updated: "2026-07-29"
|
||||||
version: "1.1.0"
|
version: "1.2.0"
|
||||||
---
|
---
|
||||||
|
|
||||||
# shit_in_a_vault
|
# shit_in_a_vault
|
||||||
@@ -17,7 +17,16 @@ Obsidian vault for openwebui models + research. Private repo.
|
|||||||
| Folder | Purpose |
|
| Folder | Purpose |
|
||||||
|---|---|
|
|---|---|
|
||||||
| [[000-shit_admin/]] | Your zone — models read-only |
|
| [[000-shit_admin/]] | Your zone — models read-only |
|
||||||
| [[000-configs/]] | Server/model config docs |
|
| [[000-configs/]] | Server/model config, scripts, templates |
|
||||||
|
| [[000-configs/templates/]] | Markdown templates (daily, research, task, handoff) |
|
||||||
|
| [[000-configs/bin/]] | Helper shell scripts (cron, version bump) |
|
||||||
|
| [[000-configs/tools/]] | Tool docs (gh, playwright, vite) |
|
||||||
|
| [[000-configs/skills/]] | Skill definitions, plugin recommendations |
|
||||||
|
| [[000-configs/modes/]] | Model mode presets |
|
||||||
|
| [[000-configs/workspace/]] | Workspace layouts |
|
||||||
|
| [[000-configs/settings/]] | Server settings docs |
|
||||||
|
| [[000-configs/prompts/]] | Reusable system prompts |
|
||||||
|
| [[000-configs/archive/]] | Old/deprecated configs |
|
||||||
| [[00-inbox/]] | Raw dumps, unprocessed |
|
| [[00-inbox/]] | Raw dumps, unprocessed |
|
||||||
| [[01-logs/]] | Session logs |
|
| [[01-logs/]] | Session logs |
|
||||||
| [[01-logs/daily/]] | Auto daily notes (Obsidian Daily Notes plugin) |
|
| [[01-logs/daily/]] | Auto daily notes (Obsidian Daily Notes plugin) |
|
||||||
@@ -25,34 +34,32 @@ Obsidian vault for openwebui models + research. Private repo.
|
|||||||
| [[03-archive/]] | Superseded |
|
| [[03-archive/]] | Superseded |
|
||||||
| [[04-models/]] | Rules, memory, boot prompt, model identity |
|
| [[04-models/]] | Rules, memory, boot prompt, model identity |
|
||||||
| [[05-handoffs/]] | Model-to-model handoffs |
|
| [[05-handoffs/]] | Model-to-model handoffs |
|
||||||
| [[files/]] | Attachments |
|
| [[assets/]] | Attachments (images, PDFs) |
|
||||||
| [[tpl/]] | Templates |
|
|
||||||
| [[bin/]] | Helper scripts |
|
|
||||||
|
|
||||||
## For Models
|
## For Models
|
||||||
|
|
||||||
Boot: read [[04-models/model-boot]]
|
Boot: read [[04-models/model-boot]]
|
||||||
Rules: read [[04-models/Vault-Rules]]
|
Rules: read [[04-models/Vault-Rules]]
|
||||||
Identity: append to [[04-models/model-identity]]
|
Identity: append to [[04-models/model-identity]]
|
||||||
|
Version bump: `000-configs/bin/bump-version.sh <file>`
|
||||||
|
|
||||||
## For You (Obsidian PC)
|
## For You (Obsidian PC)
|
||||||
|
|
||||||
**Required plugins:**
|
**Required plugins:**
|
||||||
- Daily Notes (built-in, auto-enabled by `.obsidian/core-plugins.json`)
|
- Daily Notes (built-in, auto-enabled by `.obsidian/core-plugins.json`)
|
||||||
- Templates (built-in)
|
- Dataview
|
||||||
- Dataview (community)
|
- Templater
|
||||||
- Templater (community)
|
|
||||||
|
|
||||||
**Daily note auto-create** — Daily Notes plugin uses:
|
**Daily note config:**
|
||||||
- Folder: `01-logs/daily`
|
- Folder: `01-logs/daily`
|
||||||
- Format: `YYYY-MM-DD`
|
- Format: `YYYY-MM-DD`
|
||||||
- Template: `tpl/daily.md`
|
- Template: `000-configs/templates/daily.md`
|
||||||
|
|
||||||
Already pre-configured in `.obsidian/daily-notes.json`.
|
See [[000-configs/skills/plugins-recommended]] for more.
|
||||||
|
|
||||||
## Dashboard
|
## Dashboard
|
||||||
|
|
||||||
[[000-shit_admin/dashboard]] — Dataview-driven home screen.
|
[[000-shit_admin/dashboard]] — Dataview home screen.
|
||||||
|
|
||||||
## Git
|
## Git
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user