This is the link: https://github.com/ImanuelBertrand/MMM-ChatGPT
The [ card ] syntax from the showcase guidelines doesn’t seem to work, or maybe I made a mistake.
Read the statement by Michael Teeuw here.
Latest posts made by Imanuel
-
RE: [MMM-ChatGPT] fetch text from the ChatGPT API and display it on the mirror
-
[MMM-ChatGPT] fetch text from the ChatGPT API and display it on the mirror
Description:
Fetch a response from ChatGPT using a configurable prompt at a configurable interval.
It can use text that is currently displayed on the mirror (from the DOM) as part of the prompts. For details on how to read the data from the DOM, please read the documentation on Github.Examples:
This is the weather: '{{see documentation}}' Describe the weather in your own words.
Or:
This is the current weather: '{{see documentation}}' This is the weather forecast: '{{see documentation}}' Describe the weather in the style of the Dude from the movie "The Big Lebowski".
Or simply:
Make a joke.
Font size and styling can be configured.
Screenshots
No screenshot as of now, but in visual terms, it’s just text.
Requirements
A paid OpenAI account is needed for an API key. You can set a budget threshold to avoid unexpected bills, but in general, the usage of the API is cheap enough to be essentially free for moderate mirror use (i.e. if you don’t set it to refresh every second).
Current price is something like $ 0.01 for 5000 words, according to OpenAI pricing details.Download:
[card:ImanuelBertrand/MMM-ChatGPT]
Version 0.0.1
Initial release