Git Product home page Git Product logo

chat_gram's Introduction

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 --binstubs to load the right dependencies.
  3. bin/rake chatgram:setup to create the database.
  4. bin/rackup config.ru to start the server.

See chat_gram.rb for the env variables.

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.

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.

chat_gram's People

Contributors

technoweenie avatar

Watchers

James Cloos avatar  avatar

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.