The map to hitchhiking the world. Read more here.
flask run
runs the serverflask --app hitch generate [script]
generates pages or the dump, for example:flask --app hitch generate show
builds the main HTML page (index.html
). This is where the magic happens.flask --app hitch generate dump
runs the monthly dumpflask --app hitch generate-all
generates all files
cron.sh
is the crontab running above fileshitchmap.conf
is the NGINX configuration
The software provided in this repository is licensed under AGPL 3.0. The Hitchmap database is licensed under the ODBL, the license used by OpenStreetMap.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
curl https://hitchmap.com/dump.sqlite > db/points.sqlite
OR
conda install folium==0.16.0 networkx==3.2.1
curl https://hitchmap.com/dump.sqlite > db/points.sqlite
flask --app hitch generate-all
flask run
We use Ruff for linting https://docs.astral.sh/ruff/.
The settings can be found in ruff.toml
.
To configure automatic linting for VS Code check out the extension https://github.com/astral-sh/ruff-vscode.
Join the conversation about a map for hitchhiking in our Signal Chat.
File an issue if you have a feature request or found a bug.
Perform a pull request from your fork of the repository if you solved an issue. (It's best to file an issue first so we can discuss it and reference it in the PR.)
If you find the data collected and provided by hitchmap.com helpful, feel free to cite it using:
@misc{hitchhiking,
author = {Bob de Ruiter, Till Wenke},
title = {Dataset of Hitchhiking Trips},
year = {2024},
url = {https://hitchmap.com},
}