Giter Club home page Giter Club logo

streetwarp-web's Introduction

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"

streetwarp-web's People

Contributors

pelmers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

leonclo

streetwarp-web's Issues

Should be more playback speed options

The slowest playback speed is 0.25x. Suppose the user is trying to preview/plan a route; 0.25x is still too fast. There should be some very-slow options.

Add Kilometers

It would be nice to see every 5km of the file or closer if zoomed in and 10km if zoomed out.

Getting the error "Failure: streetwarp failed with exit code 101"

I am getting the following error while fetching the metadata.
"Failure: streetwarp failed with exit code 101"
I am using a gpx file and upload is successful but after clicking on Fetch Metadata button, I am getting this error.
I tried with multiple gpx files.

Google maps route parsing does not handle manually set locations

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.