Skip to content

simplyRoba/gazel

Repository files navigation

gazel logo

gazel

gazel — short for gas gazelle — /ɡəˈzɛl/

Conventional Commits GitHub License GitHub Workflow Status GitHub release GitHub issues GitHub Repo stars

A lightweight, self-hosted fuel expense and mileage tracker. Log fill-ups, track fuel efficiency and costs across your vehicles, and spot trends over time — all from a single binary with no external dependencies.

The gazel remembers every drop so you don't have to.

gazel dashboard gazel mobile view

Features

  • Multi-vehicle tracking — manage all your cars, motorcycles, and trucks in one place
  • Fill-up logging — record date, odometer, fuel amount, cost, and station
  • Fuel efficiency — automatic MPG / L/100km calculation between fill-ups
  • Cost tracking — cost per mile/km, monthly and yearly spend breakdowns
  • Dashboard — at-a-glance overview with summary stats and recent activity
  • Charts — visualize efficiency, cost, and fuel price trends over time
  • Flexible units — switch between imperial and metric, choose your currency
  • Multi-language — English and German
  • Data portability — export and import your data as JSON
  • Light & dark theme — follows your system preference, with manual override
  • Installable PWA — add to home screen on mobile for a native-like experience
  • Single binary — self-contained Rust service with embedded UI, just run it or use Docker

Quick start

Docker run

docker run -p 4110:4110 -v gazel-data:/data \
  ghcr.io/simplyroba/gazel:latest

Open http://localhost:4110. Data is persisted in the gazel-data volume.

Docker Compose

A docker-compose.yml is included in the repository.

docker compose up -d

Configuration

Variable Default Description
GAZEL_PORT 4110 HTTP server listen port.
GAZEL_DB_PATH /data/gazel.db Filesystem path to the SQLite database.
GAZEL_LOG_LEVEL info tracing level filter for logs.

Security

gazel has no built-in authentication. It is designed to run on a trusted home network or behind a reverse proxy that handles auth (e.g., Authelia, Authentik, Caddy with basic auth). Do not expose it directly to the internet.

Development

See CONTRIBUTING.md for dev setup, testing, and design system documentation.


This project is developed spec-driven with AI assistance, reviewed by a critical human.

About

Fuel cost and mileage tracker - the gazel keeps pace with every fill-up so you don't have to

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors