alfred-chrono-notes

1.0.0 • Public • Published

alfred-chrono-notes CI Coverage Status GitHub License

Alfred Workflow for easy access to your Obsidian Periodic Notes.

Getting Started

Requirements

  1. node>=13
  2. npm>=6.12
  3. Obsidian
  4. Periodic Notes Plugin(Optional)

Setup

Install

npm install alfred-chrono-notes

Configure

Current onboarding is painful, a better config onboarding is coming soon!

For now, users will onboard their ChronoNote Types by adding environment variables for each Interval:

  • FILE_FORMAT
  • PATH
  • TEMPLATE_PATH

If you are a user of Obsidian Periodic Notes, these should be familiar to you already.

Each of these environment variables will be prefixed by the Interval. For example:

Environment Variable Name:

  • DAILY_FILE_FORMAT: 'yyyy'
  • DAILY_PATH: '~/my-obsidian/my-vault/my-daily-folder'
  • DAILY_TEMPLATE_PATH: '~/my-obsidian/my-vault/my-daily-folder'

Alfred Environment Variables

Usage

How Alfred Chrono Notes works

What makes up a Chrono Note?

Intervals

  • Daily
  • Weekly
  • Monthly
  • Quarterly
  • Annually

Ordinal

  • Current
  • Next
  • Previous

Date Format Tokens

https://moment.github.io/luxon/#/formatting?id=table-of-tokens

Testing

There are unit tests, but there currently isn't a way to an integrate test with an alfred environment. All PRs need to have a screenshot or gif of it working

Package Sidebar

Install

npm i alfred-chrono-notes

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

192 kB

Total Files

26

Last publish

Collaborators

  • weseklund