Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.96 KB

README.md

File metadata and controls

66 lines (43 loc) · 1.96 KB

ChatGram

ChatGram is a barebones Instagram realtime endpoint for posting images to a chat service. With it, you can...

  • See when friends post pics -- in RealTime (tm)!

  • Search for recent Instagrams in a given lat/long!

    (Note: This requires custom location search => lat/long coordinates integration).

Installation

  1. Clone the repo from GitHub.
  2. bundle install to load the right dependencies.
  3. rake db:create to create the database.
  4. bundle exec rackup config.ru to start the server.

If you don't want to use Bundler or Rubygems, you can require chat_gram/app manually and start it up like any other Rack application. Booya.

Deployment

ChatGram is designed to be deployed on Heroku. That means, config files are replaced with environment variables. See ./chat_gram.rb for the expected environment variables.

Customizing

I tried to make the basic pieces as abstract as possible. You should be able to write custom chat service endpoints, or store your data in CouchDB...

Chat Services

The only service supported currently is Campfire. I'd love to get Convore support at some point.

Data Store

The data store has a simple API and can basically support anything. Only basic DB support is included.

TODO

  • Document startup env vars better
  • Add yaml config file support.
  • Finish Admin UI.
  • Come up with a clever way to load other chat services or data stores.
  • Bundle into a gem.