# README
Alfred Safari Toolkit
This is an Alfred workflow for Safari.
I have been using tupton/alfred-safari-history for years, but it runs with Python2 which is removed from macOS 12.3.
So I decided to write one in Go by referring to it.
How to install
Download the workflow from release page and double click.
How to build
It's recommended to go-alfred for workflow packaging.
- First, install is by executing
go install github.com/jason0x43/go-alfred/alfred@latest
. - After running
CGO_ENABLED=1 alfred build
to build project, you will get the execution binary underworkflow
folder. - At last, run
alfred pack
and the workflow package will present in root folder.
Versioning
The current version is 1.0.2 which covers tupton/alfred-safari-history features. In the next version, planning to involve in the Safari tabs searching feature.
Platform
The latest version 1.0.3 has been tested below platform:
- macOS 12.3.1 with Apple Silicon CPU
- macOS 10.15.5 with Intel CPU
If it works or not on other platforms, I'm very glad to know your feedback.
FAQ
Why use CGO_ENABLED=1
?
This workflow depends on sqlite3 to query history from sqlist3 file. sqlite3 requires CGO support.