Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eligundry/twitter-heatmap
A Flask app that shows a Twitter Heatmap in realtime
https://github.com/eligundry/twitter-heatmap
Last synced: 28 days ago
JSON representation
A Flask app that shows a Twitter Heatmap in realtime
- Host: GitHub
- URL: https://github.com/eligundry/twitter-heatmap
- Owner: eligundry
- Created: 2013-11-15T23:38:15.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-16T19:06:01.000Z (about 11 years ago)
- Last Synced: 2024-11-05T22:16:11.663Z (3 months ago)
- Language: JavaScript
- Size: 313 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twitter Heatmap
A Flask application that uses websockets to map Tweets in a geographic location
and produces a heatmap with it.## Setup
1. Clone this repo
2. Setup a virtualenv
```shell
$ virtualenv --python=python2.7 --no-site-packages .venv
$ source .venv/bin/activate
```
3. Install the requirements
```shell
$ pip install -r requirements.txt
```
4. Save `config-sample.yml` as `config.yml` and add the values you want to use
5. Run the Tweet collector
```shell
$ python TweetStreamer.py
```
6. Run the webserver
```shell
$ gunicorn -k flask_sockets.worker application:app
```