Coder Social home page Coder Social logo

if-tools / briefings Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 524 KB

A website that allows you to create flight briefings for quick and organized flight planning.

Home Page: https://briefings.if-tools.tech

License: MIT License

HTML 36.98% C# 31.31% CSS 21.18% JavaScript 10.12% Dockerfile 0.40%
infinite-flight flight-briefings blazor briefings dotnet

briefings's Introduction

Briefings

A website that allows you to create flight briefings for quick and organized flight planning.

Features

  • Create flight briefings that contain the minimum info needed for an Infinite Flight flight. Share them with other people for easier group flying, or plan your future flights by keeping a list of your briefings.
  • Attach any images to your briefings. These can be aeronautical charts, screenshots or any other pictures needed for your flight.
  • Include airport METARs in your briefings. They are fetched each time you load a briefing, so they are always up-to-date.
  • Edit your briefings. Add any additional info after creating a briefing in case you've missed it during creation, or edit the flight info to keep the briefing up-to-date.
  • Search created briefings. Find your next destination by searching briefings created by other users.
  • Make your briefings private and hide them from search, or keep them public for other users to see.
  • See your last viewed and created briefings on the main page.

Please open an issue if you'd like to see more features added!

Building

IF-Tools Briefings is built with ASP.NET Core 8.0 and Blazor. It uses MongoDB as the database provider and S3 for attachment storage. Follow these steps to build and run a local copy of the app:

  1. Clone this repository using git clone.
  2. Go to the project folder (IF-Tools Briefings).
  3. Create a .env file based on the provided .env.example according to your MongoDB and S3 configurations.

If you want to use MongoDB Atlas, you only need to specify your connection string in MONGO_DB_CONN_STRING, other fields can be left blank.

Docker

Instructions:

  1. Build the image and run the app using
    $ docker-compose up --build
  2. IF-Tools Briefings will now be accessible at localhost:6080. If MONGO_DB_CONN_STRING is not set, it will use a local MongoDB instance provided by the mongodb container.

Native

Requirements:

  • .NET 8.0

Instructions:

  1. Build and run the app using
    $ dotnet run
  2. (Optional) Run the local MongoDB environment using
    $ docker-compose up -d mongodb
    MongoDB will now be running at localhost:27017, user: admin, password: admin, database: briefings.

Note: For the Get Flight Plan from IF feature to work, you must have IF-Tools running on the address specified by the IF_TOOLS_ADDRESS env var (default: http://localhost:5001).

Contributing

Fork the develop branch of this repo to get started, follow the above instructions to build the app, and then open a new Pull Request when you've made your desired changes (don't forget to describe them). Thanks for your help!

Credits

IF-Tools Briefings uses FilePond for file uploads and MagnificPopup for image galleries.

briefings's People

Watchers

 avatar  avatar

briefings's Issues

[Feature] Better input format validation/correction for some fields

Add additional input formatting for the following fields:

  • Flight Level: Maintain a three-number format for consistency. (i.e. 50 -> 050)
  • Cruise Speed: Divide any number above 4 by 100 in the Mach mode (i.e. 5 -> 0.05, 30 -> 0.30, 152 -> 1.52). With that logic, it would also be necessary to deny any numbers above 400.

[Feature] Add cruise speed Mach/TAS modes switch

Add a UI switch (button, select etc.) near the Cruise Speed field to let the user decide what type of cruise speed their briefing should specify. This would also require a new column in the Briefings table.

Edit: Actually, on a second thought, the new column can be avoided. The speed value can be checked on the View Briefing page and, if it’s higher than 4, display it in TAS rather than in Mach.

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.