mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
af958ff295fe3df4b55b390ccf593542958b9f32
Meshstream
A Go application that monitors the Meshtastic MQTT server and logs packets to the terminal.
Setup
- Clone this repository
- Install dependencies:
go mod tidy
Running
go run main.go
Decoding Meshtastic Packets
This project includes the Meshtastic protocol buffer definitions in the proto/ directory. To decode the packets:
-
Install protoc (Protocol Buffer Compiler):
- Visit https://github.com/protocolbuffers/protobuf/releases and download the appropriate version
- Install the Go protobuf plugin:
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
-
Generate Go code from protocol buffer definitions:
protoc --go_out=. --go_opt=paths=source_relative proto/meshtastic/*.proto proto/nanopb.proto -
Implement packet decoding in the application
Note: The current version only logs raw packets to the terminal. Future updates will include full packet decoding functionality.
MQTT Configuration
- Broker: mqtt.bayme.sh
- Username: meshdev
- Password: large4cats
- Topic prefix: msh/US/CA/Motherlode
Languages
TypeScript
69.5%
Go
24.5%
HTML
1.8%
Makefile
1%
Dockerfile
1%
Other
2.2%