Releases: adamkiss/alfred-noteplan
Improved frontmatter / title parsing
This is a pre-release of bugfix for files which use frontmatter, but might not define title inside id, or files that for some reason start with horizontal rule.
🔍⚡🌈 NEW RELEASE!
Noteplan for Alfred 2 is FINALLY here!
With all-new rewrite in Dart, it's now easier than ever to run - no need for any additional tinkering, just download, configure and use it to:
- 🔍 Search through all of your notes, with full-text search
- ⚡ Use Noteplan as link manager - Search through all of your hyperlinks, and immediately open them in your default browser
- 🌈 Use Noteplan as snippet manager - Search through your code bits (with title and description), and automatically paste them to your frontmost app
- ✨ Create new notes easily
- 📆 Go to an exact date, fuzzy date or even a weekly/monthly/quarterly note
🌈 ⚡ - v2 rc13 - Hyperlinks and code bits
Bookmarks and snippets were lies, and also very uncool - It's not searching through bookmarks, but every link you've ever noted down, and snippets without placeholders and such really suck. So I've thought deeply about the problem, even brainstormed with my dear friend Philip, until it came to him:
⚡🌈 HYPERLINKS AND CODE BIT
So I, being a completely serious person, immediately renamed it across the application.
Also, new icons.
🏷️ Search through Bookmarks and Snippets
Every URL with the exception of relabeled noteplan page and every code that also has a title after the language is now searchable:
nb
to browse bookmarksns
to browse snippets
I wanted to call it links originally, but Link is unfortunately something else in dart. I might reconsider before final v2 release.
⏳ Nearing release of v2
In the RC 10, following happened:
- instead of
n :[query]
, the exact date parser is invoked byn. [query]
, which also translates to nspacespace - exact date now also matches straight
w/m/q/y
notes, so you can get right to e.g. quarter 3 of this year withn. q3
- added a new exact date match with
n. 1 4
, where the order of day and month is configurable - I merged the access point to the both databases (workflow and noteplan cache), allowing me to do a cross-check between them and removing the now deleted notes from the index
- Updated formatting of the note titles. I don't think it's ideal, but I like it much more than before
- Finished (probably) all the possible customisations for now.
🔪 Now with date parsing
🎯 2 fast 2 furious - Dart Rewrite
The release candidate 8 for the version 2 is here.
After abandoned effort to rewrite the workflow in Node.js (which was nearly finished, but I couldn't figure out the packaging), and nearly finished rewrite in PHP (I just couldn't leave the idea of compiled FTS Search alone), I decided to learn Dart and fully rewrite the version 2 of this workflow again.
This release candidate brings:
- full rewrite in Dart
- full feature parity with v1 (you can search and you can create. v1 was fairly simple)
- way to run refresh - partial (default) or full from Alfred
- 🚀 partial update - now, whenever the update to the index is initiated, it only processes notes that changed since the last update. that means the actual "usual" update takes between 10 and 25 ms…
- …which means there's no need for update to run on its own, periodically or otherwise. Ever. The update is now run every time you start searching 🤯. It's still super fast. Faster, even.
- a nice debug command (
!!
) so if there's a problem, you can get some relevant info to me - actual support for new note types - weekly, etc.
- new format for calendar notes, namely adding a month name and day of the week to monthly and daily notes respectively
Additionally, this workflow also supports some additional customisations available with Alfred 5:
- customise language for the cached files (currently: en, de & sk)
- customise commands for noteplan search and new note (finally!)
- exclude some folders from full-text search (as requested in #11)
Still to come:
- semi-natural date parser for jumping straight to a calendar note (something like
n .2d
for the day after yesterday, etc. See readme. - actually deleting notes that aren't in the noteplan anymore (current solution: do a full refresh. It takes 400 ms)
- adding the calendar note formatting to the list of customisable options
🕺 Hackery abound!
This version:
- Fixes vendor issue with composer.json being in a different folder
- Introduces new config value (
user_php_script
) to help people who don't have PHP widely available run additional thing to make external PHP available - Fixes assumption about a cached data
note_type
being auto-cast to int
😖 Second second rewrite: Speed 🚀
This a rc-level PHP rewrite, which includes:
- Reading notes from Noteplan's SQLite: It's really really fast (630 notes in 60ms!)
- It also loads all the notes only once. The rest is… sub 10ms
- Quicklook support
- Classes! (nobody cares)
Also:
- I maybe came up with a way to have less technical users use this :)
- I tried to do a node packaged version. It was a fail
- I finally did a discount npc scripts file for ad hoc scripting
🛠️ 2.0.0-rc2: Tinkering with the build
- Downgraded node build version
- hopefully included all the relevant assets / bindings
Edit: broken for arm64 systems (m1/m2)