MileBug alternative for iOS

iOS 26.2 broke MileBug at last; it hadn't been updated in years, the founder having apparently sold to Bending Spoons in 2018.

Failing to find a simple mileage tracker in the App Store, I cobbled together a Shortcuts workflow which does the job:

Setup

Create two files in On My iPhone/Shortcuts/:

  1. log.csv with the header line Date,Vehicle,Start,End,Mileage
  2. start.txt with your current odometer reading (e.g., 12345)

Workflow

Open Shortcuts and create a new shortcut with the following actions and values:

  1. List - Replace the default One and Two with your vehicles (e.g., FJ40 and Fit)
  2. Choose from List
  3. Get File from Folder - Clear the auto-populated Selected Item, browse to On My iPhone/Shortcuts/, and change example.txt to start.txt
  4. Get Numbers from Input - Keep the File token from step 3
  5. Set Variable - Set Variable Name to Start and keep the Numbers token from step 4
  6. Ask for Input - Change Text to Number and set Prompt to End Mileage
  7. Set Variable - Set Variable Name to End and keep the Ask for Input token from step 6
  8. Calculate - End - Start
  9. Text - Tap these variable tokens from the Select Variable popup, adding a comma between each: [Current Date],[Selected Item],[Start],[End],[Calculation Result] (set Current Date Date Format to Short and Time Format to None)
  10. Append to Text File - Keep the Text token from step 9; verify the path is On My iPhone/Shortcuts/, change example.txt to log.csv, and leave Make New Line on
  11. Save File - Touch and hold Appended File, tap Variables..., tap End, expand the action, then turn off Ask Where to Save, set Subpath to start.txt, and turn on Overwrite If File Exists

Usage

Run the shortcut, pick a vehicle, and enter the end mileage. The shortcut then:

If miles were added without logging (e.g., after switching vehicles or an untracked drive), edit start.txt to match the actual odometer before the next run.

Notes

Related

❧ 2026-01-30