Skip to content

feat(config): Quick Deploy QR export of public channel params#76

Merged
KMX415 merged 2 commits into
KMX415:mainfrom
iceice400:feat/config-qr-export
Jul 8, 2026
Merged

feat(config): Quick Deploy QR export of public channel params#76
KMX415 merged 2 commits into
KMX415:mainfrom
iceice400:feat/config-qr-export

Conversation

@iceice400

Copy link
Copy Markdown
Contributor

Summary

  • Add GET /api/config/export returning public channel params and a Meshtastic-compatible https://meshtastic.org/e/#… URL.
  • Configuration → Channels → Quick Deploy card: QR code, copy URL, download JSON.
  • Uses standard public default PSK only — private channel_keys never exported.

Why

Field operators need a fast way to align handheld Meshtastic radios with the Meshpoint's region/preset without editing YAML or leaking private PSKs.

Testing

  • python -m unittest tests.test_config_export -v (2 tests)
  • URL decodes to ChannelSet with public \\x01 PSK regardless of configured private keys

Impact

  • Read-only endpoint behind existing dashboard auth.
  • Zero behaviour change when feature unused.

Note: PR description and initial scaffolding assisted by Claude. All code reviewed and tested before submission.

iceice400 and others added 2 commits June 7, 2026 21:10
Use canonical CSS variables for colors and fonts; replace em dashes in
UI copy with colons; read QR canvas colors from :root tokens.

Co-authored-by: Cursor <cursoragent@cursor.com>
@KMX415 KMX415 merged commit 0817c7a into KMX415:main Jul 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants