Crates.io | turbofuro_worker |
lib.rs | turbofuro_worker |
version | 0.1.24 |
source | src |
created_at | 2024-01-24 23:10:07.588424 |
updated_at | 2024-10-26 15:18:14.869307 |
description | Worker executable for Turbofuro |
homepage | https://turbofuro.com |
repository | https://github.com/turbofuro/turbofuro |
max_upload_size | |
id | 1113080 |
size | 1,455,738 |
Visual programming language for building cool things in record time.
This repository contains the worker application, runtime, Turbofuro Expression Language (TEL) and its bindings. You can find the editor and more details about this project on the Turbofuro website.
Note: This project is experimental and under active development. It is not recommended for production use yet.
Download a latest release for your platform from the GitHub releases page or install the binary using cargo install turbofuro_worker
. There is also an official Docker image you can use.
Once you have the binary you can run it with the following command:
turbofuro_worker --token <YOUR_MACHINE_TOKEN>
You can get your machine token from the machine details on Turbofuro.
This project contains a Cargo workspace with multiple crates. To build it locally, you need to install Rust and Cargo. You can do that by following the instructions on the Rust website.
After that, you can clone the repository and build the project with the following command:
cargo build --release
Once the build is completed you can use the turbofuro_worker
binary in the target/release
folder.
The turbofuro_worker project includes many examples of modules. You can run the test configuration with the following command:
cd turbofuro_worker
cargo run -- --config test_config.json
The worker uses Tokio as a async runtime. You can run and connect to the worker with tokio-console to inspect running tasks and resources.
RUSTFLAGS="--cfg tokio_unstable" cargo run -- --token XXX
We welcome all contributions with 💛
Feel free to create issues including those with feature suggestions. If you want to help, but not sure how, reach out to @pr0gramista (Twitter/LinkedIn/email) directly.
Turbofuro Worker is licensed under Apache-2.0.
Happy Coding! 🚀