Check whether today is a holiday or a workday, and generate a complete sentence containing status identification, encouraging words, and a motivational quote.
How to Use
Tell your AI assistant:
Give me today's encouragement What day is it today?
Steps
- Call the holiday API to determine today's status
- Choose the encouragement direction based on the result:
- Holiday/weekend → encourage having fun 🎉
- Workday → encourage working hard 💪
- Add a motivational quote
- OutputOne complete sentence
Holiday Query API
Free API, no key required:
curl -s "https://timor.tech/api/holiday/info/"
Append today's date to the end of the path, e.g. https://timor.tech/api/holiday/info/2026-06-04。
API Return Structure
{
"code": 0,
"type": {
"type": 0,
"name": "周四",
"week": 4
},
"holiday": null
}
Description of type.type values
| Value | Meaning | Encouragement Direction |
|---|---|---|
| 0 | Workday (work) | 💪 Work hard |
| 1 | Statutory holiday (day off) | 🎉 Have fun |
| 2 | Make-up workday | 💪 Work hard |
| 3 | Weekend | 🎉 Have fun |
holiday field
When holiday is not null , it contains information such as the holiday name, and the holiday name should be mentioned when generating the sentence.
Example Output
Workday example:
Today is Thursday. Although it's an ordinary workday, you who work seriously are especially cool 💪 The best time to plant a tree was ten years ago; the second best time is now. — Keep it up!
Holiday example:
Today is the Dragon Boat Festival, it's a holiday! Enjoy your vacation 🎉 Life is not just about the immediate struggles, but also poetry and distant places. — Go explore!
Notes
- Output onlyone sentence, do not divide into paragraphs
- Do not use meaningless filler words like "haha"
- Output style: natural, sincere, powerful