2025-06-30 01:15:53 +02:00
2025-06-30 01:15:53 +02:00
2025-06-30 01:15:53 +02:00
2025-06-30 01:15:53 +02:00
2025-06-30 01:02:08 +02:00
2025-06-30 01:15:53 +02:00

Freewheeling

A website for calculating how far you can ride your bike without pedalling.

To run, it requires a file named 'roads.dat', which contains road data for all of Norway. This file is almost 700 MB large, so it is not included here. It can be downloaded from the Freewheeling website. At some point, I may add the code for generating the file to this repository.

This repository requires emscripten in order to build webassembly from the C++ code in the native folder. Before you can run npm run build or npm run build:emscripten, the emcc binary needs to be added to the PATH.

To run

First, run npm run build:emscripten, then run npx vite.

To build

Run npm run build. This will first run the emscripten build, and then the typescript build. The resulting website ends up in the dist/ folder

Description
A website for calculating how far you can ride your bike without pedalling
Readme MIT 337 KiB
Languages
TypeScript 39.2%
C++ 30.7%
Jupyter Notebook 21.8%
HTML 6.9%
CSS 1.4%