{"id":24698600,"url":"https://github.com/faradayio/energy","last_synced_at":"2025-06-20T18:38:22.995Z","repository":{"id":62558076,"uuid":"2033152","full_name":"faradayio/energy","owner":"faradayio","description":"Energy use information client","archived":false,"fork":false,"pushed_at":"2011-07-15T17:18:38.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-06T18:41:34.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://energy.brighterplanet.com","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/faradayio.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-11T22:59:16.000Z","updated_at":"2020-09-10T18:52:55.000Z","dependencies_parsed_at":"2022-11-03T06:45:27.725Z","dependency_job_id":null,"html_url":"https://github.com/faradayio/energy","commit_stats":null,"previous_names":["brighterplanet/energy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fenergy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fenergy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fenergy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faradayio%2Fenergy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faradayio","download_url":"https://codeload.github.com/faradayio/energy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902936,"owners_count":20529114,"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-27T04:29:28.824Z","updated_at":"2025-03-22T03:42:00.130Z","avatar_url":"https://github.com/faradayio.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"=energy\n\nGet energy use estimates for flights, rail trips, and automobile trips (more coming soon!). BETA from Brighter Planet.\n\n==BETA\n\nThis is beta software and subject to change at any time.\n\n==Examples\n\n===Fuel used by a Bentley\n\n    ?\u003e Energy::AutomobileTrip.fuel_use(:make =\u003e 'Bentley', :distance =\u003e 500)\n    =\u003e [how many litres of gas a Bentley uses to drive 500km]\n\n===Fuel used by a Continental Airlines flight\n\n    ?\u003e Energy::Flight.fuel_use(:airline =\u003e 'Continental Airlines')\n    =\u003e [how many litres of aviation fuel a Continental Airlines flight consumes]\n\n===Fuel used by an Amtrak train\n\n    ?\u003e Energy::RailTrip.fuel_use(:rail_class =\u003e 'intercity', :distance =\u003e 500)\n    =\u003e [how many litres of diesel an intercity uses over 500km]\n\n==TODO\n\n* always provide a conversion of, for example, fuel use in litres to energy use in joules to be true to the intent of the gem\n* decide how we expect people to use this gem (maybe it should be more like Carbon and not define its own classes)\n* hit impact.brighterplanet.com or energy.brighterplanet.com directly\n\nCopyright 2011 Brighter Planet, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Fenergy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaradayio%2Fenergy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaradayio%2Fenergy/lists"}