alfred-hugo
Alfred workflow bindings for NodeJS
Last updated 3 months ago by mdeboer .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install alfred-hugo 
SYNC missed versions from official npm registry.

Hugo

CircleCI Coverage Status Open Issues npm GitHub GitHub stars

Hugo is a script filter framework for your Alfred workflows. It can handle fetching and caching data, configuration storage, checking for updates and much much more. But I suppose you can use it for other purposes in your workflow as well :man_shrugging:

Highlights

  • Written in Typescript :star:
  • Well tested :thumbsup:
  • Built-in cache and configuration storage
  • Advanced filtering of items using Fuse.js :mag:
  • Fetch (JSON) from REST API's using Axios :earth_americas:
  • Update notifications :mailbox:

Getting started

Prerequisites

Installing

Hugo can be installed using Yarn or NPM:

$ yarn add alfred-hugo
$ npm install --save alfred-hugo

Writing your script filter

Please see the docs for documentation and examples on how to use Hugo to write your script filters.

Publishing your workflow to NPM

To publish your workflow to NPM, set up the postinstall and preuninstall scripts in your package.json as follows to automatically add your workflow to Alfred.

{
  "name": "alfred-unicorn",
  "scripts": {
    "postinstall": "hugo-link",
    "preuninstall": "hugo-unlink"
  }
}

People can now install your package globally like this:

$ npm install -g my-alfred-package

Workflows using Hugo

List of Alfred workflows using Hugo.

  • alfred-atom - Alfred workflow to browse and open Atom projects

Feel free to submit your own by opening an issue or submitting a pull request.

Contributing

See CONTRIBUTING for more info about how to contribute.

Authors

Contributors

License

BSD-2-Clause license, see LICENSE.

Current Tags

  • 2.0.0-beta.1                                ...           beta (a year ago)
  • 3.0.1                                ...           latest (3 months ago)

14 Versions

  • 3.0.1                                ...           3 months ago
  • 3.0.0                                ...           3 months ago
  • 2.0.5                                ...           5 months ago
  • 2.0.4                                ...           6 months ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-beta.1                                ...           a year ago
  • 2.0.0-beta.0                                ...           a year ago
  • 1.2.0                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (15)
Dev Dependencies (21)

Copyright 2014 - 2017 © taobao.org |