Try drivingbook in your browser. The demo comes with almost two years of sample trips, two vehicles and annual costs, so every report and the tax comparison have something to show. Change whatever you like: the demo resets every hour.
The demo is shared by everyone who visits it. Please do not enter personal data – everything is deleted on the next reset anyway.
One account for all visitors. Sign-up is disabled in the demo.
demodemoThe interface follows your browser language (German or English); you can switch it on the profile page.
Every hour the database goes back to the same sample data. New trips, edits, vehicles and tokens disappear; you stay logged in and simply see the fresh data.
If the login stops working, someone changed the password – it is back after the next reset.
Sample data of a company car driver near Munich, from January 1 of last year until today. Destinations are German, as the tax comparison follows German law.
Combustion, default vehicle. Commutes to the office on weekdays, visits customers now
and then, private trips at weekends. Code DEMPKW.
Electric second car with short private trips and an occasional business trip.
Code DEMEV2.
List price, costs and depreciation for last year and this year, so the vehicle info page can compare the 1% rule with the logbook.
Business, private and commute trips, so the breakdowns and charts show every color.
With a complete previous year, the traffic light on the vehicle info page has real data to check, ready for the tax return.
A few weeks without trips and two edited trips, so the yearly history and the audit log are not empty.
A short tour through the main features.
Create an API token on the account page, then log a trip from the command line – the same way Home Assistant does.
# log a trip for the Passat now; the odometer must be higher than the last trip's
curl -X POST \
https://demo.example.com/api/trips \
-H "Authorization: Bearer <API-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"odometer_km": 99999,
"destination": "API test",
"trip_type": "business",
"timestamp": "'"$(date -u +%Y-%m-%dT%H:%M:%SZ)"'",
"vehicle_code": "DEMPKW"
}'
The repository contains everything needed for this demo in the
demo/ folder: Compose stack, sample data and the reset container.
demo/ to your Docker host.DB_PASSWORD,
JWT_SECRET and the demo passwords.
cp .env.example .env
docker compose up -d
A small PostgreSQL container loads seed.sql on start and then every
RESET_INTERVAL_MINUTES (default 60), in a single transaction.
Reset right away:
docker compose exec reset /demo/reset.sh once
Details are in demo/README.md.