screenshots

This commit is contained in:
Nils
2025-08-30 20:48:31 +02:00
parent b4c4f49345
commit c1117d1b0e
3 changed files with 20 additions and 6 deletions

View File

@@ -1,6 +1,10 @@
# 🤖 MeshCore Bot # 🤖 MeshCore Bot
This script is a command bot that connects to a MeshCore device and responds to commands received in private channels. This script is a command bot that connects to a [MeshCore](https://github.com/meshcore-dev/MeshCore) companion radio device via serial connection and responds to commands received in private channels.
| Client | Bot |
|--------|-----|
| ![Screenshot: Client](./img/screenshot-client.jpg) | ![Screenshot: Bot Log](./img/screenshot-bot.png) |
## Installation ## Installation
@@ -10,11 +14,17 @@ This script is a command bot that connects to a MeshCore device and responds to
brew install node brew install node
``` ```
1. **Clone**: Clone this repo. 1. **Clone**: Clone this repo:
1. **Dependencies**: Open a terminal in the directory of the `meshcore-bot.js` script and run:
```bash ```bash
npm ci git clone "https://github.com/Cyclenerd/meshcore-bot""
cd "meshcore-bot"
```
1. **Dependencies**: In the directory run:
```bash
npm ci --production
``` ```
## Usage ## Usage
@@ -30,10 +40,14 @@ node meshcore-bot.js [SERIAL_PORT]
### Example ### Example
```bash ```bash
node meshcore-bot.js /dev/tty.usbmodem12345 node meshcore-bot.js "/dev/ttyUSB0"
``` ```
### Commands ### Commands
- `.ping`: The bot will respond with "PONG! 🏓". - `.ping`: The bot will respond with "PONG! 🏓 (*hop count*)".
- `.date`: The bot will respond with the current date and time in ISO format. - `.date`: The bot will respond with the current date and time in ISO format.
## License
All files in this repository are under the [Apache License, Version 2.0](LICENSE) unless noted otherwise.

BIN
img/screenshot-bot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

BIN
img/screenshot-client.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB