A full-screen touch UI for OctoPrint
Layer1 is a full-screen touch interface for OctoPrint. It gives any printer the kind of built-in display you'd expect on a much newer machine. It was made for a 3.5" screen on the Raspberry Pi, and the layout grows to fill whatever it opens on: a 5" or 7" display, a tablet, or a phone turned sideways.
- Live camera with tap-to-fullscreen and a 3D G-code viewer
- Print progress with layer gauge, time remaining, and ETA
- Temperature control with quick presets (PLA, PETG, TPU, ABS) and a keypad
- Temperature graphs: a 10-minute sparkline on each heater; tap it for nozzle and bed over 5, 10 or 30 minutes, and drag to read any moment
- File browser with slicer thumbnails, folders, sort options, and grid/list view
- Jog controls for XY, Z (bed), and extruder with configurable steps
- Filament management: load, unload, and purge with Bowden-length support
- Tune while printing: speed modes, flow rate, and part fan
- Print history: every print that finished, failed, or was stopped, with totals and Print Again (earlier prints are imported from OctoPrint)
- Maintenance reminders: tasks like oiling the Z screw or checking belts, each due after so many hours of printing; a dot on More when one is due, and Mark Done to start its count again
- Lock screen: shows the print big from across the room; hold to unlock, with optional auto-lock after 1, 5, or 15 minutes
- Print finished card: a camera photo of the part, time taken vs. the estimate, filament used, bed cool-down, and Print Again
- Screen sleep: goes dark after 2–30 minutes without a touch; a tap wakes it, and so does a print finishing, failing, or pausing
- Network page: tap the Wi-Fi icon for Wi-Fi (name, signal bars) or Ethernet (link speed) details and the IP, plus QR codes that open OctoPrint and Layer1 on your phone
- Dark and light themes optimized for small SPI panels
- Fully offline: fonts, icons, and assets are all bundled
Raspberry Pi (OctoPi)
├── 3.5" SPI screen ← X11 (no desktop) ← Chromium kiosk
│ └── http://127.0.0.1/plugin/layer1/
├── OctoPrint + Layer1 plugin (serves the touch UI)
│ └── REST API + push socket, authenticated via app key
└── USB → Your 3D printer
The plugin only serves static files. Every printer action goes through OctoPrint's normal API, so permissions, safety checks, and your existing plugins all still apply.
Try it on your PC (no printer needed):
cd octoprint_layer1/static
python -m http.server 8765
# Open http://localhost:8765/index.html?demo=printingResize the window to see the layout adapt. At 480×320 you get exactly what the 3.5" screen shows.
Install on the Pi. Install the plugin from OctoPrint's Plugin Manager, then run the one command shown under Settings → Layer1. The full guide is at layer1.nodebench.com/docs.
octoprint_layer1/ The OctoPrint plugin; static/ is the touch UI itself, pi_setup/ the
Pi installer (screen driver, kiosk service, diagnostics)
pyproject.toml Plugin packaging (pip installs from the repo root)
tools/ deploy.ps1 (Windows → Pi over SSH), install-plugin.sh, build-icons.mjs, serve.py
docs/ Developer notes, screenshots
extras/layer1.md Draft listing for the OctoPrint Plugin Repository
marketing/ The website and user docs (layer1.nodebench.com)
-
UI:
http://<octopi>/plugin/layer1/ -
Config:
~/.octoprint/data/layer1/config.json, created on first load. The keys are listed in the settings docs. -
History:
~/.octoprint/data/layer1/history.jsonholds prints that ended. It is seeded once from OctoPrint's per-file print logs and served at/plugin/layer1/history. -
Maintenance:
~/.octoprint/data/layer1/maintenance.jsonholds when each task's count started. The hours come from the history; the state is served at/plugin/layer1/maintenance. -
Dev server:
python tools/serve.py [port](default 8080) servesoctoprint_layer1/static/without caching and with the custom 404 page. Openindex.html?demo. -
Icons:
node tools/build-icons.mjsregeneratesstatic/js/icons.jsfrom a pinned Lucide version. To add one, putourName: 'lucide-name'in that script'sICONSlist. -
Checks: every push and pull request is scanned with the rules of octoscanner, the static checks OctoPrint's plugin reviewers run (
.github/workflows/octoscanner.yml). To run the same scan locally, check out octoscanner at the commit pinned there, then:pip install semgrep semgrep scan --config /path/to/octoscanner/rules --error --metrics=off --no-rewrite-rule-ids .A finding that isn't a problem gets
# nosemgrep: RULE-IDon its line, with the reason.
Layer1 is licensed under the GNU Affero General Public License v3.0 or later, the same license as OctoPrint.
Geist fonts: SIL OFL 1.1 · Lucide icons: ISC




