|
|
2 years ago | |
|---|---|---|
| .github | 2 years ago | |
| .vscode | 2 years ago | |
| public | 4 years ago | |
| src | 2 years ago | |
| .gitignore | 4 years ago | |
| .npmrc | 3 years ago | |
| Containerfile | 3 years ago | |
| LICENSE | 5 years ago | |
| README.md | 2 years ago | |
| biome.json | 2 years ago | |
| index.html | 4 years ago | |
| package.json | 2 years ago | |
| pnpm-lock.yaml | 2 years ago | |
| postcss.config.cjs | 2 years ago | |
| tailwind.config.cjs | 3 years ago | |
| tsconfig.json | 3 years ago | |
| vercel.json | 2 years ago | |
| vite.config.ts | 2 years ago | |
README.md
Meshtastic Web
Overview
Official Meshtastic web interface, that can be hosted or served from a node
Stats
Self-host
The client can be self hosted using the precompiled container images with an OCI compatible runtime such as Docker or Podman. The base image used is UBI9 Nginx 1.22
# With Docker
docker run -d -p 8080:8080 -p 8443:8443 --restart always --name Meshtastic-Web ghcr.io/meshtastic/web
#With Podman
podman run -d -p 8080:8080 -p 8443:8443 --restart always --name Meshtastic-Web ghcr.io/meshtastic/web
Development & Building
Building and Packaging
Build the project:
pnpm build
GZip the output:
pnpm package
Development
Install the dependencies.
pnpm i
Start the development server:
pnpm dev
Updating Protobufs
To update to the latest protobufs go to https://buf.build/meshtastic/protobufs/sdks and select plugin version 1.10.
The version should look something like this: 1.10.0-20240906232734-3da561588c55.1
Where the version is always 1.10.0 followed by a timestamp and a commit hash. Updating to an SDK version higher than 1.10.0 has breaking changes.
Use that version to updated your package.json file.
Ensure to keep the meshtastic/js protobufs in step with web