Group-chat bot that downloads videos from X/Instagram/YouTube/TikTok links via yt-dlp and posts them back, plus /speed and /rev video toys. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
591 B
Plaintext
21 lines
591 B
Plaintext
[Unit]
|
|
Description=Signal Twitter Video Bot
|
|
After=network.target docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=YOUR_USER
|
|
WorkingDirectory=/home/YOUR_USER/signal-bot
|
|
# The bot's own Signal number (the account it's linked to as a device).
|
|
Environment=SIGNAL_PHONE_NUMBER=+15551234567
|
|
Environment=SIGNAL_SERVICE=127.0.0.1:8080
|
|
# Optional: comma-separated numbers allowed to run /cookies (admin command).
|
|
# Environment=BOT_ADMINS=+15551234567
|
|
ExecStart=/home/YOUR_USER/signal-bot/venv/bin/python bot.py
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|