Skip to content
OnlyOneBytePublic

About

VROOM (Vehicle Record & Organization Of Maintenance): a self-hosted, offline-capable app for tracking your vehicles' fuel, maintenance, insurance, financing and running costs.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1,468 Commits

Folders and files

Repository files navigation

VROOM

CI/CD Frontend Coverage Backend Coverage Ko-fi

VROOM (Vehicle Record & Organization Of Maintenance) is a self-hostable app for tracking what your cars really cost: fuel, maintenance, insurance, financing and trips, with mobile-first design, analytics and backups to your own Google Drive, S3-compatible storage or WebDAV folder.

The VROOM dashboard: spending for the last 30 days split into ownership, fuel and upkeep, the two cars in the garage, and running cost by month

Vehicle loan Explore On a phone
A car’s Finance tab: loan left to pay, payments made, the next payment and the payment schedule Explore: running costs for the last 12 months, total cost per month split by category, with metric, grouping and range controls The dashboard on a 375px-wide phone, with the bottom bar
Adding an expense (GIF)

Filling in a new maintenance expense: the amount, the category, then the odometer and a description under More details

Screenshots show the demo garage (DEMO_MODE) in light and dark mode; GitHub shows the one that matches your theme. docs/screenshots/README.md explains how to retake them.

⚠️ Under active development. Features, APIs, and database schemas may change between releases. Back up your data regularly to Google Drive, S3-compatible storage or WebDAV. The example compose file pins a release tag (0.1.0) rather than latest; see image tags.

🤖 AI-native development. Much of the code is written with AI assistance. Architecture decisions and feature direction come from a human developer, and project policy is that every change is reviewed by someone other than its author, a human or an independent review agent, before it merges.

Why VROOM?

  • Open Source — fork, customize, and host it yourself with full control over your data
  • Open Format — backups are ZIP files of plain CSV, so there's zero lock-in
  • Your Own Storage — backups go straight to your Google Drive (with an optional Google Sheets copy), to any S3-compatible bucket (including a self-hosted MinIO), or to a WebDAV folder such as Nextcloud or a NAS
  • Privacy First — your data lives on your server and in the storage you connect. AI features are opt-in and use your own API key

Features

  • 📱 Mobile-first PWA that installs on your phone and works offline
  • 🚗 Multi-vehicle tracking for gas, electric and hybrid cars, with odometer history
  • ⛽ Fuel and charging logs with efficiency tracking
  • 🧮 Expenses that can be split across several vehicles
  • 📊 Interactive analytics: cost breakdowns, trends and cross-vehicle comparisons
  • 💰 Financing (loans and leases), and insurance policies and claims, with premiums split across vehicles
  • 🗺️ Trip logging
  • ⏰ Reminders by date, mileage or both, for maintenance and recurring expenses, with optional web push notifications
  • 👥 Vehicle sharing with other VROOM users
  • 📥 CSV import from Fuelio, Fuelly, Drivvo and Simply Auto, or any CSV with manual column mapping, and CSV export of expenses
  • 📷 Photos for receipts, vehicles, odometer readings and insurance, stored in Google Drive, Google Photos, S3-compatible storage or WebDAV
  • 📅 A private calendar link with your reminders, insurance renewals and loan payments, for Google, Apple or Outlook Calendar
  • 🧾 Receipt scanning that fills in the expense form, with a built-in text reader on your server or an AI vision model you configure
  • 💬 An assistant that answers questions about your vehicles and costs, using Anthropic, Gemini or any OpenAI-compatible model (Ollama, LM Studio, vLLM, OpenRouter)
  • 💾 ZIP backups to Google Drive, S3-compatible storage or WebDAV, Google Sheets sync, and restore from a backup file
  • 🔐 Sign-in with Google, GitHub, or your own OpenID Connect providers (Authentik, Keycloak, Zitadel and the like)
  • 🐳 Docker images for self-hosting

Tech Stack

Layer Technologies
Frontend SvelteKit, Svelte 5 (runes), Tailwind CSS v4, shadcn-svelte, layerchart, Zod, Vitest + Playwright
Backend Hono on Bun, Drizzle ORM + SQLite (or opt-in Postgres, see docs/deployment.md), Lucia Auth, Biome
Infra Docker, GitHub Actions CI/CD, GitHub Container Registry

Quick Start

Before you start: OAuth

DEMO_MODE=true adds a read-only demo garage anyone can look around without signing in. To use your own data you need your own OAuth app before anyone can sign in: Google, GitHub or an OpenID Connect provider. Any one of them is enough, in production too. The Development Guide has the callback URLs, and the Deployment Guide covers production.

Local Development

You need Bun for the backend and the Node.js version in .nvmrc for the frontend. Run the backend (bun run dev, port 3001) and the frontend (npm run dev, port 5173) side by side; the Development Guide has the full setup.

Docker

You need Docker 20.10+ with Compose v2.

cp docs/examples/.env.example .env             # fill in the Google OAuth values and PROVIDER_ENCRYPTION_KEY
cp docs/examples/docker-compose.yml .
mkdir -p data                                  # the DATA_PATH bind mount; Docker won't create it
sudo chown 1000:1000 data                      # the backend runs as uid 1000 and writes vroom.db here
docker compose up -d
# Frontend: http://localhost:3000
# Backend:  http://localhost:3001

If your host user is not uid 1000, chown the DATA_PATH directory as above. Do not rely on a user: "${UID:-1000}:${GID:-1000}" override in docker-compose.yml: Compose reads UID and GID from exported environment variables or .env, and a normal shell does not export them, so the value silently falls back to 1000:1000 and the first boot still fails with unable to open database file. The backup/restore commands in the Deployment Guide also need sudo once the directory belongs to uid 1000.

Without a Cloudflare tunnel, delete the cloudflared service from docker-compose.yml first: with an empty token it restarts forever. See the Deployment Guide for full instructions.

Project Structure

vroom/
├── backend/        # Bun + Hono API. One folder per domain under src/api/: routes.ts
│                   # plus any *repository.ts it needs. Migrations in drizzle/
│                   # (SQLite) and drizzle-pg/ (Postgres).
├── frontend/       # SvelteKit PWA. Components, services, stores, and utils
│                   # under src/lib/; file-based routing under src/routes/.
├── docs/           # Architecture, development, and deployment guides
│   └── examples/   # Docker Compose, Portainer stack, .env template
└── .github/        # CI/CD pipeline

Documentation

Document Description
Architecture System design, data flow, and the reasoning behind it
Development Guide Local setup, workflow, and testing
Deployment Guide Docker, self-hosting, reverse proxy, and SSL
Conventions Coding rules for each area: code quality, Svelte, API, permissions, migrations, testing, design system, UI
Contributing How to propose and submit a change

Contributing

Contributions are welcome. CONTRIBUTING.md covers the workflow: one issue per pull request, Fixes #N in the PR, the coding rules in docs/conventions/, and the validation to run before you push. To report a security problem, see SECURITY.md.

Support

If VROOM is useful to you, consider buying me a coffee:

Ko-fi

License

VROOM (Vehicle Record & Organization Of Maintenance), Copyright (C) 2025 Rengang (Angelo) Yang.

VROOM is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version (AGPL-3.0-or-later). The full text is in LICENSE.

About

VROOM (Vehicle Record & Organization Of Maintenance): a self-hosted, offline-capable app for tracking your vehicles' fuel, maintenance, insurance, financing and running costs.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages