项目作者: vitorgalvao

项目描述 :
GUI to add Pinboard bookmarks, controllable via CLI
高级语言: JavaScript
项目地址: git://github.com/vitorgalvao/pinplus.git
创建时间: 2017-03-10T21:47:19Z
项目社区:https://github.com/vitorgalvao/pinplus

开源协议:The Unlicense

下载


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:

  1. 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)