afterware
Resources
Saved
1/2
Interface · mod

Clientre 5 turns the M5Stack Tab5 into a pocket SSH box

Original

A custom ESP-IDF firmware gives the ESP32-P4 Tab5 a real SSH client, Japanese kana-kanji input and Tailscale access, all in a 1280 by 720 handheld.

Build sheet
Device page
M5Stack Tab5 →
Device
M5Stack Tab5
SoC
ESP32-P4 + ESP32-C6 WiFi
Framework
ESP-IDF v5.5, LVGL
Language
C
Can I build this?Intermediate · AI 4/5 · $50–100
Difficulty
Intermediate
AI-buildability
4/5

The firmware is a large ESP-IDF software project on an off-the-shelf Tab5 that AI tools can mostly write, but the optional custom keyboard and battery case need printing and some assembly.

Time
A few weeks
Cost
$50–100
Tools
soldering iron3D printercomputer with ESP-IDF v5.5
Starter prompt

Based on "Clientre 5 turns the M5Stack Tab5 into a pocket SSH box" on Afterware: https://afterware.xyz/p/clientre-5-a-pocket-ssh-terminal-on-tab5

I have an M5Stack Tab5 with an ESP32-P4 and want to build an ESP-IDF v5.5 project with LVGL that acts as a simple SSH terminal. Start with the display and touch setup, then add a text terminal view with keyboard input, and a settings screen for host name and credentials stored in flash. Explain how to build and flash it with idf.py.

Estimates based on the original write-up. How AI-buildability is scored. Building with an AI assistant? Connect it to Afterware (free MCP server).

Story

Clientre 5 replaces the stock software on the M5Stack Tab5, a 1280 by 720 touchscreen handheld built around the ESP32-P4, with a full SSH terminal. It speaks VT100 and xterm-256color, keeps scrollback, renders full-width CJK characters, and handles password, public key and keyboard-interactive logins. The interface is drawn with LVGL on ESP-IDF, written in C.

It's built keyboard-first: the Tab5's physical keyboard or a USB one, with an on-screen keyboard as fallback. Japanese input runs through romaji-to-kana conversion and SKK dictionary lookup. Tailscale comes from the bundled MicroLink client. Around the terminal sit a file manager, image, text and audio viewers, a web file interface over WiFi, and a USB disk mode.

Mozgi512 also lists a custom JIS-layout keyboard and a modified battery case as CAD files under CC BY 4.0. Display, touch, keyboard, WiFi, SSH, Japanese input and USB disk mode have been tested on real hardware. Music playback and OTA install aren't fully verified yet.

Resources · 4
More like this
More like this