uberHackathon2023

Overview

This application is designed to assist users in making informed travel decisions. It integrates the Google Maps API to provide accurate route information, along with additional features such as carbon emissions calculation and detailed journey insights.

Features

  • Enter starting location and select preferred mode of travel.
  • Display distance, estimated time of arrival, and visual directions.
  • Calculate carbon emissions based on travel mode.
  • Provide detailed journey insights including comfort, cost, safety, and more.
  • Recommend the best mode of travel for optimal time and route for minimal emissions.

How to Use

  1. Download or clone the repository.
  2. Obtain an OpenAI API key and add it to line 1284.
  3. Open index.html in a web browser.
  4. Enter the starting location and choose your preferred mode of travel.
  5. Enter a valid destination to get detailed information and insights.

Dependencies

  • Google Maps API
  • OpenAI (for journey insights)

Technologies Used

  • HTML, CSS, JavaScript
  • Google Maps API
  • OpenAI API