A Chrome extension that displays images from TRMNL's API in your new tab page with automatic refresh functionality.
- Displays TRMNL images in new tab pages
- Automatic image refresh
- Ability to select which device to display (if you have multiple devices)
- Clone this repository (
git clone [email protected]:usetrmnl/trmnl-chrome.git
) or download the source code - Open Chrome and navigate to
chrome://extensions
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extension directory
- 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
- Open a new tab to see the current TRMNL image
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
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.