ORDupdater

by Ordnung
5
4
3
2
1
Score: 50/100

Description

Automatically updates frontmatter (Properties) in Obsidian notes based on folder structure.

Reviews

No reviews yet.

Stats

1
stars
100
downloads
0
forks
57
days
56
days
56
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
55
commits

Latest Version

2 months ago

Changelog

v1.0.4

New

  • Settings tab redesigned: Lock moved to General, dangerous section has description
  • CSS visual cues for disabled toggles, orange notice when overwrite is on
  • Excalidraw files now get frontmatter safely (no breakage)

Fixed

  • Ribbon batch now renames files with spaces (was hardcoded isManual=false)
  • Context menu folder update now also renames files inside
  • Command "Update all" now refreshes folder indices too
  • Root .md file no longer created (isRoot guard)
  • Rename handler no longer deletes renamed files (removed trashFile)
  • src/ folder completely skipped (was checking .ts, not folder name)
  • Files in vault root get proper tags/links instead of empty strings
  • inBatch race condition: counter replaces boolean
  • onunload now clears contentCache
  • Dead code isUserTag() removed
  • Build: 23.4KB minified, zero warnings

README file from

Github

ORDupdater

Automatically manages frontmatter properties based on folder structure. Creates and maintains folder index files.

ORDupdater properties

Features

Capability What it does
Auto-tags Adds a tag from the parent folder name
Auto-links Adds wikilinks to all ancestor folders
Date tracking Sets date on first update, update on every change
Folder index Creates Folder.md files listing subfolders and notes
I18n Interface adapts to Obsidian language (EN / RU)
Batch mode Processes 20 files in parallel for large vaults
Safe Skips hidden folders (.obsidian, .git) and index files. Safely handles Excalidraw diagrams.

Optional

Feature Default Description
Lock properties OFF Hides the Add property button and tag delete buttons
Sanitize spaces OFF Renames files/folders with spaces
Overwrite mode OFF Strips non-standard frontmatter fields

Installation

Settings → Community plugins → Browse → ORDupdater → Install & Enable

Manual: copy main.js, manifest.json, styles.css to .obsidian/plugins/ord-updater/

Usage

Action What happens
Auto (create/edit/rename) Frontmatter is updated automatically
Ribbon icon (sidebar) Updates all files + folder indices
Right-click a folder Updates all files in folder + indices
Command palette Update all files / Update current file

Settings

Setting Description
Auto-update Update frontmatter on file create/modify/rename
Auto-tags Tag from folder name
Auto-links Backlinks to parent folders
Folder index Create/update Folder.md
Index on save Update folder index on Ctrl+S
Lock properties Hide plus button and tag remove buttons
Overwrite mode Strip non-standard fields
Sanitize spaces Rename files/folders with spaces

Development

git clone https://github.com/Ordnungen/ord-updater
cd ord-updater
npm install
npm run dev
npm run build

License

MIT