/yet-another-pinboard-extension

Manage your Pinboard bookmarks in your browser.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Yet Another Pinboard Extension

Shows your Pinboard bookmarks in the omnibar suggestions if "pin" is prepended. Also, allows you to view, open and edit your bookmarks in your browser. Furthermore, enables (optionally) auto-copying new browser bookmarks to pinboard.

Written in pure Javascript/HTML/CSS without external dependencies (But uses Mozilla's Web Extension Polyfill to be able to handle Chrome's differences (mostly, at least).

Does not send any data anywhere, as far as I know (except to pinboard, of course).

Download / Install

Instructions

  • To connect the add-on with your pinboard account, enter your API key in the options page (about:addons or chrome://extensions). Do not enter your normal password! The key will be stored in the add-on's local browser storage, and I have no idea if other add-ons / users / whoever can access that. Also, it probably wouldn't even work.
  • The API key can be found on https://pinboard.in/settings/password.
  • You can search through your bookmarks, create new ones and edit old ones via the button in the Action Menu (add it to the bar if it is not there)

To build

  • Install npm/node and run npm install
  • Alternatively, manually install these packages:
    • webextension-polyfill (necessary to be included)
    • web-ext-types (typescript declarations for web extensions)
    • tslint (optionally, to use standardised formatting)
    • typescript (to cross-compile .ts to .js)
  • run the scripts outlined in package.json or:
    • create folder structure below
    • copy html and css in their folders
    • copy browser-polyfill.min.js in the vendor/webextension-polyfill folder
    • (run tslint)
    • run tsc (typescript compiler)
  dist
    +-- hml
    +-- css
    +-- js
    +-- vendor
    |   +-- webextension-polyfill

Thanks

Changelog (incomplete)

v1.2.1 - v1.2.5:

  • Adds symbol in popup for shared bookmarks
  • Adds filter in popup for bookmarks flagged as "to read"
  • Optimized API request queue (deleting duplicates)
  • Added API polling to check every 5 minutes for new bookmarks

v1.2:

  • Adds deleting of pins
  • Adds private/public flags
  • Revamps API access (caches connection if internet doesn't work)
  • Adds context menu item for "To Read"
  • Changes icon scheme -- show pin status as badge instead of changing the icon itself
  • Adds tag suggestions

v1.1:

  • Adds option to auto-save new bookmarks to pinboard
  • Adds Google Chrome support, among others using Mozilla's Web Extension Polyfill

v1.0

  • Initial release, only for Firefox