8000 GitHub - frethop/TRMNL-thisday: A Python program to generate data for a TRMNL plugin.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

frethop/TRMNL-thisday

Repository files navigation

TRMNL On This Day

On This Day in History plugin for TRMNL

on-this-day-plugin>

Intro

This plugin displays the latest entries from the onthisday.com Web page. The Python code contained here needs to scrape the page and is used to generate plugin data.

Setup

  1. Start at usetrmnl.com/plugins
  2. Find "Private Plugin" and click.
  3. Click on "Add New".
  4. Give it a name, select the refresh rate (once a day is sufficient) and select "Webhook" for the strategy. Click "Save" at the top right.
  5. Note the Plugin UUID.
  6. Download the onthisdayinhistory.py code from this repo and change the line belo 53AB w to have the plugin UUID noted above.
PLUGIN_UUID = "<YOUR PLUGIN UUID>"
  1. Copy HTML from the ".html" files in this repo and paste the contents in for the four views.
  2. Run onthisdayinhistory.py and it should push data to the TRML plugin. Force a refresh to see if the data populates.

Set up the onthisdayinhistory.py Python program to run once a day to push new data to TRMNL.

About

A Python program to generate data for a TRMNL plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0