Skip to content

borsboom/bc-ferry-schedules

Repository files navigation

Schedules for BC Ferries to the Southern Gulf Islands

An easy to use and understand presentation of the BC Ferries schedules for the Southern Gulf Islands, Victoria, and Vancouver. Just select your locations and date, and you're shown the sailings for that day.

Web site: https://ferries.borsboom.io/

This repository contains a scraper to download and parse BC Ferries schedules, and a single page web app front-end to browse the sailings.

Build and run locally

  1. Install required build tools:

    • Rust toolchain - to build the scraper and front-end, which are written in Rust.

    • Trunk - to build and view the front-end.

    • just - to use commands in the Justfile.

    • Install the Wasm target by running:

      rustup target add wasm32-unknown-unknown
      
  2. Build and run scraper to generate local schedule data file by running:

    just local-data
    
  3. Build and serve the front-end web app by running:

    just local-frontend
    
  4. Open http://localhost:8080/ in your web browser to view the front-end web app.

License

Copyright © 2022-2023 Emanuel Borsboom.

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Schedules for BC Ferries to the Southern Gulf Islands

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Languages