Giter Site home page Giter Site logo

jakegreenbergbell / greenride Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.68 MB

Google Maps, but with a CO2 emissions calculator that takes the route, car, and number of passengers to show how much CO2 each person is emitting to inspire more environmentally conscious traveling.

HTML 0.12% JavaScript 99.84% CSS 0.05%
sustainability emissions-co2 green-navigation

greenride's Introduction

GreenRide

There's nothing better than trying GreenRide yourself! Please note that you may have to disable ad blockers or try GreenRide in incognito mode with extensions disabled for locations to work properly.

Hack on the Hill 2022.

Our Vision

We've all heard of it before. Carbon emissions are bad for our globe!

But how easy is it to see how our everyday commute contributes to carbon emissions? Without an easy-to-use interface that provides tangible, customized feedback based on your travel method and routes, it's hard to know how we affect our local environments.

Greenride brings dynamic emissions and environmental metrics right where you need it most - on your maps, next to the routes you travel every day.

We want to make it easy for each individual to see how their daily commute affects their environment. And so we introduce to you... GREENRIDE!

Founding Fathers

  • Jake Greenberg-Bell
  • Bryson Xiao
  • Kyle Pu

References

https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle#:~:text=typical%20passenger%20vehicle%3F-,A%20typical%20passenger%20vehicle%20emits%20about%204.6%20metric%20tons%20of,8%2C887%20grams%20of%20CO2.

https://www.inspirecleanenergy.com/blog/clean-energy-101/average-american-carbon-footprint

  • Has some stats on CO2 released per gallon of gasoline
  • Can use as a starting point for customization of output based on car type
  • Has info on other types of vehicle emissions

https://www.epa.gov/compliance-and-fuel-economy-data/data-cars-used-testing-fuel-economy

  • Has stats on grams of CO2 per gallon of a bunch of different cars

https://github.com/Zenigma/emission_tracker_treehacks

  • Took data file carData.js from this repo
  • Data file originally from the same epa sources listed above

https://stackoverflow.com/questions/55424790/how-i-draw-a-route-with-react-google-maps-component

  • MapDirectionsRenderer component source code from here
    • Transformed this component into a functional component so we could use useEffect and force a re-render every time the longitude or latitude of source or destination changed

https://stackoverflow.com/questions/3251609/how-to-get-total-driving-distance-with-google-maps-api-v3

  • For driving distance and duration extraction

https://stackoverflow.com/questions/54069253/usestate-set-method-not-reflecting-change-immediately

  • A lesson well learned on React state updates

https://developers.google.com/maps/documentation/places/web-service/overview

  • Places API

https://tailwindcss.com/

  • Tailwinds

https://stackoverflow.com/questions/3251609/how-to-get-total-driving-distance-with-google-maps-api-v3

  • Helped us find relevant data structures for distance and duration calculations

https://reactjs.org/docs/context.html

  • React Context Tutorial

https://www.ucsusa.org/resources/car-emissions-global-warming#:~:text=Our%20personal%20vehicles%20are%20a,for%20every%20gallon%20of%20gas.

  • Global warming warning and its relations to personal transportation

greenride's People

Contributors

brysonxiao avatar jakegreenbergbell avatar kyle-pu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

greenride's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.