Skip to content
EylexanderPublic

About

Live TCAT buses in Troyes (France): map, next departures, home screen widget. Flutter app for Android and iOS.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Re-TCAT

English · Français

Live TCAT buses in Troyes (France), on Android and iPhone. Free and open source, no account, no ads, no trackers. The app itself is in French.

Map of every bus in service Following a bus along its stops Next buses at a stop Favorite stops Lines in service

Features

  • Map: every bus in service, in its line's color, with an arrow showing where it's heading. Filter by line.
  • Follow a bus: the map tracks it as it drives. Its stops list shows predicted times, how late or early it runs, and any skipped stops.
  • Stops: search by name, find stops around you, and keep favorites with their next buses (live when the bus reports its position, scheduled otherwise).
  • Lines: route, stops in each direction, buses in service, service alerts.
  • Widgets: the next buses at a stop, or just the next bus at one or two stops, on your home screen (Android and iOS 17+). Each widget asks for its stop, and optionally a line and its direction, for your daily trip.

Install

Android (8.0 or later): from my F-Droid repo (add it to F-Droid, Droid-ify or Neo Store to get updates), or the APK from the releases.

iPhone: there is no App Store build. Take the .ipa from the releases and install it with a sideloading tool that signs it with your Apple ID: xtool (works from Linux: xtool install re-tcat-vX-unsigned.ipa), AltStore, SideStore or Sideloadly. The home screen widget needs a paid Apple developer account (App Groups); the app itself doesn't.

How it works

The same data and rules as ha-tcat, its Home Assistant counterpart:

  • Timetable: TCAT's GTFS on transport.data.gouv.fr. Each file is only valid for a few weeks, so the app downloads it (2.5 MB) at first launch and again whenever TCAT publishes a new one, instead of bundling it.
  • Live data: TCAT's GTFS-Realtime feeds (vehicle positions, trip updates, service alerts), polled every 15 seconds while the app is open.

The app talks to these public feeds directly. There is no server in between, and nothing about you is sent anywhere. Location is optional, only used on demand for "stops around me", and stays on the phone.

Building

You need Flutter 3.47 (Dart 3.13).

flutter pub get
flutter test
flutter run                                                  # on a connected phone or emulator
flutter build apk --release --target-platform android-arm64 # build/app/outputs/flutter-apk/app-release.apk

Debug builds install as a separate app (com.eylexander.retcat.debug, "Re-TCAT (dev)"). iOS builds need macOS; the release workflow builds the .ipa on GitHub Actions. CLAUDE.md has the architecture, data quirks and release notes in more detail.

Contributing

Bug reports and pull requests are welcome. Please run flutter analyze, flutter test and dart format -l 120 lib test before sending a change. If you notice a wrong delay or a bus that doesn't show up, include the stop, line and time: TCAT's realtime feed has quirks, and that's what it takes to reproduce them.

License

MIT for the code.

Data: TCAT / Troyes Champagne Métropole, under the ODbL. Map: © OpenStreetMap contributors.

This is an unofficial app, not affiliated with TCAT or Troyes Champagne Métropole.

About

Live TCAT buses in Troyes (France): map, next departures, home screen widget. Flutter app for Android and iOS.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages