{"id":15675019,"url":"https://github.com/edsu/nytimestream","last_synced_at":"2025-08-27T13:11:26.390Z","repository":{"id":2056465,"uuid":"2994565","full_name":"edsu/nytimestream","owner":"edsu","description":"NYTimes Newswire API as a stream using node.js","archived":false,"fork":false,"pushed_at":"2011-12-21T16:40:55.000Z","size":102,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T00:47:51.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://nytimestream.herokuapp.com","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/edsu.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":"2011-12-16T12:47:46.000Z","updated_at":"2016-01-04T12:32:07.000Z","dependencies_parsed_at":"2022-09-21T04:22:20.441Z","dependency_job_id":null,"html_url":"https://github.com/edsu/nytimestream","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edsu/nytimestream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fnytimestream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fnytimestream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fnytimestream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fnytimestream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsu","download_url":"https://codeload.github.com/edsu/nytimestream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Fnytimestream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335076,"owners_count":24916368,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-03T15:54:55.259Z","updated_at":"2025-08-27T13:11:26.343Z","avatar_url":"https://github.com/edsu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n-----\n\nnytimestream is a demonstration of using [Node.js](http://nodejs.org) and \n[Socket.IO](http://socket.io) to create a web based push stream for breaking \nNew York Times stories using the \n[Times Newswire API](http://developer.nytimes.com/docs/times_newswire_api). \n\nSince the Times Newswire API is oriented around an HTTP client polling for new\nstories, nytimestream also needs to poll for updates. However nytimestream can poll\n*once*, and when a new update is found it is pushed to however many clients have \nsubscribed for updates. Compare this to a more traditional scenario where all the \nbrowser clients need to poll either the nytimes api directly, or a proxy for the\nAPI. nytimestream significantly lowers the amount of traffic going to the Times \nNewswire API, since Node.js is able to keep lots of open network connections to clients \nthat are waiting for updates.\n\nSetup\n-----\n\n1. install node\n1. install npm\n1. get a NYTimes developer key for [Times Newswire](http://developer.nytimes.com/docs/read/reference/keys)\n1. `npm install`\n1. `NYTIMES_KEY=\"YOUR_API_KEY_HERE\" node app.js`\n1. point your browser at `http://localhost:3000/`\n\nLicense\n-------\n\nPublic Domain\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fnytimestream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsu%2Fnytimestream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Fnytimestream/lists"}