Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple social aggregate
CoffeeScript CSS Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
public
src
test/fixtures
.gitignore
Procfile
README.md
package.json

README.md

freshivore - Twitter, Instagram lifestream.

This is a simple life stream aggregate made using node + coffeescript + redis + heroku

Layout is compiled using jade templating. Feel free to edit, hack and extend this to your heart's content.

node is required to fiddle with this app locally

Quickstart

  1. Clone the repo

    % git clone git://github.com/vinniefranco/freshivore.git
    
  2. Install the Heroku command line tools if you don't have them installed yet.

  3. Create a new Heroku application and (optionally) rename it:

    % heroku create --stack cedar
    % heroku rename your-stream-name
    
  4. Add [Redis To Go]

    % heroku addons:add redistogo
    
  5. Configure it:

    You will need to set a configuration variable if you are hosting on the free Heroku plan.

    % heroku config:add HEROKU_URL=http://your-stream-name.herokuapp.com
    

    Where the URL is your Heroku app's URL.

    Set your instagram OAuth token

    % heroku config:add INSTAGRAM_TOKEN="..."
    

    Set the instagram user you want to show recent media for

    % heroku config:add INSTAGRAM_USERID="..."
    
  6. Deploy and start your stream

    % git push heroku master
    % heroku ps:scale web=1
    
  7. Running locally

    To run locally on OSX or Linux you'll need a .env file in the root of your app containing the same INSTAGRAM_USERID=foo and INSTAGRAM_TOKEN=bar configs

    Bootstrapping the app: You must install the required libraries using npm.

    % npm install
    

    Running: From the root of your app start foreman and view your stream at localhost:5000

    % foreman start
    
Something went wrong with that request. Please try again.