Skip to content

Quickly open a daily note using natural language. Requires "Natural Language Dates" plugin to work.

License

Notifications You must be signed in to change notification settings

charliecm/obsidian-open-with-nldates

Repository files navigation

Obsidian Open with Natural Language Dates

An Obsidian plugin that adds a command that lets you quickly open a daily note using natural language. It requires the Natural Language Dates plugin to be enabled.

I wrote this plugin because I needed a faster way to open a daily note without needing to use a calendar or remember the exact file name. This is useful if you're trying to recall something or want to add to a future daily note. Thanks @argenos for writing Natural Language Dates, which inspired this plugin.

How to Install

From inside Obsidian…

  1. Go to Settings → Community plugins.
  2. Disable Safe mode.
  3. Click Browse, search for Line Commands, and click Install.
  4. Click the toggle button to enable the plugin.

For manual installation, download this repo and copy over main.js and manifest.json to your vault: VaultFolder/.obsidian/plugins/obsidian-open-with-nldates/.

Development

  1. Clone this repo.
  2. yarn to install dependencies.
  3. yarn dev to start compilation in watch mode.
  4. bash install-built.sh /path/to/your/vault -d to create symbolic links of built files to your vault for quick development.

Release

  1. Run yarn build.
  2. Run npm version [patch/minor/major] to bump version in manifest.json and versions.json.
  3. Add changes in CHANGELOG.md.
  4. Add a new version tag and push it.
    git tag -a 1.0.1 -m "1.0.1"
    git push origin 1.0.1
    
  5. Go to “Releases” in GitHub and edit the latest release (created by GitHub Actions). Insert the changelog texts in the description and ensure main.js and manifest.json are attached.
  6. Click “Publish release”.

Support

If you really like this plugin and want to support its development, please consider buying me a coffee 🙂 Thanks!

Buy Me A Coffee