Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
mapping tweets real time using the streaming location api
branch: master

This branch is even with whichlight:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
libs/dist
node_modules
.gitignore
README
config.js
index.html
main.js
server.js
style.css

README

--nodejs-leaflet-eventstreams-

This webapp makes use of node, event-streams and leaflet. 

It queries the Twitter Streaming API with location 
so that only tweets that are geotagged with coordinates
are returned. 

The most recent tweets are pulled in and displayed on the
map.  There is no database- tweets are displayed as they come in. 

Much of the server side is based on nodejs-stream
https://github.com/chovy/nodejs-stream

Leaflet is a fantastic mapping library http://leaflet.cloudmade.com/

More deets on the twitter streamin api for location
https://dev.twitter.com/docs/streaming-apis/parameters#locations

To use, download the code and enter your twitter username and password in the 
config.js file.  Install node and any dependencies using npm.  

>node server.js 
This will start the node server, the go to localhost:8000 in the browser
to see the world map and watch it populate. Sometimes it takes a few 
minutes for the API to fetch the tweets. 

Get in touch on twitter, I am @kawantum
Check out my other projects at whichlight.com
Something went wrong with that request. Please try again.