feat: add main structure

This commit is contained in:
Laszlo Uyttersprot
2026-03-12 19:02:38 +01:00
commit 2730691b3a
6 changed files with 27 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

7
Cargo.lock generated Normal file
View File

@@ -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"

6
Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "triops"
version = "0.1.0"
edition = "2024"
[dependencies]

1
README.md Normal file
View File

@@ -0,0 +1 @@
# Triops monitor

9
run.sh Executable file
View File

@@ -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"

3
src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}