A white TRMNL OG on a terracotta wall in window light, showing Private Plugin
Private Plugin TRMNL plugin

Private Plugin

Build your own

No. 1 most popular plugin 37,262 Connections

TRMNL OG, showing Private Plugin7.5" ePaper · Real screen, 800 × 480

Overview

About Private Plugin

Build your own screen for a TRMNL ePaper display. Write it in HTML with Liquid templates and the TRMNL design framework, then decide how data gets there: TRMNL polls a URL that returns JSON, XML or plain text, your own code sends data to a webhook, you enter static JSON, or you reuse data from your other TRMNL plugins.

Polling handles GET or POST, custom headers, a request body, and OAuth for services that need you to sign in. Add your own form fields so other people can configure your plugin without touching code, transform the data with a script in Node, PHP, Python or Ruby, and when it's done, share it as a recipe.

Settings

Customizable options

44 options

OptionWhat it doesChoices

Strategy

How will data be shared with our server?

NonePlugin MergePollingStaticWebhookAsync Polling

Polling URL(s)

From where should TRMNL fetch data? (JSON, XML, plaintext)

Example: https://myapp.ai/dashboard?api_key=xxx

Polling Verb

How should our API request data?

GETPOST

Polling Headers

What HTTP headers should be included?

Example: Authorization: Bearer {{ oauth_access_token }}

Polling Body

What body payload should be included?

Example: {"sortBy":"date"}

Static Data

Input valid JSON data

Example: {"upcoming_holidays":[{"date":"2025-02-14","name":"Holiday to Taj Mahal, India"},{"date":"2025-06-11","name":"Visiting Japan"},{"date":"2025-12-20","name":"Northern Lights Norway!"}]}

Form Fields

Learn how to build form fields here, or click here to verify syntax inline.

Example: - keyname: lookback_period field_type: select options: - '1' - '7' - '14' - '30' name: Lookback Period description: Time span of displayed data help_text: In days

Allow self-signed certificate

Fetch from this server even when TRMNL cannot verify its HTTPS certificate, for example a home server with a self-signed certificate.

Enable OAuth Authentication?

Connect to third-party services requiring OAuth2

OAuth Redirect URL

Add this URL to your OAuth app's "Redirect URIs" or "Callback URLs"

OAuth Settings

Configure your OAuth provider credentials and settings

Use a TRMNL OAuth app

Borrow TRMNL's OAuth app instead of registering your own

Google Calendar

OAuth Provider

Select a pre-configured provider to auto-fill OAuth settings, or configure manually

OAuth Client ID

From your OAuth provider app settings

Example: your-client-id

OAuth Client Secret

Keep this secret!

Example: your-client-secret

Share OAuth credentials with recipe installers?

When enabled, users who install your recipe can use your OAuth app (hidden from them)

Authorization URL

OAuth2 authorization endpoint

Example: https://accounts.provider.com/oauth2/authorize

Token URL

OAuth2 token endpoint

Example: https://accounts.provider.com/oauth2/token

OAuth Scopes

List of scopes

Example: read user:email

Enable PKCE?

Use Proof Key for Code Exchange (required by some providers like Twitter/X)

YesNo

Custom Auth Params

Extra parameters for the authorization URL

Example: {"token_access_type": "offline"}

Custom Token Headers

Extra headers for the token request

Example: {"Notion-Version": "2022-06-28"}

Token Endpoint Base URL

Only needed if token endpoint is on a different domain than authorization

Example: https://swd.weatherflow.com

Custom Token Params

Extra body parameters for the token request

Example: {"type": "web_server"}

Scope Separator

Character used to join multiple scopes

Space (default)Comma

Token Auth Method

How to send client credentials during token exchange

bodyheader

Token Body Format

Content type for token request body

formjson

Refresh Token URL

Different endpoint for token refresh (optional)

Example: https://api.example.com/oauth/refresh

Token Response Metadata

Extra fields to extract from the token response

Example: ["workspace_id", "owner"]

Authorization Method

How to send client credentials to the authorization endpoint

bodyheader

Refresh Token Params

Extra parameters for token refresh requests

Example: {"grant_type": "refresh_token"}

Token Field Name

Field name in the OAuth response containing the access token

Example: access_token

Expiry Field Name

Field name in the OAuth response containing the expiration

Example: expires_in

Expiry Strategy

How to interpret the expiration value

expireInexpiresAt

Fixed Expiry (ms)

Fixed token expiry in milliseconds (when not provided in response)

Example: 3600000

Fastest refresh rate

The fastest "Max refresh rate" anyone may pick for this plugin, including everyone who installs it as a recipe. Leave blank to allow every rate.

Remove bleed margin?

Defaults no. If "yes" is selected, padding around your markup will be removed.

YesNo

Enable Dark Mode?

Inverts black/white pixels. Will modify entire screen. Add class "image" to img tags as needed.

YesNo

Serverless Language

Run your transform script in the serverless runtime with the selected language.

NoneNodePHPPythonRubyPrompt (AI)

Webhook URL

Paste this URL into your webhook integration

Share pushed data with installs?

(Webhook recipes only) If "yes", everyone who installs this recipe sees the data you push to this plugin. Leave "no" when each installer pushes their own data.

YesNo

Framework CSS version

Choose a specific Framework version for stability. Upgrade at your own pace for the latest improvements. Learn more

Map tiles URL

(Maps only) Where TRMNLMaps fetches vector tiles for maps in this plugin. A {z}/{x}/{y} template; {key} is replaced by the key below. Leave blank for the free public tiles.

Example: https://tiles.example.com/{z}/{x}/{y}.mvt?key={key}

Map tiles key

(Maps only) The key your tile provider issued, stored encrypted. Fills {key} in the URL above.

Get started

Connect your favorite apps

Our growing library supports work and personal needs, from your daily calendar to upcoming movies. New tools are added weekly.