inbalboa / pocketbar

Your Pocket articles in the Mac menu bar with xbar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pocket Bar

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.

Instructions

  1. Install the latest version of xbar. I recommend to use Homebrew: run brew install --cask xbar in the terminal window.
  2. Install Python 3, pocket-api and keyring packages: brew install python && pip3 install -U pocket-api keyring.
  3. Copy pocket.10m.py to your xbar plugins folder (e.g. with curl), and run chmod +x pocket.10m.py in that folder.
  4. 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.

  1. Start xbar, or if already running, click the xbar menu and choose Preferences -> Refresh all.

tl;dr

 # 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.

About

Your Pocket articles in the Mac menu bar with xbar.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%