Alfred Workflow for easy access to your Obsidian Periodic Notes.
If you use Alfred AND Obsidian as part of your daily work flow, then this is for you! ❇️
If you’re an Obsidian user, chances are you have some form of periodic notes. You might have a note for your daily tasks, a review for the week, or even taxes to handle every year. It's difficult to manage and navigate to your notes in Obsidian, with the process of making new notes and applying the right template being just too tedious.
Chrono Notes is a way to navigate to any type of periodic note within 4 keystrokes. With ocd
, you can access your daily planner, even if you haven’t created the note for today yet. Check opd
to view yesterday’s tasks and avoid repeating them today. Use ocw
to review your weekly goals and determine what you can pull from that list. You’re also curious about how the year is going so far, so you look at annual goals with ocy
.
With a few simple keystrokes, staying organized becomes a breeze using this approach.
npm install alfred-chrono-notes
Here are the default Alfred keywords to open notes in Obsidian, which you can change to your heart's content
Daily Notes
ocd
: Open current (today's) daily note.
ond
: Open next (tomorrow's) daily note.
opd
: Open previous (yesterday's) daily note.
Weekly Notes
ocw
: Open current (this week's) weekly note.
onw
: Open next (next week's) weekly note.
opw
: Open previous (last week's) weekly note.
Monthly Notes
ocm
: Open current monthly note.
onm
: Open next monthly note.
opm
: Open previous monthly note.
Quarterly Notes
ocq
: Open current quarterly note.
onq
: Open next quarterly note.
opq
: Open previous quarterly note.
Annual Notes
ocy
: Open current annual note.
ony
: Open next annual note.
opy
: Open previous annual note.
- Daily
- Weekly
- Monthly
- Quarterly
- Annually
- Current
- Next
- Previous
https://moment.github.io/luxon/#/formatting?id=table-of-tokens
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'
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
-
Better onboarding experience
-
Right now you can only open one template for an interval at a time. Upcoming feature you can you have multiple templates (Like annual goals and annual tax planning) and you select which template within Alfred search bar.
-
Move core business logic to a full Obsidian plugin, and make this Alfred workflow just a pass-through client.