Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/konoui/alfred-bookmarks

bookmark searcher with alfred workflow written in Go
https://github.com/konoui/alfred-bookmarks

alfred-workflow bookmark firefox golang google-chrome

Last synced: about 1 month ago
JSON representation

bookmark searcher with alfred workflow written in Go

Awesome Lists containing this project

README

        

![Generic badge](https://github.com/konoui/alfred-bookmarks/workflows/test/badge.svg)
[![Code Grade](https://api.codiga.io/project/20714/status/svg)](https://www.codiga.io)

## alfred bookmarks

The workflow is a cross-browser bookmark searcher across Firefox, Google Chrome and Safari.

## Install

- Download and open the workflow with terminal.

```
$ curl -O -L https://github.com/konoui/alfred-bookmarks/releases/latest/download/alfred-bookmarks.alfredworkflow && open alfred-bookmarks.alfredworkflow
```

- Build the workflow on your computer.

```
$ make package
$ ls
alfred-bookmarks.alfredworkflow (snip)
```

## Usage

Please type `bs ` and select your desired bookmark to open on default web browser.

![alfred-bookmarks](./alfred-bookmarks.gif)

## Customize Configuration

Please create configuration file as `.alfred-bookmarks.yaml` in home directory (`~/`) or config directory (`~/.config/`) if you want to customize.

```
firefox:
enable: true
profile_name: "default"
profile_path: "${HOME}/Library/Application Support/Firefox/Profiles"
chrome:
enable: true
safari:
enable: false
remove_duplicates: true
```

If the configuration file does not exist, the workflow try to use available bookmark files of web browsers.

## Feature

- Supports fuzzy search.
- Supports following web browsers.
- Firefox
- Google Chrome
- Safari
- Supports options
- filter by folder name.
- e.g. `bs -f `
- clear cache data.
- e.g. `bs --clear `

## Limitation

### Firefox

The workflow reads latest bookmark data from `~/Library/Application Support/Firefox/Profiles/.default/bookmarkbackups/` directory.
If you register a web site to bookmarks, the workflow does not search the web site immediately.

## License

MIT License.