GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Mattbusel/odometer: Odometer: a car maintenance and fuel log for iPhone that predicts when each service is due and what the car really costs, with a service history PDF. SwiftUI, written on Windows, built and shipped entirely by GitHub Actions macOS runners.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Resources
Resources
 
 
Sources
Sources
 
 
Store
Store
 
 
fastlane
fastlane
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
project.yml
project.yml
 
 

Repository files navigation

Odometer

A car maintenance log for iPhone that tells you what is due next, when, and what the car really costs.

iOS 17+ SwiftUI Built on GitHub Actions

Coming to the App Store.

Odometer screenshot Odometer screenshot Odometer screenshot

Log a fill-up at the pump or a service in the waiting room. Every odometer reading sharpens your driving pace, and the pace turns "due at 58,390 miles" into an actual date.

Features

  • What is due: oil, tires, filters, fluids, plugs, battery, timing belt, wipers and your own jobs, by miles and months
  • Per-car intervals, overdue and due-soon states, and a gauge of how much of each interval is used
  • Services (shop or DIY, parts, labor), fill-ups with mpg or L/100km, and other costs like insurance and tolls
  • The real cost: per month and per mile, the last twelve months by category, fuel economy trend (Swift Charts)
  • Glovebox dates (insurance, registration, inspection, warranty) with an optional local reminder
  • A service history PDF for when you sell, CSV export, multiple cars, miles or km, gallons or litres

Price

A paid app: one price, no in-app purchases, no subscription, no ads.

Privacy

No network code at all: Odometer makes no requests and collects no data. Reminders are local notifications. Everything is saved on the device in odometer.json. The privacy manifest (Resources/PrivacyInfo.xcprivacy) declares no tracking and no collected data types.

Built without a Mac

This app was written on a Windows PC. No Mac is involved at any point: every build, signature, screenshot and App Store submission runs on GitHub Actions macOS runners, driven by the App Store Connect API.

  • project.yml is an XcodeGen spec. The .xcodeproj is generated on the runner and never committed, so the repo can be edited on any OS and there are no .pbxproj merge conflicts.
  • .github/workflows/build.yml runs on every push: picks the newest Xcode 26 and iPhone simulator on the runner, builds, then launches the app once per screen with -shot <screen> (sample data, fixed 9:41 status bar) and captures the store screenshots with simctl, uploaded as a workflow artifact.
  • .github/workflows/appstore.yml (manual) has three modes: compile, dry_run (build, sign, upload, do not submit) and release (also submits for review). The distribution certificate is imported from a secret into a throwaway keychain; fastlane (fastlane/Fastfile) fetches the App Store profile with the API key, sets the build number one above the latest on TestFlight, archives, and uploads the binary with fastlane/metadata and the committed fastlane/screenshots.
  • .github/workflows/review-video.yml records the App Review screen recording: the app is launched with -demoAutoplay and drives its own real screens.
  • Store/*.py talk to the App Store Connect API directly from Windows (Python, requests + PyJWT): asc.py registers the bundle id and pushes metadata, listing.py sets the age rating, review details, price and screenshots, and signing.py creates the distribution certificate locally so its private key is never stranded on a disposable runner.

Only one step is manual: Apple's API will not create the app record itself, so that is made once in the App Store Connect web UI.

Build and run

With a Mac and Xcode 26 (the version CI uses; the app targets iOS 17+):

brew install xcodegen
xcodegen generate
open Odometer.xcodeproj

Run the Odometer scheme on any iPhone simulator. No signing is needed for the simulator; from the command line:

xcodebuild build -project Odometer.xcodeproj -scheme Odometer \
  -destination 'platform=iOS Simulator,name=iPhone 16 Pro' CODE_SIGNING_ALLOWED=NO

To see it filled with sample data, launch with a screenshot argument, e.g. xcrun simctl launch booted com.mattbusel.odometer -shot due.

Without a Mac: fork the repo and push. The Build workflow compiles it on a GitHub macOS runner and attaches the screenshots as an artifact.

Shipping your own build needs these repository secrets: ASC_KEY_ID, ASC_ISSUER_ID, ASC_KEY_CONTENT (base64 of the .p8), DEVELOPMENT_TEAM, DIST_CERT_P12, DIST_CERT_PASSWORD, plus your own bundle id in project.yml and fastlane/Fastfile.

Code map

All app code is in Sources/ (SwiftUI, Observation, no third-party dependencies).

File What it does
App.swift entry point, tabs, -shot handling
Model.swift cars, services, fill-ups, intervals, pace and cost maths, JSON persistence
Views.swift garage, due list, log, costs, glovebox, PDF and CSV export
Theme.swift vintage dashboard look with rolling digits
Demo.swift / Autopilot.swift screenshot data and the App Review recording

Store/ holds the App Store Connect scripts, fastlane/ the lanes, listing text and screenshots, Resources/ the asset catalog and privacy manifest.


More apps built the same way: Chain, Ironbook, Quiver, Race Fuel, Minder, Baseline Ledger, Fairway Ledger, Rooms, Clockout, Curve, Pricebook, Chores, Pawprint, Pocket Beings, Glyphstorm, Clear the Strait.

Hire the author

I designed, built and shipped this app myself. Want one like it for your business? I build native iOS apps from prototype to App Store launch, fixed price. Services and pricing · Email · LinkedIn

About

Odometer: a car maintenance and fuel log for iPhone that predicts when each service is due and what the car really costs, with a service history PDF. SwiftUI, written on Windows, built and shipped entirely by GitHub Actions macOS runners.

Topics

app-store-connectcar-maintenancefastlanefuel-trackergithub-actionsiosiphone-apppdfswiftswift-chartsswiftuivehicle-logxcodegen

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.