This is a Ruby script to download videos from Twitter and upload them to Nextcloud.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This Ruby script will allow you to download videos from Twitter and upload them to a Nextcloud instance.
Videos are uploaded from the video_path to nextcloud.
Entries are written to an sqlite database to keep track of which videos have been handled to avoid duplicates.
Push notification is sent via Pushover to alert about the upload when done.
This script can be batched/scheduled to check and handle your videos regularly. =D
These Ruby gems: yaml, json, sqlite3, net/http
yt-dlp installed on your machine
A Nextcloud account and API access.
A Pushover account and API access.
An example config.yml has been provided.
Please change the information to match your accounts.