kosavan/mashina
소개
Modern, open-source, self-hosted vehicle maintenance tracker. Keep service history, repairs, mileage, fuel and expenses in a beautiful, private app.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +9
- in 1 month
- +15
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Your garage. Your history. Your server.
A personal home for your cars, expenses, fuel and maintenance.
English · Russian · Deutsch · Releases · Roadmap · Update · Install · macOS & Windows testing

Watch the mobile fill-up demo · Work out your running costs · Star MASHINA on GitHub
A garage worth keeping up to date
MASHINA is a modern, open-source, self-hosted vehicle maintenance tracker and car logbook. Keep service history, repairs, mileage, fuel and expenses on your own server, with a mobile-friendly interface and private local storage.
- Every vehicle, one history. Photos, ownership, mileage, service, parts and private documents.
- Quick fuel and expense entry. Exact money, itemized costs, receipts and vehicle-specific defaults.
- Analytics you can trust. Full-to-full fuel consumption, separate purchase/sale values and clear missing-data states.
- Bodywork with a memory. Interactive damage map, before/after photos, repair status and linked service history.
- Tires deserve their own space. Mounting history, manufacture codes, dated tread measurements and care guidance.
- Built for your phone. Dark/light themes, touch-friendly controls and an installable PWA. English, German, Russian, Simplified Chinese, Hindi, Spanish, Arabic and French UI, selectable at setup and in Settings. See languages and the German update guide.
- Local by default. Durable offline entries, safe synchronization, SQLite + local files and complete backup/restore.
Sharing, budgets, sale-history PDFs and reviewed CSV imports are included. Notifications and a scoped API/local MCP are optional. Service addresses stay local; external maps load only when you choose. No required cloud, paid API or telemetry.
Try it before adding your own data
Start MASHINA and choose Explore the demo garage (select English first) on the welcome screen. Explore two fictional vehicles, costs, fuel, tires and service history. Each demo session has its own temporary database and files, isolated from your real garage.
See the actual garage and analytics

Self-host in a few commands
Use the pre-built container with Docker Engine or Docker Desktop, or install without Docker as a background service on Linux, macOS or Windows.
Linux with Docker Engine + Compose:
git clone https://github.com/kosavan/mashina.git
cd mashina
cp .env.example .env
mkdir -p data
sudo chown 10001:10001 data
docker compose up -d --build
docker compose exec mashina /app/.venv/bin/python -m backend.cli create-admin
Open http://localhost:8000. Your data live in ./data. Use HTTPS for remote access and iPhone PWA installation.
See the mobile client guide for PWA installation, Android APKs and iOS IPA self-signing.
Full deployment & backup guide · macOS Terminal / Windows PowerShell
Questions from car owners
How do I track car maintenance?
Add your vehicle, then record each service with its date, odometer reading, parts and cost. Attach receipts, review the history and set date or mileage reminders. See the installation guide to start your own garage.
How do I remember when I last changed my oil?
Save the oil change as a service entry and search your vehicle history for it. The recorded date, mileage and parts stay together. Set the next reminder using your vehicle's service schedule; estimated mileage is not a measured reading.
Can I use miles, GBP and litres per 100 km together?
Yes. In Settings, choose GBP as the default currency, Miles (mi) for distance, Liters (L) for fuel volume and L / 100 km for fuel consumption. You can set a different currency for each vehicle. Changes to the default currency leave the currencies on saved records intact.
Where do I find upcoming registration and insurance renewals?
Open Registration and insurance and select a vehicle. The section shows the current expiration dates and previous payments. Registration records can also include the inspection result and its report. The same payments appear in spending analytics.
How do I import existing fuel records from a spreadsheet?
Save the spreadsheet as UTF-8 CSV and open Maintenance → Import. Check the suggested column mapping, choose the date format and set the default currency for rows without one. For a fuel-only file, choose Fill-up as the default record type. Include the odometer reading in kilometres and fuel volume in litres where applicable. Review the amounts and dates before confirming the import.
What can I do from the vehicle and maintenance screens?
Use the service checklist to prepare a visit, then save the work and export its report. Pin a part from service history, mark it for purchase, or link a used quantity to a service record. Group existing expenses into a trip to see the totals by currency. On the places map, open the external map only for a place you choose. Vehicle owners can also explicitly request VIN suggestions from NHTSA vPIC and choose which fields to save.
Is this a self-hosted alternative to vehicle maintenance apps?
Yes. MASHINA runs on your own computer or server with Docker. It stores your garage in SQLite and local files, supports complete backups and includes a phone-friendly PWA. You manage HTTPS and backups. Some actions, including photo uploads, require a connection; physical iPhone validation remains open.
MASHINA and LubeLogger
Both projects cover self-hosted maintenance and fuel tracking. Compare the workflows you actually need, rather than assuming feature parity.
| Consideration | MASHINA | LubeLogger |
|---|---|---|
| Main stack | React / FastAPI / SQLite | ASP.NET Core; LiteDB and PostgreSQL dependencies |
| Installation | Docker; see our hosting guide | Docker image or standalone Windows executable |
| Try it | Isolated fictional demo inside your installation | Public hosted demo linked from its README |
| License | MIT | MIT |
MASHINA emphasizes a mobile PWA, durable offline entries, a body-damage map and dedicated tire history. This does not assert that LubeLogger lacks those features. LubeLogger facts were checked against its official repository on 2026-10-12; consult its current documentation before choosing. There is no direct LubeLogger importer promised here; review CSV mappings and keep your original data when migrating.
License
MASHINA's original code is available under the MIT license. Third-party components and assets retain their respective licenses.
Under the hood
React + TypeScript + Vite · FastAPI · SQLite/WAL · local attachments. A modular monolith in one non-root application container, designed for a small home server.
Development & tests · Architecture · Fuel capture · Tires & service locations · API & MCP
Roadmap: shipped, next and research. Local OCR includes crop/rotation, up to three PDF pages and reviewed simple invoice line items. Garage cards use compact private previews without changing original photos. complex invoice layouts, specialized dashboard recognition, natural-language search, an expense-entry bot, OBD-II and reviewed VIN/parts lookup are planned. For existing installations, follow the backup, update and rollback guide.
Built with Spec Kit; identity developed with logo-design-skill, infographic authored with Hyperframes.
Vibecoded with love ❤️
관련 프로젝트 살펴보기
불러오는 중…