Alfred workflows for searching Bear notes and Docker Hub images
Recently1 I have forked, updated, and started distributing two Alfred workflows: alred-bear.alfredworkflow and docker-hub.alfredworkflow.
alfred-bear
I forked alfred-bear from bjrnt/alfred-bear to fix a few issues:
- it wasn’t built for Apple Silicon
- it wasn’t codesigned or distributed in a notarized package
- on my machines, it just printed an error about the sqlite3 package requiring cgo; it didn’t successfully search my Bear notes
My fork fixes the error by using modernc.org/sqlite, a pure-Go SQLite implementation, to avoid the need for cgo. I’ve also updated the build and release process to:
- run on GitHub Actions
- build a codesigned binary that runs natively on Intel and Apple Silicon
- produce a notarized .dmg for distribution
Download alfred-bear.alfredworkflow from GitHub.
docker-hub
I forked docker-hub from skyzyx/docker-hub.alfredworkflow for similar reasons. The original worked, but getting it to run took several steps due to the lack of codesigning and notarization. It also used a very outdated method to manage Go dependencies.
My fork:
- uses Go Modules for dependency management
- uses GitHub Actions for the build & release process
- builds a codesigned binary that runs natively on Intel and Apple Silicon
- produces a notarized .dmg for distribution
Download docker-hub.alfredworkflow from GitHub.
Well, within the past year. ↩