GUI to add Pinboard bookmarks, controllable via CLI
GUI to add Pinboard bookmarks, controllable via CLI. Built for use with the PinPlus Alfred Workflow, but works just as well as a standalone app.
Pinplus works by loading Pinboard’s add a link page with your given parameters to auto-fill options and a few style modifications. The first time you open it, you’ll need to login to your Pinboard account.
If you open PinPlus with a web browser as your frontmost app, it’ll grab the URL and title directly from the page. You can also give it a URL and title from the command line:
PinPlus.app/Contents/MacOS/PinPlus "{{page_url}}" "{{page_title}}"
Built with Electron.
npm start
will call electron main.js
and only then give the arguments. This means that while testing, an extra argument is passed on the command line. As such, the process.argv
array positions need to be increased by one when testing, and be returned to their original state before building the app.
npm install
npm start
npm run build-macos
npm run build
npm run package-macos
npm run package
Currently, only macOS is supported. I do not intend to officially support other platforms in the near future since I cannot consistently and reliably test on them, but am willing to add support if someone wants to collaborate in doing the legwork.
The Unlicense (Public Domain, essentially)