Skip to content

Flespi application for the authentication with tachograph

License

Notifications You must be signed in to change notification settings

flespi-software/Tacho-Bridge-App

Repository files navigation

Tacho Bridge Application

Tacho Bridge Application

The application is designed for use with the flespi platform. Communication with the server is organized through an MQTT channel that must be created in the user's account. For each card, objects in the form of company cards must be created.

Download

You can always find the latest release here: ↴ DOWNLOAD

Specifications

Project uses Tauri framework = Rust + Typescript + Vue 3 + Quasar

Quasar will be used as an interface, buttons, menu, etc. It was decided to abandon the native solution offered by Tauri due to possible difficulties with adaptation on different OS, and this will also facilitate the implementation of a mobile interface if required. Also, the native interface requires a bunch of imports that are already in Quasar.

Getting started

Firstly it is needed to install Rust.

Init project from the root directory

npm install

Then it is needed fetch Cargo dependeces from the rust directory

cd src-tauri
cargo fetch

run project

npm run tauri dev

Build

npm run tauri build

Cargo can be updated only from the ./src-tauri directory

cargo update

Icon generating & customizing

The project stores icons in a directory: src-tauri/icons

Detailed description of icon generation and their characteristics from Tauri

Tauri has a very convenient and super-simple tool for generating all the necessary icons for an application. What you need to do:

  1. Upload a PNG image with a transparent background to the image directory "src-tauri/icons". The resolution should be 1024x1024, this is the maximum icon size for MacOS, so that everything is displayed beautifully.
  2. Run the Tool for generating icons from the root of the project:
npm run tauri icon src-tauri/icons/app-icon.png

That's it. All the necessary icons of all sizes for all platforms will be generated.

Card connection states

Online Online connection to the server (OK)

Connected Physical connection to the computer (OK). It is needed to check server address in the App config

Disconnected Has no physical connection to the computer and there is no connection to the server (Not OK). Need to check everything :(

License

MIT license.