https://github.com/ssnickolay/slack-500px
slack-500px
https://github.com/ssnickolay/slack-500px
Last synced: about 1 month ago
JSON representation
slack-500px
- Host: GitHub
- URL: https://github.com/ssnickolay/slack-500px
- Owner: ssnickolay
- Created: 2015-10-02T17:23:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T18:05:05.000Z (over 8 years ago)
- Last Synced: 2025-02-16T22:41:28.772Z (4 months ago)
- Language: Ruby
- Size: 54.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
slack-500px
======
Bot for Slack chat that posting something to it. (like [slack-plain-bots](https://github.com/yetithefoot/slack-plain-bots))
List of available trigger words:
* __inspiration__ - random images from 500px
* __popular__ - it most popular images (https://500px.com/popular)
* __black_and_white__ - it black and white images
* __*__ - for another trigger words execute search by query. (example: `500px boobs`)How it works
---If this bots are integrated, it sends something to channel, where keyword was triggered.
Bot integrates with Slack via its Webhooks mechanism.Configuring Outgoing Webhook
---Everything is simple. Lets configure boobs bot. Slack should send a POST request to bot's url ```https://slack-500px.herokuapp.com```, like here:

Then it responds with payload to Slack: `500px cat`
Credits
---Thanx to guys from http://500px.com for great photos API.
P.S. You can use public API (for *not* slack):
- http://slack-500px.herokuapp.com/inspiration