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.
Starting mileage is automatically populated by the previous ending mileage, though it can be quickly adjusted via the dashboard widget when necessary (as when switching vehicles or having driven untracked miles).
1. Setup
Create the Log Database
- Open Notes.
- Create a new note titled
Mileage Log. - Add this header on the second line:
Date,Vehicle,Start,End,Mileage.
Create the Storage Folder
- Create a new folder in Notes named
Mileage.
- Create a new folder in Notes named
Create the Tracker Note
- Inside the
Mileagefolder, create a new note titledMilebug. - Enter your current odometer reading on the second line (immediately under the title).
- Inside the
Configure a Dashboard Widget
- Add a Notes widget to your Home Screen, swiping to select one of the Folder options (as opposed to "Note" or "Quick Note"), then tap Add Widget.
- Tap the widget while it is still jiggling and change the Folder setting from the default
NotestoMileage.
Configure System Settings
- Navigate to Settings → Apps → Shortcuts → Advanced.
- Enable Allow Deleting Without Confirmation. (Ensures that the shortcut runs silently in the background without prompting you every time it updates the tracker).
2. Shortcuts workflow
Open the Shortcuts app and tap + to create a new shortcut.
2.1. Vehicle Selection
- Add List.
- Rename the default items (
One,Two) to your vehicle names (e.g.,FJ40,Fit).
- Rename the default items (
- Add Choose from List.
- Add Set Variable.
- Set Variable Name to
Vehicle.
- Set Variable Name to
2.2. Get Start Mileage
- Add Find Notes.
- Add Filter → Name contains
Milebug→ Limit to 1 item.
- Add Filter → Name contains
- Add Get Text from Input.
- Should automatically connect to
Note.
- Should automatically connect to
- Add Split Text.
- Should auto-fill New Lines.
- Add Get Item from List.
- Change
First ItemtoItem at Index 2
- Change
- Add Set Variable.
- Change
Variable NametoStart
- Change
2.3. Get End Mileage
- Add Ask for Input.
- Change
TexttoNumber. - Change
PrompttoEnd Mileage.
- Change
- Add Set Variable.
- Change
Variable NametoEnd
- Change
2.4. Calculate Distance
- Add Calculate.
- Change + to -.
- Tap
Numberand selectStartfrom the list of options
- Add Set Variable.
- Change
Variable NametoDistance.
- Change
2.5. Prepare Log Entry
- Add Date. (Defaults to Current Date)
- Add Text.
- Tap inside the text box
- Tap the following tokens in the popup menu, adding a comma between each one:
Date,Vehicle,Start,End, andDistance. - Tap the
[Date]token in the text box then set Date Format to Short and Time Format to None.
2.6. Save the Log
- Add Append to Note.
- Tap
Textand selectTexttoken with yellow icon - Tap
Noteand selectMileage Log
- Tap
2.7. Update the Tracker
- Add Find Notes.
- Tap
Appended NotethenClear Variable - Tap Add Filter → for Name contains, change
anythingtoMilebugand limit to 1 item
- Tap
- Add Delete Notes.
- Add Text.
- Tap inside the text box and enter
Milebugon the first line, press Return, then select theEndvariable from the popup menu
- Tap inside the text box and enter
- Add Create Note.
- Change
Contentsto theTexttoken with yellow icon - Change
FoldertoMileage
- Change
3. Wrap-up
Tap the arrow next to the shortcut name at the top of the screen to access Rename, Choose Icon, and Add to Home Screen options.
Screenshot of the complete workflow.
To resolve access or permissions issues, tap the ⓘ button on the Shortcut and check Privacy settings.
Related
Shortcuts Toolkit: "Comprehensive toolkit for generating Apple Shortcuts programmatically using reverse-engineered binary plist format."
"Copy and paste multiple actions, view/edit/compare/save/import/repair/web-review shortcuts. ... Web Review can also be converted to and viewed/saved as plain text.
"
❧ 2026-01-30