{"id":24568899,"url":"https://github.com/bitliner/tweetstream","last_synced_at":"2025-03-17T05:27:51.741Z","repository":{"id":6962137,"uuid":"8214470","full_name":"bitliner/TweetStream","owner":"bitliner","description":"Node module to create quickly a Twitter keyword based stream","archived":false,"fork":false,"pushed_at":"2014-10-19T02:55:43.000Z","size":283,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T15:08:09.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitliner.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":"2013-02-15T07:47:40.000Z","updated_at":"2014-10-06T22:46:32.000Z","dependencies_parsed_at":"2022-07-29T02:09:05.816Z","dependency_job_id":null,"html_url":"https://github.com/bitliner/TweetStream","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/bitliner%2FTweetStream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2FTweetStream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2FTweetStream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2FTweetStream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitliner","download_url":"https://codeload.github.com/bitliner/TweetStream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243978931,"owners_count":20378120,"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":"2025-01-23T14:55:41.748Z","updated_at":"2025-03-17T05:27:51.712Z","avatar_url":"https://github.com/bitliner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tweet_stream\n\nIt lets you to create a keyword based Twitter stream.\n\n**Pros** of using  *tweet_stream*:\n\n1. integration with nodejs streams: you can create a twitter stream and pipe it to an other nodejs stream that makes some computations on each tweet (check the example)\n\n2. it enriches each tweet with the specific keyword it was extracted by. In this way you can easily aggregate multiple streams, avoiding to reach the Twitter api limit for stream api\n\n## Installation\n\n`npm install tweet_stream`\n\n\n## Usage\n```\nvar TwStream=require('tweet_stream'), \n    through2=require('through2');\n\nvar t=new TwStream({\n    consumer_key:'xxx',\n    consumer_secret:'yyy',\n    access_token:'zzz',\n    access_token_secret:'lll',\n    keywords: ['obama','election']\n}).pipe(through2.obj(function(tweet, encoding, done) {\n    console.log('t', tweet.text);\n    done();\n}))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitliner%2Ftweetstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitliner%2Ftweetstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitliner%2Ftweetstream/lists"}