Code Monkey home page Code Monkey logo

jakaton-2016-emojimantics's Introduction

emojitrack-feeder

This consumes the Twitter streaming API, processing and feeding the Redis instance for the rest of Emojitracker.

Development Setup

  1. Make sure you have Ruby 2.1.x installed.

  2. Get the repository and basic dependencies going:

    git clone mroth/emojitrack-feeder
    cd emojitrack-feeder
    bundle install --without=production
    
  3. Copy .env-sample to .env and configure required variables.

  4. Make sure you have Redis installed and running. The rules in lib/config.rb currently dictate the order a redis server instance is looked for.

  5. Run all processes via foreman start or forego start (depending on which you have installed).

Be sure to note that while the processing power is fairly managable, the feeder component of emojitrack requires on it's own about 1MB/s of downstream bandwith, and ~250KB/s of upstream. You can use the MAX_TERMS environment variable to process less emoji chars if you don't have the bandwidth where you are.

Note, DO NOT run the feeder process with REDIS_URL configured to the production server, ever.

Other parts of emojitracker

This is but a small part of emojitracker's infrastructure. Major components of the project include:

Additionally, many of the libraries emojitrack uses have also been carved out into independent emoji-related open-source projects, see the following:

  • emoji_data.rb utility library for handling the Emoji vs Unicode nightmare (Ruby)
  • emoji-data-js utility library for handling the Emoji vs Unicode nightmare (Nodejs port)
  • exmoji utility library for handling the Emoji vs Unicode nightmare (Elixir/Erlang port)
  • emojistatic generates static emoji assets for a public CDN

As well as some general purpose libraries:

  • cssquirt Embeds images (or directories of images) directly into CSS via the Data URI scheme
  • sse-bench benchmarks Server-Sent Events endpoints

jakaton-2016-emojimantics's People

Contributors

mroth avatar

Watchers

James Cloos avatar Jonathan Andrade avatar Alejandro 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.