mirror of
https://github.com/usetrmnl/trmnl-chrome.git
synced 2026-04-29 13:34:18 -07:00
main
TRMNL Chrome Extension
A Chrome extension that displays images from TRMNL's API in your new tab page with automatic refresh functionality. Note: requires a TRMNL account with a physical device or BYOD license.
Install from the official Chrome Web Store here: https://chromewebstore.google.com/detail/trmnl-new-tab-display/mffecibmnhdkkmamehgdahldpeoiamfo?utm_source=item-share-cb
Features
- Displays TRMNL images in new tab pages
- Automatic image refresh
- Ability to select which device to display (if you have multiple devices)
Installation
- Clone this repository (
git clone git@github.com:usetrmnl/trmnl-chrome.git) - Open Chrome and navigate to
chrome://extensions - Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extension directory
Setup
- You will be prompted to login to your TRMNL account (if you haven't already)
- Open a new tab and the current screen on your device will be displayed
Usage
- Open a new tab to see the current TRMNL image
Development
The extension is built with:
- Vanilla JavaScript
- Chrome Extension APIs
- HTML/CSS
- TRMNL API integration
Key files:
manifest.json- Extension configurationnewtab.js/.html- New tab page implementationpopup.js/.html- Settings popup implementationbackground.js- Background service worker for core functionalitydashboard-content.js- Content script that runs on the dashboard pagedevtools.js- DevTools panel integrationpanel.js/.html- DevTools panel implementationstyles.css- Styling for new tab and popup
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Description
Languages
JavaScript
95.8%
HTML
3%
CSS
1.2%