Quote Scroll
On your display
A new quote each time it comes round, scrolling with the author underneath, from ZenQuotes, DummyJSON or your own server
- Topic
- Miscellaneous
- Includes
- Script
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
Shows a new quote every time the app comes round in the rotation. The quote scrolls past a few times with the author underneath. Free quotes from ZenQuotes.io or DummyJSON: no API key, no account, no icons to install. You can also point it at your own quote collection.
What you see
On two-row displays (TC002, 52x16):
- Top row: the quote, scrolling in from the right
- Bottom row: the author, centred (it bounces gently if the name is too long to fit)
On one-row displays (TC001 and other 32x8 clocks): the quote and author scroll together on one line.
The app stays on screen until the quote has gone past the number of times you choose (3 by default), then the rotation moves on. Next time round there's a new quote.
Setup
- Install the script. It works straight away with ZenQuotes.
- Optional: open Apps → Quote Scroll → ⚙ to choose where quotes come from (ZenQuotes, DummyJSON or Custom), how many times each quote scrolls past (1–10, default 3), the longest quote to show (default 160 characters), the scroll speed, and the quote and author colours.
Press the select button while the app is showing to skip to the next quote.
Your own quotes
Set "Quotes from" to Custom and enter a URL that returns one quote per request, either:
- JSON with the quote and author, named quote/author, q/a, text/author or content/author (a list with one quote in it works too)
- plain text, with the quote on the first line and the author on the second
Plain http:// addresses on your own network work, so a small server on a Raspberry Pi or in Home Assistant can feed it your own collection.
Good to know
- The next quote is fetched in the background while the current one is showing, so the screen never waits on the network.
- If the source can't be reached, the last quote stays up. A brand-new install starts with a few built-in public-domain quotes until the first one arrives.
- Curly quotes and long dashes are swapped for plain ones the pixel font can draw.
- ZenQuotes allows 5 requests every 30 seconds; this app asks at most once every 10 seconds.
- Needs internet access from the clock (HTTPS) for ZenQuotes and DummyJSON.
Inspirational quotes provided by ZenQuotes API (zenquotes.io).
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More scripts in Miscellaneous
Something wrong with this script? Report it.
Have an idea?
Sign in to ask questions and join the conversation.