Add hourly news briefing system with continuous marquee scroll
- Fetches 12 articles hourly from FreshRSS - Generates 4-6 sentence summaries using Ollama - Creates sequential sethpc.xyz short links (pi0, pi1, etc.) via yourls - Continuous vertical marquee scrolling at reading speed - No wait between rescrolls - immediately loops to next pass - New briefing generated every hour at :00 - Systemd service and timer for auto-start and hourly scheduling
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=piNail Hourly News Briefing Display
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/home/pi/piNail2
|
||||
ExecStart=/usr/bin/python3 /home/pi/piNail2/tty_briefing.py
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=tty
|
||||
StandardError=file:/tmp/briefing.log
|
||||
TTYPath=/dev/tty1
|
||||
SyslogIdentifier=pinail-briefing
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user