https://github.com/cvzi/bikemapnet-userscript
Download GPX and KML files for a route on bikemap.net
https://github.com/cvzi/bikemapnet-userscript
bikemap bikemapnet cycling geojson gpx kml userscript
Last synced: 16 days ago
JSON representation
Download GPX and KML files for a route on bikemap.net
- Host: GitHub
- URL: https://github.com/cvzi/bikemapnet-userscript
- Owner: cvzi
- License: mit
- Created: 2022-05-28T22:01:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T10:38:09.000Z (3 months ago)
- Last Synced: 2025-03-29T09:21:45.376Z (about 1 month ago)
- Topics: bikemap, bikemapnet, cycling, geojson, gpx, kml, userscript
- Language: JavaScript
- Homepage: https://greasyfork.org/en/scripts/445713-bikemap-net-export-gpx-and-kml-routes
- Size: 619 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bikemap.net Export GPX and KML routes
Download GPX, KML and TCX files for a route on bikemap.net
This program is a userscript for your browser. It's primarily designed for Firefox and Chrome with
[Tampermonkey](https://www.tampermonkey.net/) or similar userscript addons.
General information about userscripts and how to use them can be found at [openuserjs.org/about/Userscript-Beginners-HOWTO](https://openuserjs.org/about/Userscript-Beginners-HOWTO).If you already have a userscript extension installed, you can **[click to install](https://greasyfork.org/scripts/445713-bikemap-net-export-gpx-and-kml-routes/code/Bikemapnet%20Export%20GPX%20and%20KML%20routes.user.js)** this script.
[](https://saythanks.io/to/cvzi)
Screenshot:
## Development
Clone the repository and install dependencies with npm
```sh
git clone [email protected]:cvzi/bikemapnet-userscript.git
cd bikemapnet-userscript
npm install
```### Bundle
Bundle everything from `src/` into `dist/bundle.user.js`:
`npm run build`
or
`npx rollup --config`
### Development server
`npm run serve`or
`node -r esm server.js`
This will automatically update `dist/bundle.user.js` when code changes and serve it on [localhost:8124](http://localhost:8124/).
It also creates a second userscript `dist/dev.user.js`, if you install it in Tampermonkey, it will automatically fetch the latest version from http://localhost:8124/bundle.user.js once you reload a website with F5.
### Bundle without source map
Bundle for publishing without sourcemapping to `dist/release-3.2.1.user.js`
`npm run build:release`
or on Windows
`npm run build:release:win32`