A simple plugin to xbar (former BitBar) as the basic Pocket client working in your Mac menu bar.
Supports main actions: retrieve articles, add or delete (use ⌥) an article.
- Install the latest version of xbar. I recommend to use Homebrew: run
brew install --cask xbar
in the terminal window. - Install Python 3, pocket-api and keyring packages:
brew install python && pip3 install -U pocket-api keyring
. - Copy pocket.10m.py to your xbar plugins folder (e.g. with curl), and run
chmod +x pocket.10m.py
in that folder. - Create your consumer key from Pocket's developer console and authorize the app. Copy your consumer key and paste in the Pocket Bar dialog, then press Authorize button in the opened browser tab.
- Start xbar, or if already running, click the xbar menu and choose Preferences -> Refresh all.
# install xbar
brew install --cask xbar
# install the Python, Pocket API wrapper and Keyring packages
brew install python && pip3 install -U pocket-api keyring
# install the Pocket Bar script to the xbar plugins folder
cd "$(defaults read com.matryer.xbar pluginsDirectory)" && curl -LO https://github.com/inbalboa/pocketbar/releases/latest/download/pocket.10m.py && chmod +x pocket.10m.py
Create consumer key, authorize the app & (re)start xbar.