{"id":18712170,"url":"https://github.com/mattmueller/rstream","last_synced_at":"2025-04-12T12:31:30.027Z","repository":{"id":1165441,"uuid":"1056664","full_name":"mattmueller/rstream","owner":"mattmueller","description":"Lifestream Setup","archived":false,"fork":false,"pushed_at":"2011-08-14T11:29:25.000Z","size":288,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-07T12:52:20.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"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/mattmueller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-06T12:23:24.000Z","updated_at":"2022-01-28T19:13:33.000Z","dependencies_parsed_at":"2022-08-16T12:25:09.551Z","dependency_job_id":null,"html_url":"https://github.com/mattmueller/rstream","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/mattmueller%2Frstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmueller%2Frstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmueller%2Frstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmueller%2Frstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattmueller","download_url":"https://codeload.github.com/mattmueller/rstream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566505,"owners_count":21125679,"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-11-07T12:40:52.990Z","updated_at":"2025-04-12T12:31:29.373Z","avatar_url":"https://github.com/mattmueller.png","language":"Ruby","readme":"# rstream\n\nCreate your own lifestream, take control of your data.  Example: http://themattmueller.com\n\n## Requirements\n\n * Ruby (tested with 1.8.7 and REE)\n * Rails 3\n * MySQL\n * Cron (to poll for updates)\n\n## Assumptions\n\nYou use one or more of:\n\n * Twitter\n * Foursquare\n * del.icio.us\n * Flickr\n * Google Reader\n\nYou know how to create an application/get an api key from sites requiring it, authorize your user account, and retrieve the various oauth tokens involved.\n\n## Setup\n\n * Clone rstream and install gems using bundler:\n\n    \u003cpre\u003egit clone git@github.com:mattmueller/rstream.git\n    bundle install\u003c/pre\u003e\n\n * Copy config/database.yml.example to config/database.yml - modifying with your database credentials, migrate:\n\n    \u003cpre\u003erake db:migrate\u003c/pre\u003e\n\n * Copy config/settings.yml.example to config/settings.yml - fill out the various options (leave account credentials blank to ignore it)\n\n * Run historic polling to go back in time and get as much data from services as possible (may take a while) from the console:\n\n    \u003cpre\u003eDeliciousBookmark.get_historic_bookmarks\n    FlickrPhoto.get_historic_photos\n    FoursquareCheckin.get_historic_checkins\n    GoogleReaderShare.get_historic_shares\n    TwitterStatus.get_historic_statuses\u003c/pre\u003e\n\n * In your crontab, set entries for the services you want to poll and the intervals at which you want to poll them, in this case they are combined into a single bash file that is invoked every 5 minutes:\n\n    \u003cpre\u003e#!/bin/bash\n    cd /path/to/app/root\n    RAILS_ENV=production script/rails runner \"DeliciousBookmark.get_new_bookmarks\"\n    RAILS_ENV=production script/rails runner \"FlickrPhoto.get_new_photos\"\n    RAILS_ENV=production script/rails runner \"FoursquareCheckin.get_new_checkins\"\n    RAILS_ENV=production script/rails runner \"GoogleReaderShare.get_new_shares\"\n    RAILS_ENV=production script/rails runner \"TwitterStatus.get_new_statuses\"\u003c/pre\u003e\n \n\n    \u003cpre\u003e*/5 * * * * sh /path/to/above/script.sh\u003c/pre\u003e\n\n * Deploy: obviously if you want this available on the web you'll need to deploy it.\n\nXML and JSON versions of your activities can be accessed at http://yoursite.com/feed.xml and http://yoursite.com/feed.json\n\n\n## Note on Patches/Pull Requests\n \n * Fork the project.\n * Setup your development environment with: gem install bundler; bundle install\n * Make your feature addition or bug fix.\n * Send me a pull request.\n\n\n## License\n\nMIT License - See LICENSE for more details.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattmueller%2Frstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattmueller%2Frstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattmueller%2Frstream/lists"}