{"id":45658890,"url":"https://github.com/codeforboston/mbta-alerts-2","last_synced_at":"2026-02-24T08:57:56.540Z","repository":{"id":150932199,"uuid":"10777076","full_name":"codeforboston/mbta-alerts-2","owner":"codeforboston","description":"The bot that tweets from the MBTA Alerts API. Saving 9K @mbta_alerts Twitter followers from information blackout!","archived":false,"fork":false,"pushed_at":"2013-07-06T17:02:13.000Z","size":128,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-09-11T19:28:32.148Z","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/codeforboston.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},"funding":{"custom":"https://www.codeforamerica.org/donate-to-a-brigade?utm_campaign=CodeforBoston\u0026utm_source=github"}},"created_at":"2013-06-19T01:21:36.000Z","updated_at":"2018-04-23T13:46:00.000Z","dependencies_parsed_at":"2023-04-04T21:33:59.555Z","dependency_job_id":null,"html_url":"https://github.com/codeforboston/mbta-alerts-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeforboston/mbta-alerts-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforboston%2Fmbta-alerts-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforboston%2Fmbta-alerts-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforboston%2Fmbta-alerts-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforboston%2Fmbta-alerts-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeforboston","download_url":"https://codeload.github.com/codeforboston/mbta-alerts-2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforboston%2Fmbta-alerts-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29777484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-24T08:57:55.452Z","updated_at":"2026-02-24T08:57:56.514Z","avatar_url":"https://github.com/codeforboston.png","language":"JavaScript","funding_links":["https://www.codeforamerica.org/donate-to-a-brigade?utm_campaign=CodeforBoston\u0026utm_source=github"],"categories":[],"sub_categories":[],"readme":"MBTA Alerts\n===========\n\n### The Bot That Tweets\n\nThe MBTA puts out an RSS feed that an enterprising developer (and frustrated MBTA commuter) started scraping and turning into tweets.\n\nSimilarly, this app queries the [MBTA's new realtime API](http://realtime.mbta.com/portal), and will tweet out the short descriptions, with the hashtag #[mbta](https://twitter.com/search?q=%23mbta\u0026src=typd).\n\n\n### The Story\n\n[FredHQ][fredhq], the creator of [@mbta_alerts][alerts], [almost suspended][almost] the account due to a number of obstacles, but Code for Boston offered to take it over. Fred provided [thorough documentation of his processes][prodoc], which led to the development of this app.\n\n[fredhq]: https://twitter.com/fredhq\n[alerts]: https://twitter.com/mbta_alerts\n[almost]: https://gist.github.com/fredhq/34781ea7c60c1388e16e\n[prodoc]: https://gist.github.com/fredhq/eaf7a6ebb1ac88c6cc69\n\nThe old RSS feed used short descriptions which were tweetable, but upgrades to the [current feed](http://realtime.mbta.com/alertsrss/rssfeed4) caused technical problems for the bot.\n\n### Tech stack\n\nMBTA Alerts version 2.0 uses:\n\n+ [Node.js][node] v0.10.12\n+ [NPM]\n+ [Redis][red] as a database\n\n[node]: http://www.nodejs.org/\n[red]: http://redis.io/\n\n\n### Getting Set Up for Development\n\nMake sure you have `npm`, Node.js \u003e= 0.10.0, and `git`. NPM should be included when you install node, but it isn't on some systems. \n\nInstall all required modules\n\n```\n$ npm install\n```\n\nTo determine if you have Redis, run `redis-server -v`.\n\nInstall redis if you have not done so previously.\n\n```\n$ wget http://redis.googlecode.com/files/redis-2.6.13.tar.gz\n$ tar xzf redis-2.6.13.tar.gz\n$ cd redis-2.6.13\n$ make\n```\n\nWe use [Foreman](https://github.com/ddollar/foreman) to run the webserver and Redis at the same time, using the processes defined in `Procfile`. Run `foreman start` and use `^C` to end.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforboston%2Fmbta-alerts-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforboston%2Fmbta-alerts-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforboston%2Fmbta-alerts-2/lists"}