Repolode
meshcore-dev

meshcore-dev/MeshCore

A lightweight C++ library and firmware for multi-hop packet routing over LoRa radios, enabling off-grid mesh networks without internet.

Open-source alternative to:Meshtastic

Stars
4,005
Forks
1,553
Open issues
913
Last commit
3 days ago

What is it?

MeshCore is a portable C++ library for embedded projects that need multi-hop packet routing over LoRa and other packet radios. Devices (nodes) relay messages through intermediate nodes, so communication can extend beyond the range of a single radio without any central server or internet connection.

The project ships example applications for companion radios that connect to chat apps over BLE, USB or Wi-Fi, repeaters, room servers acting as shared BBS posting boards, secure terminal chat, and remote sensor nodes with telemetry and alerting. Nodes have fixed roles, and companion nodes do not repeat messages. Prebuilt firmware can be flashed to supported devices through a web flasher, and the project is set up for PlatformIO development in VS Code.

MeshCore is positioned between Meshtastic, which targets casual LoRa chat, and Reticulum, which offers more advanced networking, focusing on simple, scalable routing for custom embedded solutions.

Key features

  • 01Multi-hop packet routing with a configurable hop limit.
  • 02Supports Heltec, RAK Wireless and other LoRa-based hardware.
  • 03Decentralized operation with no central server or internet required.
  • 04Low power consumption suited to battery or solar-powered devices.
  • 05Prebuilt firmware flashable via a web flasher, plus PlatformIO example apps.
  • 06Connects to companion apps over BLE, USB or Wi-Fi.

Use cases

  • Off-grid communication in remote areas, hiking or camping.
  • Emergency response and disaster recovery when infrastructure is down.
  • Remote sensor networks that relay telemetry back to a central point.
  • Custom embedded communication solutions built on LoRa radios.

Quick start

  1. 1

    Install PlatformIO in Visual Studio Code

  2. 2

    Clone and open the MeshCore repository in Visual Studio Code

  3. 3

    Run the unit tests

    pio test --environment native --verbose

Things to know

  • Designed for the specific LoRa devices listed in the MeshCore Flasher, so other hardware may not be supported.
  • Some planned features such as multi-sub-mesh support and the V2 protocol spec are still unfinished.

In collections

Topics

FAQ

What is MeshCore?
A lightweight C++ library and firmware for multi-hop packet routing over LoRa radios, enabling off-grid mesh networks without internet. MeshCore is a portable C++ library for embedded projects that need multi-hop packet routing over LoRa and other packet radios. Devices (nodes) relay messages through intermediate nodes, so communication can extend beyond the range of a single radio without any central server or internet connection.
Is MeshCore free to use? What license does it have?
MeshCore is open source under the MIT license. Check the license terms before using it in commercial products.
Is MeshCore still maintained?
Actively maintained. The last commit to MeshCore was on Nov 4, 2026.
What can I use MeshCore for?
Off-grid communication in remote areas, hiking or camping. Emergency response and disaster recovery when infrastructure is down. Remote sensor networks that relay telemetry back to a central point. Custom embedded communication solutions built on LoRa radios.
How do I install MeshCore?
Install PlatformIO in Visual Studio Code Clone and open the MeshCore repository in Visual Studio Code Run the unit tests: pio test --environment native --verbose
Where can I get MeshCore?
The source code and installation instructions are on GitHub: https://github.com/meshcore-dev/MeshCore

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects

Sideband is an LXMF messaging and LXST voice client for Android, Linux, macOS and Windows that runs over Reticulum networks such as LoRa, packet radio, WiFi and I2P.

Productivity & Apps#reticulum#lxmf#mesh-networking
1.9K+10 this week168PythonOtherUpdated last month