A Python application that delivers interesting facts about rotating topics using the Perplexity AI API
.env
file in the same directory as the scriptPERPLEXITY_API_KEY=your_api_key_here
topics.txt
file (one topic per line) or modify the topics
list directly in the script.
Example topics:
C:\path\to\python.exe
C:\path\to\daily_knowledge_bot.py
.env
file:
PERPLEXITY_API_KEY
(required): Your Perplexity API keyOUTPUT_DIR
(optional): Directory to save fact files (default: current directory)TOPICS_FILE
(optional): Path to your custom topics file