github.com/deanishe/go-safari (go): Package safari provides access to Safari's windows, tabs, bookmarks etc. on the Mac.  Package-level functions call the corresponding methods on the default Parser, which reads the standard Safari bookmarks file with the default options.  The history subpackage provides access to Safari's history.  The safari command is a simple command-line program that implements some of the library's features.  Tested on Sierra and High Sierra.
Keywords: bookmarks|history|macos|reading-list|safari|tabs