Header Filename

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

Description

Reviews

No reviews yet.

Stats

0
stars
302
downloads
0
forks
65
days
57
days
57
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
16
commits

README file from

Github

Header Filename

Automatically renames notes in Obsidian based on the first # Heading in the document.

Features

  • Inserts a default heading (# untitled) when creating a new empty note
  • Renames the file to match the first H1 heading on every edit
  • Converts names to kebab-case (My Note TitleMy-Note-Title)
  • Translates diacritics to ASCII equivalents (ćc, żz, etc.)
  • Collapses duplicate separators (ABC - CDABC-CD)
  • Configurable debounce delay to avoid excessive file renames
  • Batch rename all files from command palette

Settings

Setting Default Description
Enabled true Toggle the plugin on/off
Default heading untitled Heading text inserted into new notes
Debounce delay 500 ms Time to wait after the last edit before renaming

Install

  1. Clone this repo into your vault's .obsidian/plugins/header-filename/ directory
  2. Run npm install && npm run build
  3. Enable the plugin in Obsidian → Settings → Community plugins

Releasing

  1. Bump version and create a release:
just create-version 1.0.0

This will:

  • Update version in manifest.json and package.json
  • Commit the changes
  • Create a git tag
  • Push to GitHub
  1. GitHub Actions will automatically build and create a release with the plugin files attached.