intervention/pinboard

This package is abandoned and no longer maintained. No replacement package was suggested.

Searchable local Pinboard mirror

1.0.2 2022-04-30 14:54 UTC

This package is auto-updated.

Last update: 2024-01-28 14:26:01 UTC


README

Latest Version

This packages provides a local command line interface to interact with your link collection at pinboard.in. The main reason behind this project is, to have a local mirror of all Pinboard links an a Sqlite database to be able to search the whole collection quickly with Alfred. Therefore this packages also provides an Alfred Workflow.

Installation

The best way to install this package is globally with Composer.

Require the package via Composer:

$ composer global require intervention/pinboard

After installation you will have a new pinboard executable in ~/.composer/vendor/bin. It is convenient to have this folder in your $PATH.

Setup

Next you have to configure your Pinboard credentials. To do so create ~/.pinboard your home directory and put in your username and your access token.

PINBOARD_USERNAME=myusername
PINBOARD_TOKEN=mypinboardtoken

Now you can run the application, to sync your links from your Pinboard account.

$ pinboard sync

You can automate the syncing process by calling the script regularly as a cron job.

Usage in Alfred 4

Now you have local database of all your links. To be able to search your links with Alfred, import the workflow SearchPinboard.alfredworkflow by double clicking or dragging it into the application settings.

You may need to alter the path to the php executable in the Script Filter node. Feel free to change the other settings of the workflow as you like.

Now you should be able to search your Pinboard links quickly with Alfred by typing p and your search string.

sample.png

License

Intervention Pinboard is licensed under the MIT License.

Copyright 2022 Oliver Vogel