{"id":21330840,"url":"https://github.com/feedreader/pluto.live.starter","last_synced_at":"2025-09-09T01:40:25.314Z","repository":{"id":147430074,"uuid":"13707614","full_name":"feedreader/pluto.live.starter","owner":"feedreader","description":"planet starter example site - sinatra web app in ruby using the pluto gem","archived":false,"fork":false,"pushed_at":"2020-05-19T07:46:14.000Z","size":19,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T12:09:48.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/feedreader.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-10-19T19:47:46.000Z","updated_at":"2022-08-05T08:22:34.000Z","dependencies_parsed_at":"2024-01-22T06:54:38.503Z","dependency_job_id":null,"html_url":"https://github.com/feedreader/pluto.live.starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feedreader/pluto.live.starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedreader%2Fpluto.live.starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedreader%2Fpluto.live.starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedreader%2Fpluto.live.starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedreader%2Fpluto.live.starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feedreader","download_url":"https://codeload.github.com/feedreader/pluto.live.starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedreader%2Fpluto.live.starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274232035,"owners_count":25245856,"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-09-08T02:00:09.813Z","response_time":121,"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-11-21T22:25:08.485Z","updated_at":"2025-09-09T01:40:25.291Z","avatar_url":"https://github.com/feedreader.png","language":"HTML","readme":"# pluto.live.starter\n\nExample planet starter site - a Sinatra web app in Ruby\nusing the [pluto gem](https://github.com/feedreader/pluto).\n\n```ruby\nclass Planet \u003c Sinatra::Base\n  \n  ##########\n  # Models\n  \n  include Pluto::Models   # e.g. Feed, Item, Site, etc.\n\n  ############################################\n  # Controllers / Routing / Request Handlers\n\n  get '/' do\n    erb :index\n  end\n\nend\n```\n\n(Source: [`planet.rb`](planet.rb))\n\n\nSample template snippet:\n\n```html\n\u003ch1\u003e\u003c%= site.title %\u003e\u003c/h1\u003e\n\n\u003c% site.items.latest.limit(24).each do |item| %\u003e\n\n  \u003cdiv class='item'\u003e\n\n    \u003ch4 class='feed-title'\u003e\n      \u003c%= link_to item.feed.title, item.feed.url %\u003e\n    \u003c/h4\u003e\n\n    \u003ch2 class='item-title'\u003e\n     \u003c%= link_to item.title, item.url %\u003e\n    \u003c/h2\u003e\n\n    \u003cdiv class='item-content'\u003e\n     \u003c%= item.summary %\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\n\u003c% end %\u003e\n```\n\n(Source: [`views/index.erb`](views/index.erb))\n\n\n## Live Demos\n\nSee the [Planet Ruby](http://plutopluto.herokuapp.com)\nrunning on Heroku.\n\n\n## Setup\n\n### Setup on your local machine\n\nClone the pluto.live.starter git repo:\n\n    $ git clone git://github.com/feedreader/pluto.live.starter.git\n\nGet all your Ruby libraries (gems) installed using the bundler tool:\n\n    $ cd pluto.live.starter\n    $ bundle install --without production\n\nNote, use the `--without production` option for local development\nunless you want to install the PostgreSQL (pg) database libraries\nand services (required for production on the Heroku hosting service.)\n\nSetup the database and planet feed subscriptions:\n\n    $ rake setup PLANET=ruby\n\nUpdate your planet feeds:\n\n    $ rake update\n\nShowtime! Startup the web server:\n\n    $ rackup\n\nThat's it.\n\n\n\n### Setup on Heroku\n\nClone the pluto.live.starter git repo:\n\n    $ git clone git://github.com/feedreader/pluto.live.starter.git\n\nCreate app on Heroku e.g.\n\n    $ cd pluto.live.starter\n    $ heroku create \u003cYOUR_APP_NAME_HERE\u003e\n\nUpload via\n\n    $ git push heroku master\n\nAdd the PostgreSQL addon\n\n    $ heroku addons:add heroku-postgresql:dev\n\nEstablish primary database (that is, set DATABASE_URL). Find your POSTGRESQL_URL:\n\n    $ heroku config | grep HEROKU_POSTGRESQL\n\nAnd promote HEROKU_POSTGRESQL_\u003cYOUR_COLOR_HERE\u003e_URL to DATABASE_URL: \n\n    $ heroku pg:promote HEROKU_POSTGRESQL_\u003cYOUR_COLOR_HERE\u003e_URL\n\nCreate database andd add planet feed subscriptions on first upload via\n\n    $ heroku run rake setup PLANET=ruby\n\nUpdate feeds\n\n    $ heroku run rake update\n\nShowtime! That's it.\n\n\nBonus:\n\nAdd a scheduler job to update feeds via `rake update` hourly, daily, etc. \n\n\n## License\n\n![](https://publicdomainworks.github.io/buttons/zero88x31.png)\n\nThe `pluto` scripts are dedicated to the public domain.\nUse it as you please with no restrictions whatsoever.\n\n## Questions? Comments?\n\nSend them along to the [wwwmake Forum/Mailing List](http://groups.google.com/group/wwwmake).\nThanks!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedreader%2Fpluto.live.starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeedreader%2Fpluto.live.starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedreader%2Fpluto.live.starter/lists"}