Skip to content

Luen/gps.studio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

952 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gps.studio

gps.studio is an online tool for creating and editing GPX files.

gps.studio screenshot

This repository contains the source code of the website.

Development

The code is split into two parts:

  • gpx: a Typescript library for parsing and manipulating GPX files,
  • website: the website itself, which is a SvelteKit application.

You will need Node.js to build and run these two parts.

Building the gpx library

cd gpx
npm install
npm run build

Running the website

To be able to load the map, you will need to create your own Mapbox access token and store it in a .env file in the website directory.

cd website
echo PUBLIC_MAPBOX_TOKEN={YOUR_MAPBOX_TOKEN} >> .env
npm install
npm run dev

Delpoy with Docker

Website

Clone the Luen/gps.studio GitHub repository.

git clone git@github.com:Luen/gps.studio.git

Create the .env file:

echo PUBLIC_MAPBOX_TOKEN={YOUR_MAPBOX_TOKEN}\nPUBLIC_MAPBOX_TOKEN_BACKUP={YOUR_BACKUP_MAPBOX_TOKEN}  >> website/.env

Start the Docker container:

docker compose up --build -d

BRouter

See the Luen/brouter GitHub repository.

Credits

Built on top of gpx.studio. This project has been made possible thanks to the following open source projects:

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

the online GPX file editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • MDX 53.7%
  • TypeScript 25.0%
  • Svelte 20.8%
  • JavaScript 0.3%
  • CSS 0.1%
  • Dockerfile 0.1%