Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
/ pinplus Public archive

GUI to add Pinboard bookmarks, controllable via CLI

License

Notifications You must be signed in to change notification settings

vitorgalvao/pinplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PinPlus logo PinPlus

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.

Usage

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}}"

Install

Download the latest version.

Development

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.

Commands
  • Install dependencies: npm install
  • Run: npm start
  • Build for macOS: npm run build-macos
  • Build for all platforms: npm run build
  • Build for macOS and package as a zip: npm run package-macos
  • Build for all platforms and package as a zip: 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.

License

The Unlicense (Public Domain, essentially)