Plugins, Framework and Recipes
Build plugins with HTML and Liquid or describe it to the optional built-in agent. Then style it with Framework and publish for others.
Three ways to build a plugin
A private plugin is a screen you build for your own TRMNL. All three ways make the same kind of plugin, on the same design framework.
Keep a plugin to yourself or publish it for everyone. Our servers fetch its data for you, or the Alias plugin has the device load an image straight from your own server.
-
By hand
Write it in HTML and Liquid
- The markup editor previews your screen as you type, colors your Liquid and warns about mistakes.
- Work on your own computer with trmnlp and the TRMNL CLI, and keep the code in GitHub with GitHub Sync.
- Serverless plugins run your code on TRMNL, with no server of your own.
- Plugin logs show when a fetch or a render fails, and why.
-
Visually
Lay it out on a canvas
- The Visual Editor lays out a screen on a canvas, without writing HTML.
- Lay out each size of the screen, from the full screen to a quadrant.
- It opens from the markup editor, so the code is one click away.
-
By describing it
Tell the agent what you want
- The built-in agent drafts the plugin from plain words, in the plugin editor.
- It is optional, and you can change what it makes by hand or on the canvas.
- It runs on credits. Some are free when you sign up and each month with TRMNL+, and you can buy more.
- Or use your own OpenRouter or Anthropic key, and no credits.
This is what the first way looks like: HTML with Liquid tags, filled with your data each time the screen is drawn.
{% if events.size > 0 %}
{% for event in events %}
<div class="item">
<div class="content">
<span class="title title--small">{{ event.title }}</span>
<span class="description">{{ event.description }}</span>
<span class="label">{{ event.start_time }}</span>
</div>
</div>
{% endfor %}
{% else %}
<span class="title title--small">No events scheduled.</span>
{% endif %}
TRMNL is not an AI product. The agent is optional, and building by hand is welcome.
Components made for ePaper
Layouts, type, tables, charts and more, made for TRMNL's ePaper screen. Use them and skip the work of fitting content to the display.
Format value
Formats numbers and values in one style.
View detailsFit value
Resizes a value to fit the space it has.
View detailsOverflow
Handles content that runs long, on a screen that cannot scroll.
View detailsChart
Charts drawn for an ePaper screen.
View detailsBackground
Gray fills and patterns for an ePaper screen.
View detailsImage
Dithers images so they read well on an ePaper screen.
View detailsMashup
Combines several components into one layout.
View detailsAnd 15+ more
The framework docs cover every component.
All componentsStart from a recipe
A recipe is a plugin someone shared. Open one to install it or fork it. The first, Place of the Day, is a built-in plugin, not a recipe.
Authors see how their recipes are used in Analytics, and search insights show what people search for and do not find.
- Install
- Stays in sync when its author updates it.
- Fork
- Your own copy, yours to change.
-
Place of the Day
A place on a map each day, with its key facts and a line from Wikipedia.
View plugin -
Weather Curve
Today's weather and a seven-day curve of highs, lows and rain.
View recipe -
London Underground
Live status and delays for London's tube and transport lines.
View recipe -
Is this weather normal?
Today's high against the same day in every year since 1940.
View recipe -
Flyover: ISS live location
Where the ISS is right now, over the Earth by day and night, with its speed.
View recipe -
Ridgelines: Daily Mountain Art
A mountain range drawn in ridgelines, with the name of its highest peak.
View recipe -
Encyclopédie
A plate from the 1768 Encyclopédie, with a few lines on the craft it shows.
View recipe -
Shan Shui Landscape
A new Chinese landscape of mountains and rivers, drawn by code.
View recipe
Connect your own AI tools
TRMNL runs an MCP server, so an AI agent you already use can work on your TRMNL account: its devices, playlists and plugins.
- Access
- Sign in with your TRMNL account to decide what the agent may do and which devices and plugins it can reach. You can change or take back that access at any time under Account.
- Agents
- Claude, ChatGPT, Cursor and other agents that speak MCP. Some require a paid plan with developer mode.
- What it can do
- Read and change devices, playlists, plugins and their markup, render screenshots and push data, within the access you grant.
- Agent skills
- Our agent skills teach coding agents to build TRMNL plugins with the design framework.
- Files for agents
- llms-full.txt holds all of the framework's docs in one file. auth.md tells an agent how to sign in.
- Your own app
- Building an app for TRMNL users? Connect with TRMNL gives it a sign-in and API keys that reach only what it needs.
Ready to build?
Our Developer Docs have tutorials, sample code and best practices.
All developer resources