bump version to 0.3 (#191)

* bump version to 0.3

* update readme
This commit is contained in:
l5y
2025-09-27 18:52:41 +02:00
committed by GitHub
parent ec1ea5cbba
commit 31f02010d3
5 changed files with 20 additions and 7 deletions

1
.gitignore vendored
View File

@@ -65,3 +65,4 @@ reports/
# AI planning and documentation # AI planning and documentation
ai_docs/ ai_docs/
*.log

View File

@@ -32,11 +32,12 @@ Edit `.env` file or run `./configure.sh` to set:
## Device Setup ## Device Setup
**Find your device:** **Find your device:**
```bash ```bash
# Linux # Linux
ls /dev/ttyACM* /dev/ttyUSB* ls /dev/ttyACM* /dev/ttyUSB*
# macOS # macOS
ls /dev/cu.usbserial-* ls /dev/cu.usbserial-*
# Windows # Windows
@@ -44,6 +45,7 @@ ls /dev/ttyS*
``` ```
**Set permissions (Linux/macOS):** **Set permissions (Linux/macOS):**
```bash ```bash
sudo chmod 666 /dev/ttyACM0 sudo chmod 666 /dev/ttyACM0
# Or add user to dialout group # Or add user to dialout group
@@ -72,6 +74,7 @@ docker-compose pull && docker-compose up -d
## Troubleshooting ## Troubleshooting
**Device access issues:** **Device access issues:**
```bash ```bash
# Check device exists and permissions # Check device exists and permissions
ls -la /dev/ttyACM0 ls -la /dev/ttyACM0
@@ -81,12 +84,14 @@ sudo chmod 666 /dev/ttyACM0
``` ```
**Port conflicts:** **Port conflicts:**
```bash ```bash
# Find what's using port 41447 # Find what's using port 41447
sudo lsof -i :41447 sudo lsof -i :41447
``` ```
**Container issues:** **Container issues:**
```bash ```bash
# Check logs # Check logs
docker-compose logs docker-compose logs
@@ -95,4 +100,4 @@ docker-compose logs
docker-compose restart docker-compose restart
``` ```
For more Docker help, see [Docker Compose documentation](https://docs.docker.com/compose/). For more Docker help, see [Docker Compose documentation](https://docs.docker.com/compose/).

View File

@@ -16,9 +16,9 @@ A simple Meshtastic-powered node dashboard for your local community. _No MQTT cl
Live demo for Berlin #MediumFast: [potatomesh.net](https://potatomesh.net) Live demo for Berlin #MediumFast: [potatomesh.net](https://potatomesh.net)
![screenshot of the second version](./scrot-0.2.png) ![screenshot of the third version](./scrot-0.3.png)
## 🐳 Quick Start with Docker ## Quick Start with Docker
```bash ```bash
./configure.sh # Configure your setup ./configure.sh # Configure your setup
@@ -27,8 +27,8 @@ docker-compose logs -f # View logs
``` ```
PotatoMesh uses host networking by default so it can run on restricted PotatoMesh uses host networking by default so it can run on restricted
systems where Docker cannot create bridged interfaces. The web UI listens on systems where Docker cannot create bridged interfaces. The web UI listens on
`http://127.0.0.1:41447` immediately without explicit port mappings. If you `http://127.0.0.1:41447` immediately without explicit port mappings. If you
are using Docker Desktop (macOS/Windows) or otherwise require bridged are using Docker Desktop (macOS/Windows) or otherwise require bridged
networking, enable the Compose profile with: networking, enable the Compose profile with:
@@ -88,8 +88,10 @@ SITE_NAME="Meshtastic Berlin" MAP_CENTER_LAT=52.502889 MAP_CENTER_LON=13.404194
The web app contains an API: The web app contains an API:
* GET `/api/nodes?limit=100` - returns the latest 100 nodes reported to the app * GET `/api/nodes?limit=100` - returns the latest 100 nodes reported to the app
* GET `/api/positions?limit=100` - returns the latest 100 position data
* GET `/api/messages?limit=100` - returns the latest 100 messages * GET `/api/messages?limit=100` - returns the latest 100 messages
* POST `/api/nodes` - upserts nodes provided as JSON object mapping node ids to node data (requires `Authorization: Bearer <API_TOKEN>`) * POST `/api/nodes` - upserts nodes provided as JSON object mapping node ids to node data (requires `Authorization: Bearer <API_TOKEN>`)
* POST `/api/messages` - appends positions provided as a JSON object or array (requires `Authorization: Bearer <API_TOKEN>`)
* POST `/api/messages` - appends messages provided as a JSON object or array (requires `Authorization: Bearer <API_TOKEN>`) * POST `/api/messages` - appends messages provided as a JSON object or array (requires `Authorization: Bearer <API_TOKEN>`)
The `API_TOKEN` environment variable must be set to a non-empty value and match the token supplied in the `Authorization` header for `POST` requests. The `API_TOKEN` environment variable must be set to a non-empty value and match the token supplied in the `Authorization` header for `POST` requests.
@@ -134,6 +136,11 @@ node records and parsing new incoming messages. Enable debug output with `DEBUG=
specify the serial port with `MESH_SERIAL` (default `/dev/ttyACM0`) or set it to an IP specify the serial port with `MESH_SERIAL` (default `/dev/ttyACM0`) or set it to an IP
address (for example `192.168.1.20:4403`) to use the Meshtastic TCP interface. address (for example `192.168.1.20:4403`) to use the Meshtastic TCP interface.
## Demos
* <https://potatomesh.net/>
* <https://vrs.kdd2105.ru/>
## License ## License
Apache v2.0, Contact <COM0@l5y.tech> Apache v2.0, Contact <COM0@l5y.tech>

BIN
scrot-0.3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 KiB

View File

@@ -40,7 +40,7 @@ MAX_JSON_BODY_BYTES = begin
rescue ArgumentError rescue ArgumentError
DEFAULT_MAX_JSON_BODY_BYTES DEFAULT_MAX_JSON_BODY_BYTES
end end
VERSION_FALLBACK = "v0.2.1" VERSION_FALLBACK = "v0.3.0"
def fetch_config_string(key, default) def fetch_config_string(key, default)
value = ENV[key] value = ENV[key]