Skip to content

Cardputer Zero on-screen bridge app

Latest

Choose a tag to compare

@jackspence7 jackspence7 released this 28 Nov 20:58

On-screen toggle for the CivSwitch air-gap bridge, packaged as a native M5Stack Cardputer Zero app. The Cardputer is a pocket Raspberry Pi OS (Debian) box with a built-in Ethernet port, so it runs the existing Linux bridge unchanged; this app flips the bridge on/off from the 1.9" screen + keyboard.

What's new

  • m5cardputerzero-civswitch-bridge_1.0.0_arm64.deb — the installable app (sudo dpkg -i, or publish to the Cardputer AppStore).
  • cardputer-app/ source — bridge_app.py (Pillow → /dev/fb0), bridge-ctl (passwordless-sudo toggle helper), install.sh, and .deb packaging.
  • linux-bridge/switch-put + send-to-switch.sh — push files to the Switch SD over FTP and auto-clean the intermediate copy.

Usage

sudo dpkg -i m5cardputerzero-civswitch-bridge_1.0.0_arm64.deb
# open "CivSwitch Bridge" in the launcher — any key toggles, Esc exits

The air-gap is unchanged

net.ipv4.ip_forward = 0 — the Switch can never reach the internet whether the bridge is on or off.

Checksums

SHA-256 (zip):  9f38a395e09455b0f65f83e30e21302a25747ee90683407bac7ec528020463b2
SHA-256 (deb):  97b7df0eba45ad0a900e3b5a586761a8e4bba5a66bd2cae602c0cf48f2bd4024