A Chrome extension to check your commute time to work easily!
- Check commute time and distance from your current location to work
- Support for multiple transportation modes (driving, walking, cycling, transit)
- Save your work address and Google Maps API key securely
- Simple and user-friendly interface
- Clone this repository
- Run
pnpm installto install dependencies - Build the extension:
- Development build:
pnpm run build - Production build:
pnpm run build:prod
- Development build:
- Load the extension in Chrome:
- Navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
distdirectory
- Navigate to
- Get a Google Maps API key from the Google Cloud Platform Console
- Enable the "Distance Matrix API" service
- In the extension options, enter your Google Maps API key
- Set your work address in the settings
- Run
pnpm devfor development mode with hot reloading - Run
pnpm checkto check for TypeScript errors
Run the production build command to create an optimized build:
pnpm run build:prodThis will:
- Remove console logs
- Minify the code
- Add hashes to filenames for better caching
- Optimize the build for production use
See the LICENSE file for details.