Files
meshcore-bot/docs/getting-started.md
agessaman d15c58994e chore: Remove outdated documentation files and update references
- Deleted COMMANDS.md, DOCKER.md, WEB_VIEWER.md, and other related documentation files to streamline the project structure.
- Updated README.md and other documentation references to point to the new locations of the command and Docker instructions.
- Added optional dependencies for documentation generation in pyproject.toml.
2026-02-07 20:10:09 -08:00

2.1 KiB

Getting Started

Get meshcore-bot running on your machine in a few minutes.

Requirements

  • Python 3.7+
  • MeshCore-compatible device (Heltec V3, RAK Wireless, etc.)
  • Connection: USB cable, BLE, or TCP/IP to the device

Quick start (development)

  1. Clone and install

    git clone https://github.com/agessaman/meshcore-bot.git
    cd meshcore-bot
    pip install -r requirements.txt
    
  2. Configure

    Copy an example config and edit with your connection and bot settings:

    • Full config (all commands and options):
      cp config.ini.example config.ini
      
    • Minimal config (core commands only: ping, test, path, prefix, multitest):
      cp config.ini.minimal-example config.ini
      

    Edit config.ini: set at least [Connection] (serial/BLE/TCP) and [Bot] (e.g. bot_name).

  3. Run

    python3 meshcore_bot.py
    

Production deployment

Systemd service

Run the bot as a system service on Linux:

sudo ./install-service.sh
sudo nano /opt/meshcore-bot/config.ini   # configure
sudo systemctl start meshcore-bot
sudo systemctl status meshcore-bot

See SERVICE-INSTALLATION.md for full steps.

Docker

Run in a container with Docker Compose:

mkdir -p data/{config,databases,logs,backups}
cp config.ini.example data/config/config.ini
# Edit data/config/config.ini and set paths to /data/... (see [Docker](DOCKER.md))
docker compose up -d --build

See Docker deployment for paths, serial access, and troubleshooting.

NixOS

Use the flake:

meshcore-bot.url = "github:agessaman/meshcore-bot/";

Next steps

  • Command Reference — Full command reference (wx, aqi, sun, path, prefix, etc.)
  • README — Features, keywords, configuration overview
  • Guides (sidebar) — Path command, repeater commands, feeds, weather service, Discord bridge, map uploader, packet capture