Glom

Problem:

To find a package for templating my new js project, I must open github.com and sift through people's crappy repos.

Solution:

$ glom 'javascript templating'

Searching `https://bower-component-list.herokuapp.com` for `templating`...

Searching `http://jiyinyiyong.github.io/nipster/packages.json` for `templating`...

+-----------------+-------------------------+---------------+-------+----------------+----------+
| Name            | Description             | Author        | Stars | Last Updated   | Registry |
+-----------------+-------------------------+---------------+-------+----------------+----------+
| mustache        | Minimal templating      | janl          | 5457  | 3 months       | bower    |
|                 | with {{mustaches}}      |               |       |                |          |
|                 | in JavaScript           |               |       |                |          |
| hogan           | A compiler for the      | twitter       | 2912  | 25 days        | bower    |
|                 | Mustache templating     |               |       |                |          |
|                 | language                |               |       |                |          |
+-----------------+-------------------------+---------------+-------+----------------+----------+

Installation

$ gem install glom

Contributing

Support for APIs can be added easily by adding [ApiName].rb to the lib/glom/registries directory.

[ApiName].rb should be a module with a KEYWORDS array and a get() method.

Example:

# npm.rb

module Npm
  KEYWORDS = ['npm', 'node', 'nodejs', 'js', 'javascript']

  def get
    # return array of packages here plz
  end
end

Git for ~~losers~~ dummies

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request