Giter Site home page Giter Site logo

hype-tracker's Introduction

hype-tracker

Crypto is heavily driven by hype. Let us follow the madness.

Quick Summary

This project is meant to be as minimal as possible with a small number of dependencies. The Twitter package is used to facilitate interactions with their API and the Twilio package is used to transmit realtime information to the user regarding the Twitter account they are tracking. There are methods of approach that are better suited for DB storage, but are currently done in memory to keep things simple. These points are noted for personal revisions.

The application is extremely 'single purpose' and targets the Coin of the Day Tweets that briefly drive the market for the coin being mentioned. That said, one could easily play with the review process and plugin your own target text with corresponding filter methods.

Install

  • Setup Environment Variables (discussed below)
  • npm install
  • npm run main

Setup Environment Variables

The following environment variables are expected in order for this project to function. Such variables should be kept in the .env file and for all that is holy, keep that out of your git tracking.

Expected Vars in .env:

(Basic API Stuff)

  • TWILIO_SID

  • TWILIO_AUTH

  • TWILIO_BASE_NUM

  • TWILIO_TEST_SID

  • TWILIO_TEST_AUTH

  • TWITTER_CONSUMER_API_KEY

  • TWITTER_CONSUMER_API_SECRET

  • TWITTER_ACCESS_TOKEN

  • TWITTER_ACCESS_TOKEN_SECRET

(Phone Numbers You're Sending To)

  • NUM_ONE
  • NUM_TWO

Notes

  • There is an estimated 4-8 second gap between when a Tweet is reviewed and a Twilio msg is received.
  • Process is set to run every 2 seconds. This can be updated at the bottom of the main.js file.
  • This project was completed in a few hours as a labor of love. Don't expect it to be bulletproof.

hype-tracker's People

Contributors

tokap avatar

Stargazers

 avatar

Watchers

James Cloos 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.