All Projects → drgrib → Alfred Bear

drgrib / Alfred Bear

Streamlined note searching and creation for Bear using Alfred

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Alfred Bear

Alfred Npms
Alfred 3 workflow to search for npm packages with npms.io
Stars: ✭ 312 (+53.69%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Collection
A collection of all known Alfred3 workflows
Stars: ✭ 785 (+286.7%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Bear
Alfred 3 workflow to create and search notes in Bear.
Stars: ✭ 319 (+57.14%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
alfred-caniuse
Quickly reference caniuse.com support tables using Alfred 3.
Stars: ✭ 16 (-92.12%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfy
Create Alfred workflows with ease
Stars: ✭ 2,232 (+999.51%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Slack
The Slack workflow for Alfred app
Stars: ✭ 254 (+25.12%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Awgo
Go library for Alfred 3 + 4 workflows
Stars: ✭ 556 (+173.89%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
alfred-last2imgur
Alfred workflow to upload the last screenshot taken to Imgur + (delete and minify image)
Stars: ✭ 15 (-92.61%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfredmagic
一个面向效率提升的中文Workflow
Stars: ✭ 178 (-12.32%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Bluetooth Connect
Alfred plugin that allowed to connect/disconnect to paired bluetooth device
Stars: ✭ 28 (-86.21%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
alfred
A fast, simple way to make Alfred workflow script filters in Go
Stars: ✭ 25 (-87.68%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Pdf Tools
Optimize, encrypt and manipulate PDF files.
Stars: ✭ 69 (-66.01%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
alfred-string-operations
Perform string operations to clipboard content
Stars: ✭ 70 (-65.52%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Things
Interact with Things 3 using Alfred.
Stars: ✭ 278 (+36.95%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
bookends-tools
Alfred Workflow to Integrate with Bookends, an academic reference manager/bibliography tool for macOS
Stars: ✭ 78 (-61.58%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Emoj
Alfred 3 workflow to find relevant emoji from text
Stars: ✭ 325 (+60.1%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Pinboard Rs
Alfred Workflow for Pinboard (Rust)
Stars: ✭ 223 (+9.85%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
wipfred
🚧Manage your wip.chat todos with alfred
Stars: ✭ 23 (-88.67%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Iconfinder Search
Alfred 3 workflow for Iconfinder instant search
Stars: ✭ 14 (-93.1%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow
Alfred Atom
Alfred workflow to browse and open Atom projects
Stars: ✭ 41 (-79.8%)
Mutual labels:  alfred, alfred-workflow, alfred3-workflow

Donate

Bear Workflow

Streamlined note searching and creation for Bear using Alfred.

Install

Just download the latest release and double-click Bear.alfredworkflow. Alfred will open the workflow and install it.

Search

bs or bsearch

Recent Notes

Leave the search field empty to see recent notes with their tags as subtitles.

Basic Search

Start typing to search through the titles and text of most recent notes, title matches first.

Tag Search

Type # at any time to autocomplete your tags.

Start typing to search tags.

Once completed, the notes will be filtered by that tag.

Add more tags to filter by multiple tags.

Start typing to search titles and text within a tag.

All these terms can be typed in any order and they will work the same. For example, if you want to add a tag after typing a bare search term, the autocomplete will still help you. Or if you remember you want to filter by another tag after typing the first tag and a bare search term, you can autocomplete and add the second tag by typing # again.

Search in Bear App

You can search any query you type in the Bear app's main window by holding down the option key. If you've entered a tag, it will open the Bear main window to that tag for further browsing.

The workflow will also autocomplete any of Bear's Special Search keywords if you start typing @ or [email protected].

If you use these keywords and have no other search results, the workflow will automatically populate a "Search ... in Bear App" item without you needing to press option.

Open Note in Bear App

Similarly, you can open any note you select in the Bear app's main window by holding down the command key.

Link Pasting

While in your Bear notes, you can paste a link to another note by searching for it and holding down the shift key.

New Notes

bn or bnew followed by title and optional tags.

Tag autocomplete works the same. Also, any text in your clipboard can be added to the new note by holding down the command key.

Create/Search

bcs or bcsearch

You may find sometimes that you want to retrieve a note if it exists and create it if it does not. This command provides that functionality by combining the behavior of search and create. It will provide all the same search results as normal search and additionally add a create item third in the list using normal create options.

If there are less than two search items, the create item will be the last or only item.

You can additionally create links to notes by holding the shift key while selecting a search item. Selecting the create item while holding the shift key will do nothing.

Why I created this

I am especially grateful to Chris Brown, who created a Python based Bear workflow. It was the basis for this project. However, I decided to create my own project for a few reasons:

  • Compiled Go is faster than interpretted Python. Not that much faster but fast enough for me to notice when searching and creating notes throughout the day.
  • I wanted the features involving tag searching and autocompletion, link pasting, and automatic clipboard note content.
  • I wanted fewer, more optimized SQL queries into the Bear database to increase speed since this appears to be the main bottleneck on performance.

Authorization

The first time you use the workflow after installing or upgrading, you will see a security warning:

This is a quirk of macOS 10.15 and above. Apple currently forces developers to pay $99 a year to be able to officially sign their executables and avoid this warning, which I'm not going to pay since I'm providing this workflow for free as an open source project.

After seeing this warning, you have to go to System Preferences > Security & Privacy > General and click the new button that has appeared to allow the executable to run. You then have to run it again and you will see this security warning again but now it will have a new button that lets you allow the executable to run.

These warnings will appear once for each of the 5 executable inside the workflow as you use new features. Once you have authorized all 5, you won't see these warnings anymore until you install a new version.

If you do not see the above security warnings, do the following

  1. Go to 'Workflows' section in Alfred Preferences
  2. Right click on 'Bear' by drgrib and select 'Open in Terminal'
  3. Copy this code and execute it chmod +x cmd/create/create cmd/csearch/csearch cmd/link/link cmd/search/search cmd/setcursor/setcursor. This should fix 'Permission Denied' errors.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].