Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frethop/TRMNL-thisday
A Python program to generate data for a TRMNL plugin.
https://github.com/frethop/TRMNL-thisday
Last synced: 8 days ago
JSON representation
A Python program to generate data for a TRMNL plugin.
- Host: GitHub
- URL: https://github.com/frethop/TRMNL-thisday
- Owner: frethop
- Created: 2024-11-19T17:30:27.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T18:49:36.000Z (about 2 months ago)
- Last Synced: 2024-11-27T19:48:15.351Z (about 2 months ago)
- Language: HTML
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-trmnl - This day - On This Day in history by frethop (🔌 Plugins)
- awesome-trmnl - This day - On This Day in history by frethop (🔌 Plugins)
README
# TRMNL On This Day
On This Day in History plugin for TRMNL
![on-this-day-plugin](https://github.com/frethop/TRMNL-thisday/blob/main/onthisday.png)>
## 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
0. Start at usetrmnl.com/plugins
1. Find "Private Plugin" and click.
2. Click on "Add New".
3. 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.
4. Note the Plugin UUID.
5. Download the ``onthisdayinhistory.py`` code from this repo and change the line below to have the plugin UUID noted above.
```
PLUGIN_UUID = ""
```
4. Copy HTML from the ".html" files in this repo and paste the contents in for the four views.
5. 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.