/twitter-streaming-framework

TypeScript/Node.js framework for processing Twitter data stream.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

TWItter STreaming (TWIST) Framework

The TWItter STreaming (TWIST) framework contains Node.js utilities written in TypeScript for implementing Extract, Transform and Load (ETL) pipelines. The framework handles streaming of Tweets from Twitter's PowerTrack API, and provides tools for sending high volumes of data to HTTP APIs for transformation and loading the results into a database.

The framework also includes basic tools for building APIs on top of the data loaded into the database.

What's in the box?

The src/ directory contains the following folders:

  • database/ base classes for accessing databases and tables.
  • http/ classes for streaming HTTP data, managing highly parallel requests and serving APIs.
  • twitter/ classes for streaming and searching Tweets through the Twitter API.
  • util/ useful helpers.

Some of these folders (e.g. http and twitter) include an examples subfolder with specific examples for each package. In addition , the src/app direcotry includes a number of sample applications:

  • crypto/ a dashboard showing public conversation trends around various crypto coins.
  • twidl/ a downloader tool for large batches of historic Tweets.
  • vsa/ a Visual Search API (VSA) for searching Tweets with logos or textual brand mentions.

Contact us

Issues?

Please open tickets and pull requests on Github.

Security Issues?

Please report sensitive security issues via Twitter's bug-bounty program (https://hackerone.com/twitter) rather than GitHub.