Git Product home page Git Product logo

srfinder's Introduction

srfinder

This is a web-based program to find direct routes for flight simulators that match specified filters. It can be useful when you are not sure where you want to fly from and/or to.

The frontend is made with Svelte and the backend with Rust and Rocket.

Screenshots

Homepage with dark theme:

Screenshot showing dark homepage

Homepage with light theme:

Screenshot showing light homepage

Showing a found route on a map:

Screenshot showing a found route

Showing the runways of an airport and its frequency / runway information:

Screenshot showing airport runways

Building

Note that these instructions are intended for Linux / OSX users. Windows users may need to adjust the commands a bit.

This project requires the following dependencies:

  • A recent stable version of Rust
  • A recent version of npm
  • pkg-config

The following sections describe how to build each part of the project. Either step can be done first.

Building the backend

Open a terminal in the project directory and run cargo build --release. Once complete, you will be able to run the program from within the target/release/ folder.

Building the frontend

From within the project directory, navigate to the frontend folder and run the following commands:

  1. npm install
  2. npm run build

Usage

First, launch executable named srfinder in the target/release/ folder to start the web server, and navigate to localhost:8000 in your web browser.

Navigation within the site should be fairly straightfoward. You can hover over most filters to find out more about which each one does, and can change the site theme / which units to use by clicking the cog icon in the bottom right corner.

Data Source

All airport data comes from OurAirports.

srfinder's People

Contributors

acizza avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ishanibhatia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.