mirror of
https://github.com/recrof/map.meshcore.io-uploader.git
synced 2026-07-05 01:11:17 +02:00
27 lines
934 B
Markdown
27 lines
934 B
Markdown
# MeshCore map auto uploader
|
|
|
|
## Description
|
|
This bot will upload every repeater or room server to the map when companion hears new advert
|
|
|
|
## Requirements
|
|
You will need Meshcore device with Companion USB firmware connected to the computer with internet connection
|
|
|
|
## Installation
|
|
1. [Install Node.js 22 or higher](https://nodejs.org/en/download/)(most recent LTS recommended)
|
|
2. Clone this repo & install dependencies via npm
|
|
```sh
|
|
git clone https://github.com/recrof/map.meshcore.dev-uploader
|
|
cd map.meshcore.dev-uploader
|
|
npm install .
|
|
```
|
|
### Usage
|
|
1. Connect working MeshCore companion usb into the computer
|
|
2. run `node index.mjs [usb_port]`
|
|
|
|
## Running with Docker
|
|
After cloning the repo, build and run the docker image with
|
|
```sh
|
|
docker-compose build
|
|
docker-compose up
|
|
```
|
|
You will be able to inspect the logs. Once everything is working correctly, run the container with ``docker-compose up -d`` to run it in the background. |