Skip to content

Latest commit

 

History

History
99 lines (79 loc) · 3.19 KB

README.md

File metadata and controls

99 lines (79 loc) · 3.19 KB

Bussie

Bussie app icon

Bussie is a SwiftUI iOS app for Singapore bus commuters. It combines live LTA DataMall arrivals, saved routines, route guidance, reminders, and Live Activities in a single app.

Why this project exists

  • Fast access to nearby bus arrivals
  • Better trip planning for repeat commutes
  • Lightweight local-first experience with optional live API access

Highlights

  • Live bus arrival board with nearby, pinned, and recent stops
  • Route planning with transit guidance and boarding stop insights
  • Saved commuting routines with notification scheduling
  • Data-usage aware polling and request budgeting
  • Live Activity support for active route sessions
  • SwiftData-backed local persistence

Tech stack

  • SwiftUI
  • SwiftData
  • MapKit
  • UserNotifications
  • ActivityKit
  • LTA DataMall APIs

Project structure

Bussie/
├── App/                App entry points and root navigation
├── Features/           Home, Map, Routines, Session, Settings, Onboarding
├── Models/             Domain and persistence models
├── Services/           LTA, notifications, AI briefings, location, widgets
├── Shared/             Shared UI and activity models
├── Storage/            Persistence container
└── Utilities/          Search ranking, time formatting, helpers

Requirements

  • Xcode 16+
  • iOS 17+
  • An LTA DataMall account key for live data features

Screens and features

  • Home: nearby stops, pinned stops, watchlist, recent activity
  • Map: destination search, stop selection, route planning
  • Routines: save common trips and schedule reminders
  • Session: active travel state with Live Activity support
  • Settings: live refresh, walking assumptions, safety buffer

Local setup

  1. Open Bussie.xcodeproj.
  2. Copy Bussie/Secrets.plist.example to Bussie/Secrets.plist.
  3. Replace REPLACE_WITH_YOUR_LTA_DATAMALL_ACCOUNT_KEY with your own LTA key.
  4. In Xcode, set your own Development Team and unique bundle identifier.
  5. Build and run on simulator or device.

Secrets

This repository does not contain production credentials.

Live LTA access is loaded from a local Bussie/Secrets.plist file with this shape:

<dict>
  <key>LTA_ACCOUNT_KEY</key>
  <string>YOUR_KEY_HERE</string>
</dict>

Bussie/Secrets.plist is ignored by git and should never be committed.

Open source notes

  • Apple signing settings are intentionally scrubbed from the project.
  • The default bundle identifier is set to com.example.Bussie.
  • If live APIs are not configured, the app will still build, but LTA-backed features will report a configuration error.

Testing

Current tests cover:

  • Budget policy behavior
  • Recommendation engine decisions
  • ISO8601 parsing

Run from Xcode or with:

xcodebuild -project Bussie.xcodeproj -scheme Bussie -destination 'platform=iOS Simulator,name=iPhone 17' build

Contributing

Contributions are welcome. Start with CONTRIBUTING.md and use the issue templates in .github/ISSUE_TEMPLATE/.

Roadmap

  • Better map and route UX
  • Expanded test coverage for networking and persistence
  • Cleaner open-source onboarding for contributors

License

Released under the MIT License.