github.com/lrutten/chargingtool
master / published Sep 10, 2026 / repository
CLI tool for build a charging station website
chargingtool
Tool to show charging stations in a web app.
Dependencies
mkdocsosmium- Crystal language tools
Getting started
Compilation
The compilation is easy:
make build
Run a demo
These are the steps to test the tool.
- Download some
*.pbffiles
download-pbf.sh
- Filter on Ionity charging stations
filter-ionity.sh
This results in a number of .xml files which can be inspected.
The next step is building the website.
mkdir test
cd test
chargingtool --init
This is the result:
.
├── project.yml
├── site
│ ├── Makefile
│ ├── docs
│ │ └── index.md
│ ├── mkdocs.yml
│ └── overrides
│ └── main.html
└── src
Move the .xml files to the src map.
Now convert the .xml into .md which end up in the site/docs map.
Each country gets its own directory. The overrides/main.html file has extra Leaflet code
in order to show the map with red bullets for each charging station.
Now run the site:
cd site
make run