All Projects β†’ ninest β†’ Nextbussg

ninest / Nextbussg

Licence: gpl-3.0
An app to show everything bus related in Singapore, including arrival times and a directory

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Nextbussg

Awesome Transit
Community list of transit APIs, apps, datasets, research, and software πŸšŒπŸŒŸπŸš‹πŸŒŸπŸš‚
Stars: ✭ 713 (+729.07%)
Mutual labels:  bus, transit
dm tomatrixled
Display (real-time) public transport departures using Raspberry Pi and LED matrices
Stars: ✭ 17 (-80.23%)
Mutual labels:  transit, bus
european-transport-operators
NOT UP-TO-DATE ANYMORE, UNMAINTAINED. CHECK european-transport-feeds INSTEAD. List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules.
Stars: ✭ 47 (-45.35%)
Mutual labels:  transit, bus
Jet
CLI to transform between JSON, EDN and Transit, powered with a minimal query language.
Stars: ✭ 331 (+284.88%)
Mutual labels:  transit
Onebusaway Android
The official Android/Fire Phone app for OneBusAway
Stars: ✭ 388 (+351.16%)
Mutual labels:  transit
European Transport Modules
[DISCONTINUED in favour of public-transport-operators] Collection of european transport JavaScript modules.
Stars: ✭ 9 (-89.53%)
Mutual labels:  transit
Bsb Lan
LAN interface for Boiler-System-Bus (BSB) and Local Process Bus (LPB) and Punkt-zu-Punkt Schnittstelle (PPS) used by Elco Thision, BrΓΆtje and similar heating systems
Stars: ✭ 83 (-3.49%)
Mutual labels:  bus
Muuntaja
Clojure library for fast http api format negotiation, encoding and decoding.
Stars: ✭ 304 (+253.49%)
Mutual labels:  transit
Vbb Modules
List of JavaScript modules for Berlin & Brandenburg public transport.
Stars: ✭ 47 (-45.35%)
Mutual labels:  transit
Loader
deploy
Stars: ✭ 6 (-93.02%)
Mutual labels:  transit
People Counting Dataset
the large-scale data set for people counting (LOI counting)
Stars: ✭ 37 (-56.98%)
Mutual labels:  bus
Transit
Easy file uploading and downloading for Laravel 5.
Stars: ✭ 5 (-94.19%)
Mutual labels:  transit
Servicebus
Simple service bus for sending events between processes using amqp.
Stars: ✭ 415 (+382.56%)
Mutual labels:  bus
Fapanels
FAPanels - Swift
Stars: ✭ 850 (+888.37%)
Mutual labels:  transit
Name Suggestion Index
Canonical common brand names, operators, transit and flags for OpenStreetMap.
Stars: ✭ 332 (+286.05%)
Mutual labels:  transit
Vbb Cli
A CLI for Berlin & Brandenburg public transport.
Stars: ✭ 70 (-18.6%)
Mutual labels:  transit
Node Gtfs
Import GTFS transit data into SQLite and query routes, stops, times, fares and more.
Stars: ✭ 323 (+275.58%)
Mutual labels:  transit
Transitive.js
Transit data visualization
Stars: ✭ 628 (+630.23%)
Mutual labels:  transit
Transit
This Python module polls transit agencies for real-time bus arrival predictions.
Stars: ✭ 6 (-93.02%)
Mutual labels:  transit
Tidytransit
R package for working with the General Transit Feed Specification (GTFS)
Stars: ✭ 84 (-2.33%)
Mutual labels:  transit

icon NextBus SG

An app to show everything bus related in Singapore, including bus arrival times and a directory, with extra features.

Made with Flutter PRs Welcome GitHub BMAC HitCount

Get it on app store Get it on Google Play

πŸŽ† Gallery

light mode dark mode other screens

Click here to see a detailed explanation of each screen.

πŸš€ Features

