[Feature Request]: Enable Full Offline PWA Support (Cache-First) for Client.meshtastic.org
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript, wasm
Research direction
The work lives in the Service Worker configuration of the hosted web client in the meshtastic/web monorepo; locate where the PWA caching rules are defined and check how the build emits the app shell (HTML, JS, CSS, WASM). Read the two existing comments before starting, since the thread may already settle the caching scope. Done means core static assets are served cache-first with a graceful offline fallback, verified by loading the app with the network disabled after one prior visit.
Written by the indexing model from the issue text.
Description
Prerequisites
- I have searched existing issues to ensure this feature hasn't already been requested
- I have checked the documentation to verify this feature doesn't already exist
Problem Statement
The current hosted web client (client.meshtastic.org) does not function reliably in offline environments or networks with heavy censorship (e.g., regions with RKN blocks). When internet access is unavailable or unstable, the PWA often fails to load the app shell, rendering the client unusable.
This issue is critical for users of specific hardware like the Heltec V4 (ESP32-S3). The current firmware builds for this target exclude the native embedded Web Server, likely due to flash space constraints. Consequently, users cannot access the device locally via IP (http://meshtastic.local) and are forced to rely solely on the external hosted web client.
Current Outcome: If a Heltec V4 user has no internet access, they are completely locked out of managing their device from a PC (via USB/Serial), as the browser client refuses to load without a network connection.
Proposed Solution
Update the Service Worker configuration for the hosted web client to utilize a "Cache First" strategy for all core static assets (HTML, JS, CSS, WASM).
- Behavior: When a user visits
client.meshtastic.org, the browser should check the local cache first. If the assets exist, the app should load immediately without attempting a network request (or failing gracefully if the network is unreachable). - Updates: Updates can be handled in the background (Stale-While-Revalidate) or upon the next successful connection, but the immediate priority must be loading the UI from the cache to ensure accessibility.
Current Alternatives
No response
Importance
- Alignment with Project Goals: Meshtastic is an off-grid communication platform. Requiring an internet connection to launch the management interface contradicts the core philosophy of the project.
- Hardware Accessibility: It provides a necessary fallback for hardware targets (like Heltec V4) that have stripped out the embedded web server functionality.
- Resilience: It ensures that users in emergency situations or restrictive network environments can still configure and monitor their nodes using a desktop interface.
- Dominant language
- TypeScript
- Stars
- 861
- Forks
- 316
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meshtastic/web
-
i18n
Difficulty 1/5 Under an hour Newbie friendliness 82/100
meshtastic/web#1187 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
meshtastic/web#1532 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
meshtastic/web#1504 ·
Maintainers usually reply within 1 day
-
[Bug]: Serial connection to nRF52 device (T1000-E) never loads; port opened without DTR assertedOpen
Difficulty 3/5 Half a day Newbie friendliness 45/100
meshtastic/web#1499 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
meshtastic/web#1498 ·
Maintainers usually reply within 1 day
Similar issues
-
P3
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug L3 level 1 needs-review wocs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
SatyamPandey-07/WorkSphere#10739 · 1 comment ·
Maintainers usually reply within 1 day
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
assistant-ui/assistant-ui#10946 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openclaw/openclaw#206303 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day