Git Product home page Git Product logo

outlet's Introduction

Outlet

Outlet is a registry of plugins for the Heroku CLI.

API

Outlet has a simple HTTP JSON API.

Get all plugins

curl -H "Content-Type: application/json" \
https://outlet.herokuapp.com/plugins

Get a specific plugin

curl -H "Content-Type: application/json" \
https://outlet.herokuapp.com/plugins/ddollar/heroku-redis-cli

Publish a plugin

# Usage: publish_plugin heroku/heroku-deploy
#
function publish_plugin() {
  user=$(echo "$1" | cut -d'/' -f1)
  repo=$(echo "$1" | cut -d'/' -f2)
  curl \
  -X POST \
  -H "Content-Type: application/json" \
  -d "{\"user\":\"$user\",\"repo\":\"$repo\"}" \
  https://outlet.herokuapp.com/plugins
}

Development

brew install mongodb node   # (if you don't already have 'em)
npm install                 # install dependencies
mongod&                     # run mongo in the background
foreman start               # run node server with foreman

Pop open localhost:5000.

License

MIT

outlet's People

Contributors

zeke avatar

Stargazers

Ryan Brainard avatar

Watchers

 avatar James Cloos avatar  avatar

outlet's Issues

"Add a Plugin" button does not work

I just tried clicking on the "Add a Plugin" button at https://outlet.herokuapp.com, but nothing happens. Not sure if it's related, but I do see this in my JS console on page load:

Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:235

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.