Toolverse
All skills

trmnl

by openclaw

Generate content for TRMNL e-ink display devices using the TRMNL CSS framework. Use when the user wants to display information on their TRMNL device, send messages to an e-ink display, create dashboard content, show notifications, or update their terminal display. Supports rich

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Frontend

About this skill

Generate content for TRMNL e-ink display devices using the TRMNL CSS framework. Use when the user wants to display information on their TRMNL device, send messages to an e-ink display, create dashboard content, show notifications, or update their terminal display. Supports rich layouts with the TRMNL framework (flexbox, grid, tables, progress bars, typography utilities) and sends content via webhook API.

How to use

  1. Zainstaluj lub zaktualizuj CLI TRMNL, uruchamiając w terminalu npm install -g trmnl-cli@latest.

  2. Sprawdź dostępne pluginy poleceniem trmnl plugin. Jeśli lista jest pusta, dodaj plugin webhook za pomocą trmnl plugin add nazwa-pluginu "https://trmnl.com/api/custom_plugins/{uuid}", gdzie {uuid} to identyfikator twojego urządzenia.

  3. Opisz użytkownikowi, jaką treść chce wyświetlić na ekranie (dashboard, powiadomienie, dane, itp.) oraz potwierdź typ urządzenia (domyślnie TRMNL OG, 2-bit, 800x480).

  4. Wygeneruj HTML używając klas frameworku TRMNL (layout, item, value, title_bar, gap--space-between itp.) i zapisz zawartość do pliku tymczasowego, np. /tmp/trmnl-content.html.

  5. Wyślij treść na urządzenie poleceniem trmnl send --file /tmp/trmnl-content.html. Jeśli masz wiele pluginów, możesz wysłać do konkretnego z nich dodając --plugin nazwa-pluginu.

  6. Potwierdź użytkownikowi, że zawartość została wysłana na wyświetlacz, bez echowania kodu HTML z powrotem do czatu.

Related skills