fd56ed4049c721667310d1fe75258c60ad9084fb
Implement API endpoints for retrieving and saving file content, allowing users to edit supported file types directly from the dashboard. Introduce a modal editor interface with syntax highlighting for various file formats. Update the HTML template to include the editor overlay and associated JavaScript for handling file operations, enhancing user experience and interactivity in managing portal files.
reTerminal DM4
Project for reTerminal DM4 (Seeed) with CM4: Chromium kiosk, eMMC provisioning (USB + network boot), and first-boot configuration via cloud-init.
Repository structure
| Path | Purpose |
|---|---|
| emmc-provisioning/ | Main workflow: eMMC deploy/backup, cloud-init first-boot, Chromium kiosk assets, file server, dashboard, network boot. See emmc-provisioning/README.md. |
| archive/ | Legacy or unused files (guides, old scripts). Not used for deployment. See archive/README.md. |
Quick start
- Read emmc-provisioning/docs/EMMC-PROVISIONING-GUIDE.md for full setup.
- Use emmc-provisioning/scripts/sync-portal-files-to-lxc.sh to sync first-boot assets (including kiosk) to the file server.
- Provision devices via USB boot or network boot; first-boot configures kiosk, labwc, rotation, wallpaper, dark theme, and optional CM4 boot order.
Description
Languages
Python
53.2%
Shell
20.4%
HTML
14.8%
JavaScript
6.4%
CSS
5%
Other
0.2%