Skip to content

The web-based frontend for streetwarp-cli, a tool that produces hyperlapses for GPX routes

Notifications You must be signed in to change notification settings

pelmers/streetwarp-web

Repository files navigation

Logo

Example:

Click to view: Watch the demo

Description

Streetwarp Web is the web-based frontend for streetwarp-cli, a tool that produces hyperlapses for GPX routes. This project is simply a web page and associated server that invokes the command line tool. The live deployment uses streetwarp-lambda running on AWS Lambda to invoke the tool without loading the web server.

Features

  • Connect to Strava, RideWithGPS, or Google Maps, or upload GPX file directly
  • Several output options to trade-off processing speed and result quality
  • Animated route during video playback (using mapbox)

Usage

git submodule update --init --recursive
yarn
yarn build
node_modules/.bin/ts-node src/server.ts --streetwarp-bin=<location of streetwarp binary> [--debug]

The following environment variables should be set:

AWS_ACCESS_KEY
AWS_LAMBDA_REGION
GOOGLE_API_KEY (used for metadata requests, which don't incur cost)
STRAVA_CLIENT_ID
STRAVA_REDIRECT_URI
STRAVA_CLIENT_SECRET
MAPBOX_API_KEY

Recent Changes

  • Added option to make video public and list on home page
  • Integration with GPX Replay for more interactive map display
  • Display elevation profile on results for supported routes
  • Renamed "quality" button to "smooth"