Consumes a Twitter stream and counts the hashtags, for starters...
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
public
.gitignore
LICENSE
README.md
check_running.sh
composer.json
index.html
nginx.conf.sample
on_reboot.sh
restart_tweets.sh
run
stems.txt

README.md

Politicator.com

This started out a few years ago as a project to keep my programming chops up. The programming focus was on learning:

  • the Phalcon framework,
  • to capture a Twitter stream,
  • more machine learning techniques to do things with the data,
  • more about OO code design,
  • to use existing PHP and Javascript libraries where possible.

This is a work in progress but is fully functional. This code uses a more streamlined process to connect to Twitter than fennb/phirehose or OwlyCode/StreamingBird.

It requires PHP7, Phalcon, Composer, and the extension “Ds” available with PEAR. It is currently running on an AWS instance with Debian 8, Nginx 1.12, PHP 7.2, and Phalcon 3.3.