An open API service indexing awesome lists of open source software.

https://github.com/strugee/hubot-source

"hubot: where's the source?"
https://github.com/strugee/hubot-source

hacktoberfest hubot hubot-scripts javascript

Last synced: 4 months ago
JSON representation

"hubot: where's the source?"

Awesome Lists containing this project

README

          

# hubot-source

[![Build Status](https://travis-ci.org/strugee/hubot-source.svg?branch=master)](https://travis-ci.org/strugee/hubot-source)
[![Coverage Status](https://coveralls.io/repos/github/strugee/hubot-source/badge.svg?branch=master)](https://coveralls.io/github/strugee/hubot-source?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/strugee/hubot-source.svg)](https://greenkeeper.io/)

"hubot: where's the source?"

See [`src/source.coffee`](src/source.coffee) for full documentation.

## Installation

In hubot project repo, run:

`npm install hubot-source --save`

Then add **hubot-source** to your `external-scripts.json`:

```json
[
"hubot-source"
]
```

## Configuration

hubot-source expects one environment variable, `HUBOT_SOURCE_URL`. This is the URL that will be sent back when a user requests the source code.

## Sample Interaction

```
user1>> hubot where's the source?
hubot>> http://example.com/
```

## License

LGPL 3.0+

## Author

AJ Jordan

Originally extracted from the [pump.io](http://pump.io) project's [pumabot](https://github.com/pump-io/pumabot).