From dcb18476430e22013bb48b8303b76d9b55767b88 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 5 Feb 2026 11:37:23 -0700 Subject: [PATCH] Created initial meshexec formula --- Formula/meshexec.rb | 24 ++++++++++++++++++++++++ README.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 Formula/meshexec.rb create mode 100644 README.md diff --git a/Formula/meshexec.rb b/Formula/meshexec.rb new file mode 100644 index 0000000..7c24b94 --- /dev/null +++ b/Formula/meshexec.rb @@ -0,0 +1,24 @@ +# Documentation: https://docs.brew.sh/Formula-Cookbook +# https://rubydoc.brew.sh/Formula +class MeshExec < Formula + desc "Manage remote devices over the Meshtastic mesh. Define command aliases, execute them remotely via private channels, and get output back in chunks" + homepage "https://github.com/Dark-Alex-17/meshexec" + if OS.mac? and Hardware::CPU.arm? + url "https://github.com/Dark-Alex-17/meshexec/releases/download/v0.1.0/meshexec-macos-arm64.tar.gz" + sha256 "82b997f1d5ad622a6f17aa6043a365b3de3804b1172689f13714040a37e0342e" + elsif OS.mac? and Hardware::CPU.intel? + url "https://github.com/Dark-Alex-17/meshexec/releases/download/v0.1.0/meshexec-macos.tar.gz" + sha256 "af574cceb5b630f201fcf61afe8bbf740747aa6dd8ea7802ac4139389bf3c8b3" + else + url "https://github.com/Dark-Alex-17/meshexec/releases/download/v0.1.0/meshexec-linux-musl.tar.gz" + sha256 "4e3dbf267cc0a388e7f85089931582617c88dd9122d4b2844f3625ddede9bc2d" + end + version "0.1.0" + license "MIT" + + def install + bin.install "meshexec" + ohai "You're done! Run with \"meshexec serve\"" + ohai "For runtime flags, see \"meshexec --help\"" + end +end diff --git a/README.md b/README.md new file mode 100644 index 0000000..fbe48db --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# MeshExec - Remote command execution over Meshtastic mesh networks + +``` + __ __ _ _____ +| \/ | ___ ___| |__ | ____|_ _____ ___ +| |\/| |/ _ \/ __| '_ \| _| \ \/ / _ \/ __| +| | | | __/\__ \ | | | |___ > < __/ (__ +|_| |_|\___||___/_| |_|_____/_/\_\___|\___| + +``` + +MeshExec lets you execute commands on remote serially-connected [Meshtastic](https://meshtastic.org/) nodes by listening for messages in a +private channel. Define command aliases with arguments and flags in a YAML config, send a message like `!myip` over the +mesh, and get the output back — no internet required! + +**This repo holds Homebrew Tap and Formula for [MeshExec](https://github.com/Dark-Alex-17/meshexec)** + +# Install with + +``` +brew tap Dark-Alex-17/meshexec +brew install meshexec + +# If you need to be more specific, use: +brew install Dark-Alex-17/meshexec/meshexec +``` + + +Visit [https://github.com/Dark-Alex-17/meshexec](https://github.com/Dark-Alex-17/meshexec) for more details.