commit 2730691b3a6d22bc4a62e116b6f706e0020d72f2 Author: Laszlo Uyttersprot Date: Thu Mar 12 19:02:38 2026 +0100 feat: add main structure diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..be6444b --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "triops" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..ca16a4d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "triops" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..5980870 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Triops monitor \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..42ec9c7 --- /dev/null +++ b/run.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# 1. Build +cargo zigbuild --target aarch64-unknown-linux-gnu + +# 2. Copy (Replace with your Pi's IP and path) +scp target/aarch64-unknown-linux-gnu/debug/triops rankzy@192.168.250.110:~/triops + +# 3. Run remotely +ssh rankzy@192.168.250.110 "chmod +x ~/triops && ~/triops" \ No newline at end of file diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}