GithubHelp home page GithubHelp logo

jay2645 / dispatch-r Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 564 KB

Dispatch-R is an easy-to-use model railroad automation software, written in Rust.

License: GNU General Public License v3.0

Rust 98.42% HTML 1.12% JavaScript 0.45%

dispatch-r's Introduction

Dispatch-R

Dispatch-R is a model railroad automation software, similar to JMRI.

Note that this software is currently unfinished! There is no guarantee that things will work at all. For the time being - stick with JMRI.

What it does

Dispatch-R is planned to be able to manage several aspects of your model railroad:

  • Locomotive rosters, including indicating which locomotives are consisted together. (Not made yet)

  • Programming decoders, similar to JMRI. (Not made yet)

  • Layout control, including throttles, switches, etc. (Not made yet)

  • CTC control built-in. (Not made yet)

  • Automatic train manifest generation, with support for add-ons such as RFID chips inside the train cars. (Not made yet)

  • WiThrottle support. (Not made yet)

  • Connections to your smart home and IOT devices via software like Home Assistant or protocols like MQTT. (Not made yet)

Building from Source contributions welcome

Contributions to the project are always welcome. This program is broken into 2 parts:

  1. The frontend is a web application using Yew. This serves content on a webpage.

  2. The backend is a Tauri application, which starts a webserver and renders it inside the window.

To set up your dev environment, follow the Tauri documentation to make sure you can develop a Tauri app. This will also walk you through installing Rust.

You should also set up Yew and Node.js This is necessary for running the frontend. Once both are installed, go to src-frontend and run npm install to install all required Node.js modules.

In debug mode, Yew will start a server on localhost:8080, which Tauri connects to. Yew supports "live editing", so you can make changes to the frontend, save, and your changes will be compiled/automatically pushed to what you see in the window.

In release mode, the frontend is "baked" into the backend - you cannot do live updates. However, you can still connect to Tauri itself and see the output of the program on other machines.

License

This program is released under the terms of the GNU General Public License (GPL) v3.

dispatch-r's People

Contributors

jay2645 avatar

Watchers

 avatar

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.