Click to reveal all features
  • [x] Show the arrival times of buses at stops near the user
    • [x] Show a list of buses not currently in serivce
    • [x] Show if a bus stop is also an MRT station in the search page
    • [x] Show which all bus stops around the user are also MRT stations (needs help) (#2)
    • [x] Show the load of buses (green for not crowded ... )
    • [ ] Show timings for college buses (NUS, NTU, SUTD, ... ), although still need to collect data for these (check out this repository for updates)
  • [x] Ability to save buses at a particular stop as a favorite
    • [x] Confirm user's action of adding/removing from favorites using bottom sheets
      • [ ] Display a toast when a favorite has been added/removed to notfy the user of their actions
      • [ ] Use slidable widget for adding and removing favorites
    • [x] Automatically show the arrival time of favorite buses at stops (if user is at stop)
    • [x] Add ability to view all favorites in a popup page
    • [x] Show message prompting user to add a favorite if there are no favorites
    • [x] Custom names for favorites
  • [x] Ability to search for bus services, routes, and stops (Search page)
    • [x] See information for each bus stop
    • [x] See information for each bus service
      • [x] See a list of routes for each bus service
    • [ ] See information for each MRT station (unplanned)
  • [x] FAQ page to teach users how to use the app
  • [x] Onboarding (introduction) pages to show how to use the app
  • [x] Third page (settings/options page, should also show tutorial/FAQ on how to use the app)
  • [x] Request user location permission on app start
    • [x] Display button to open settings if location permissions denied
  • [x] Add quick actions to go to favorites and MRT map (implemented, but not working on IOS: #13634)
  • [x] Theme customization
    • [x] Light/dark theme
      • [x] Change status bar text color depending on theme
  • [ ] THINK OF A MORE CREATIVE NAME. How is BlackBus SG?
🧨 Click to reveal features for the future
  • [ ] Graph view for arrival times, rather than just showing numbers (planned, although implementation is difficult)
  • [ ] AR navigation
  • [ ] Tell users how to get to the nearest bus stop (unplanned)
  • [ ] Map view to show the nearest bus stops (unplanned) (might not implement)

Wiki

πŸ›  Data

Check out ninest/bus-sg for a detailed guide on how the data was scraped. The data is copyrighted by LTA.

πŸ“¦ Packages used

  • provider
  • hive
  • hive_flutter
  • hive_generator
  • geolocator
  • permission_handler
  • styled_widget
  • flutter_markdown
  • bot_toast
  • url_launcher
  • introduction_screen
  • flutter_launcher_icons
  • flutter_native_splash
  • quick_actions

App philosophy

In short, I first made this app only for myself because I wasn't happy with any app that already exists. All I needed was a simple, clutter-free interface to show bus timings of only the buses I'm actually taking. On rare occasions, I wounldn't know where the bus stop is. I'd just use Google Maps. I never found large maps on bus apps useful.

No map

The thing is, once you know where a bus stop is, you won't need to use the map again. If you already know where the stop is, the mpa on your scren takes more space. There are rare occasions when I don't know how to get to the bus stop, but that's why I have Google/Apple Maps.

Clutter free interface

You need bus timings. I'm giving you bus timings. Period.

Context-aware favorites

  • You saved Bus 14 at Bedok Interchange as a favorite.
  • You open the app near Bedok Interchange
  • We assume that you are taking Bus 14, so we put its timings at the top of the screen (refer to the images above)

Other information

Built setup

Your system requires the Flutter SDK. Follow the steps here to install it on your system. Once Flutter is installed, follow these steps:

  1. Clone or fork this repository.
  2. In the lib folder, create keys.dart .

In keys.dart , paste the following:

final String apiKey = '<LTA API KEY>';

To get an API key, go to LTA's Request For API Access web page and fill out the form. The key is required for the app to work properly.

Once the key as been set up, the app can be tested with the following commands:

flutter run

Please check out the wiki for additional information.

Generating icons and splash screens

After updating pubspec.yaml , run these commands:

flutter pub run flutter_launcher_icons:main
flutter pub pub run flutter_native_splash:create

Stuck at installing debug Android app?

Go to app settings and uninstall your app. The app may not appear in your launcher, but it could still be installed. Go to your settings, find it, and completely uninstall it.

This can also be done using ADB:

adb uninstall com.themindstorm.nextbussg

If this does not work, check out this answer on SO.

Build Android APK and appbundle

flutter build appbundle
flutter build apk

Once the APK has been built, install it on a physcally connected Android device:

flutter install

If you have multiple devices, you can view a list of Android devices connected using this command:

adb devices

And to install the app on an Android device, copy the device ID and install the app using

flutter install <devce ID>

πŸŽ— Support

Like this project?

  • ⭐️ Star the repository
  • πŸ“© Send a pull request to add new features
  • πŸ’Œ Share this repository with other developers
  • πŸ“² Download the mobile apps (scroll to the top for links)

Detailed screenshots

Click to reveal detailed images of the app's different screens and explanations. These images may be too tall for desktop screens.
UI Description
onboard view Onboarding screen, where the user is asked for the location permission
main page Main page, where users see a list of bus stops near them (and favorites), and see their respective bus arrival timings
favorites prompt Users are prompted to confirm
favorites view Favorites that are close to the user are show on the main page
search view Search page
bus stop view Bus stop details page
bus service view Bus service details page
More page More page, where users can change settings and see some more features
dark view πŸŒ™ Dark theme
rename Bus stops can be renamed (renamed bus stops in italics)
quick actions Quick actions! These do not seem to be working on iOS at the moment: #13634.

This and this was what the design looked like at first.

Acknowledgements

This app makes use of data and images (MRT map) from:

License

GPL-3.0

Legal attribution

Google Play and the Google Play logo are trademarks of Google LLC.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].