Gas
A simple gas mileage tracker: log fill-ups, see MPG, price per gallon, and miles per month.
- More than one vehicle: keep separate logs for each car, truck or bike, each with its own little tile icon (pickup, sedan, SUV or motorcycle, in six colors). Tap Vehicles at the top to switch or add one.
- Charts you can scroll: pick 3 months, 6 months, a year or all time, then tap the arrows (or swipe the charts) to move back and forth.
- All-time records: best and worst tank, highest and lowest price per gallon.
- Maintenance: log oil changes, tire rotations, or anything else (brakes, inspection), with notes and one total cost for the visit, parts included. The card adds them up under Spent on upkeep. For oil, tap 3,000, 4,000 or 5,000 mi for when the next one's due (or 6 months, whichever comes first). Tires: pick Rotated or New tires. Either one starts the 10,000 mi countdown to the next rotation, and the card shows when the current tires went on, how many miles are on them, and how many times they've been rotated since. Others take miles and/or months. The app works out what's coming up from your latest odometer reading and flags anything overdue. Tap Done on a reminder to log it again.
- Parts: tick Replaced parts too on any service (or pick Parts on its own) and tap what you swapped: wiper blades, cabin air filter, battery, and so on, or add your own. The card keeps a short Last replaced list so you can see when each part was last done.
- Edit any entry if you fat-fingered a number.
- Catches gaps: if a tank's MPG is way off from that vehicle's usual (once it has 5+ tanks), the app figures a fill-up probably didn't get logged, leaves that tank out of your MPG, and asks you about it. You can also tick Missed logging a fill-up before this one when you add an entry.
Use it: https://mgilvryallen.github.io/gas/
Put it on your phone
- iPhone: open the link in Safari, tap Share, then Add to Home Screen.
- Android: open it in Chrome, tap the menu, then Install app (or Add to Home screen).
It then opens like a regular app and works offline.
Where your data lives
On your device, in that browser's storage. There's no server and no account, and nobody else (including me) can see your entries.
Sync (optional): to use the same log on your phone and computer, turn on Sync. You make a GitHub token that can only touch gists, and the app keeps your log in a private gist on your own GitHub account. Each device keeps its own full copy and merges with the gist when you open it or make a change: the newest edit wins, and deletions carry over. The token is stored on your device only. To stop, tap Turn off sync on this device, and delete the token on GitHub if you like.
That also means nobody can recover them for you. Tap Save Backup now and then and keep the file somewhere safe (iCloud Drive, Google Drive, email it to yourself). On a new phone, install the app and tap Restore From Backup.
Restoring merges with what's already there and skips duplicates. It also reads the old Gas Tracker export files.
Make your own copy
Want to change it? Click Use this template on GitHub to get your own copy, then go to Settings → Pages, set the source to the main branch, and GitHub hosts it for free at your-username.github.io/gas/. Everything is in index.html: no build step, no dependencies to install.
Made by M'Gilvry Allen. Charts by Chart.js (MIT).