{"id":16144256,"url":"https://github.com/ryanj/twitter-stream-globe","last_synced_at":"2025-04-23T02:32:21.083Z","repository":{"id":20353405,"uuid":"23628384","full_name":"ryanj/twitter-stream-globe","owner":"ryanj","description":"A real-time 3D visualization of Tweets from around the world.","archived":false,"fork":false,"pushed_at":"2014-09-16T17:52:09.000Z","size":3302,"stargazers_count":0,"open_issues_count":0,"forks_count":79,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T21:11:24.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"twglobe-shifter.rhcloud.com","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-03T16:35:11.000Z","updated_at":"2020-07-03T10:04:09.000Z","dependencies_parsed_at":"2022-08-21T17:21:15.470Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/twitter-stream-globe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftwitter-stream-globe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftwitter-stream-globe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftwitter-stream-globe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftwitter-stream-globe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/twitter-stream-globe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250357669,"owners_count":21417325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T00:12:05.263Z","updated_at":"2025-04-23T02:32:21.062Z","avatar_url":"https://github.com/ryanj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"tweet-stream-globe\n==========\n\nA real-time 3D visualization of Tweets from around the world.\n\nThis web app attaches to the Twitter API stream/filter and runs rudimentry sentiment analysis on Tweets with geo data. Tweets are published via PubNub websockets and plotted to a 3D globe.\n\nInspired by the [Web GL Globe Chrome Experiment](http://www.chromeexperiments.com/globe) and the [PubNub Real-Time WebGL Visualization](http://www.pubnub.com/blog/creating-real-time-webgl-visualizations/).\n\n![Screenshot](screenshot.png?raw=true =858x \"Screenshot\")\n[Video Capture](https://vimeo.com/104759844) | [Running Demo](http://twitter-stream-globe.herokuapp.com/) (Availability of this server may fluctuate)\n\nInstalling and Running\n----\n\nInstall [Node.js](http://nodejs.org/).\n\nClone GitHub repo:\n\n```\nhttps://github.com/twitterdev/twitter-stream-globe.git\n```\n\nCreate a Twitter app and PubNub account:\n\n- Create a [Twitter application](https://apps.twitter.com).\n- Create a [PubNub account](https://admin.pubnub.com/#signup) (it's free).\n\nCreate a config.json file using config.sample.json as a template. Fill in your Twitter App API and PubNub keys.\n\nInstall node module dependencies:\n\n```\nnpm install \n```\n\nRun application:\n\n```\nnpm start\n```\n\nGo to [http://localhost:3000](http://localhost:3000) in your browser.\n\n\nDeploying\n---\nThis application is ready to run on a free OpenShift or Heroku account, and can be [deployed with Git](https://devcenter.heroku.com/articles/git).\n\nYou can deploy to OpenShift with [`rhc`](https://github.com/openshift/rhc), by adding your own keys to the following command:\n\n```\nrhc app create twglobe nodejs-0.10 \\\n  --from-code=http://github.com/twitterdev/twitter-stream-globe.git \\\n  NODE_ENV=production \\ \n  TWITTER_CONSUMER_KEY=YOUR_TWITTER_CONSUMER_KEY \\\n  TWITTER_CONSUMER_SECRET=YOUR_TWITTER_CONSUMER_SECRET \\\n  TWITTER_ACCESS_TOKEN=YOUR_TWITTER_ACCESS_TOKEN \\\n  TWITTER_TOKEN_SECRET=YOUR_TWITTER_TOKEN_SECRET \\\n  PUBNUB_PUBLISH_KEY=YOUR_PUBNUB_PUBLISH_KEY \\\n  PUBNUB_SUBSCRIBE_KEY=YOUR_PUBNUB_SUBSCRIBE_KEY\n```\n\nBefore deploying to Heroku, set your environment [config vars](https://devcenter.heroku.com/articles/config-vars) to mirror config.json, and set `NODE_ENV` to \"production.\"\n\nResources\n----\n- [Twitter API statuses/filter stream](https://dev.twitter.com/docs/api/1.1/post/statuses/filter)\n- [Twitter REST API Rate Limiting](https://dev.twitter.com/docs/rate-limiting/1.1)\n- [AngularJS](https://angularjs.org/)\n- [PubNub AngularJS SDK](https://github.com/pubnub/pubnub-angular)\n- [Three.js](http://threejs.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Ftwitter-stream-globe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Ftwitter-stream-globe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Ftwitter-stream-globe/lists"}