Skip to content

Plots GPX track from Strava to an supplied image.

Notifications You must be signed in to change notification settings

zoonman/gpx-to-instagram

Repository files navigation

GPX to Instagram

Tiny utility to convert GPX track from Strava to an Instagram image.

Made just for fun.

Getting started

npm install -g gpx-to-instagram

Usage

gpx2instagram -g your-ride.gpx -i input-image.jpeg -o output-image.jpg -a K1ZMT

Will produce the following image

Image for Instagram

Command line interface

Usage: gpx2instagram -g Ride.gpx -i sky.jpg -d sky-ride.jpg

Options:
      --version  Show version number                                   [boolean]
  -g, --gpx      Input GPX file                              [string] [required]
  -i, --image    Input image to be drawn on                  [string] [required]
  -o, --output   Output image path. Creates new image with o suffix.    [string]
  -a, --athlete  Athlete vanity sign.                     [string] [default: ""]
  -h, --help     Show help                                             [boolean]

Fonts

Make sure that you have the following fonts installed:

  • DIN Alternate
  • DIN Condensed
  • SF UI Display
Disclaimer

Distribution includes Strava logo. It belongs to Strava. All copyright shit applies.

About

Plots GPX track from Strava to an supplied image.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published