Inspiration

I wanted to have more accurate information about when PTV lines are arriving and wanted a quick way to compare ways of getting around. The only option currently available is the PTV app which only displays the lines timetabled schedule, and is a pain to deal with.

What it does

PTV2 monitors location behaviour to figure out where the user is most likely to be going and when, and displays the quickest ways to get there on public transport. There is also support for searching for a location and getting directions from it. This information can then be displayed in a widget to have a quick way of being up to date with the journey, as well as receiving updates to ensure that the user is on the quickest route available.

How we built it

The business logic and API routing is handled in Rust. The data is then passed over FFI from flutter for the main app display. The app then sends data to native widgets over () which can propagate information back up to the app.

Challenges we ran into

Having to use 3 languages for UI. I also had to fork the Rust PTV library that was made a week ago to add an API endpoint that I wanted to use.

Accomplishments that we're proud of

It works!

What we learned

I don't like mobile dev.

What's next for PTV2

Better route planning and Android support, as well as cleaning up some of the UI.

Built With

Share this project:

Updates