chargingtool
Version, currently master branch1 version
- master branchlatestSep 10, 2026
github.com/lrutten/chargingtool
CLI tool for build a charging station website
Installation
# Add this to your shard.yml
dependencies:
chargingtool:
github: lrutten/chargingtool
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.21.0- License
- MIT
- Author
- lrutten
- Target
chargingtoolfrom src/chargingtool.cr
Dependencies
Runtime Dependencies
- baked_file_system0.14.1github: schovi/baked_file_system
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Sep 10, 2026
- Crystal
1.21.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/lrutten/chargingtool
Metadata
- Created
- Sep 12, 2026
- Updated
- Sep 26, 2026
- Synced
- Sep 26, 2026
- Versions
- 1