nodemcu-workbench provides a beginner-friendly TUI that combines firmware management, file synchronization, and interactive REPL access for NodeMCU, reducing reliance on multiple standalone shell tools. https://www.petermann-digital.de/tags/nodemcu/
Find a file
2025-12-27 00:45:22 +01:00
examples Added smartmeter 2025-12-27 00:45:22 +01:00
modes Add prompts to flash maintenance mode 2025-12-24 08:34:28 +01:00
old Moved examples to root 2025-12-25 10:23:00 +01:00
repl Improved terminal - added multiline prompt support 2025-12-24 08:09:51 +01:00
ui Fix Status bar width 2025-12-23 20:55:33 +01:00
.gitignore Initial import 2025-12-21 18:19:02 +01:00
go.mod Integrate serial console REPL handler in new UI 2025-12-23 20:41:32 +01:00
go.sum Integrate serial console REPL handler in new UI 2025-12-23 20:41:32 +01:00
LICENSE Initial commit 2025-12-21 17:15:20 +00:00
main.go Add prompts to flash maintenance mode 2025-12-24 08:34:28 +01:00
Makefile Import new UI 2025-12-23 01:59:13 +01:00
README.md Import new UI 2025-12-23 01:59:13 +01:00

nodemcu-workbench

Kid-friendly "Midnight Commander"-ish TUI to upload Lua files to NodeMCU via the REPL.

Keys

  • Tab switch pane (Local / NodeMCU)
  • ↑/↓ move selection
  • Enter open directory (Local pane)
  • Backspace go up (Local pane)
  • F2 refresh remote list
  • F5 upload selected local file to NodeMCU (overwrite)
  • F8 delete selected remote file
  • Ctrl+C cancel ongoing op / quit
  • q quit

Build & Run

go mod download
go build ./cmd/nodemcu-mc
./nodemcu-mc -port /dev/ttyUSB0 -baud 115200 -dir .

Notes:

  • This tool waits for the > prompt after each Lua line.
  • Upload uses file.open, file.write in small chunks, then file.close.

Future Ideas

  • Builtin terminal (like picocom)
  • Builtin Lua editor with syntax highlightning
  • Version control / history
  • making this the NodeMCU IDE I always was looking for...