Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rethinkdb/cats-of-instagram
https://github.com/rethinkdb/cats-of-instagram
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rethinkdb/cats-of-instagram
- Owner: rethinkdb
- Archived: true
- Created: 2014-10-13T05:31:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T20:52:01.000Z (over 8 years ago)
- Last Synced: 2024-04-14T14:50:00.590Z (8 months ago)
- Language: JavaScript
- Size: 67.4 KB
- Stars: 51
- Watchers: 28
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rethinkdb - Cats Of Instagram - Show Nearest Cat Pics. (Example apps / GeoSpatial)
README
# Cats of Instagram
__Due to API changes, this demo is no longer working as of today. See https://github.com/rethinkdb/cats-of-instagram/issues/4 for details.__
You can visit https://rethinkdb.com/blog/ or check out one of our other demo repositories in https://github.com/rethinkdb to find other RethinkDB demos.--
This application shows cat pictures from Instagram in real time. It is built on top of RethinkDB and Instagram's PubSubHubbub API. When you start the application, it will subscribe to Instagram's `#catsofinstagram` tag. Instagram will send POST requests to your application every time a new image is posted with the tag.
In order to receive the POST requests from Instagram, you must run the application at a publicly accessible address and specify the public host in the `config.js` file. For development purposes, it is generally most convenient to use something like [ngrok](https://ngrok.com/) to expose a locally-running instance of the application to the public Internet.
The application uses RethinkDB change feeds to identify newly-added cats and then uses WebSockets to propagate cat information to the application frontend. For more details about how the application works, you can read the [CatThink tutorial](http://rethinkdb.com/blog/cats-of-instagram/) on the RethinkDB website.