default in the configuration now with peertube instead of odysee
update readme and one line in the ignore words
add comments for clarity on algorithm
== goTootRamdonVideo ==
this is a bot that will use gopass or pass for your credentials or any other CLI password manager or keystore then it will log into mastodon, and pull the latest feed item from odysee, peertube or any other place but is meant for videos. after this it will ramdonly pick one feed item, format it into a mastodon toot, and post(toot) it using the account credentials you supplied.
go into mastodon in your account settings and create a new app under development get the:
you will need the user/pass for the account the bot will post the videos also the servername of the mastodon instance and the feed URL for odysee or peertube
save your mastodon client secrect and login password in gopass or pass
pass insert gotootramdonvideo/clientsecret
pass insert gotootramdonvideo/clientid
pass insert gotootramdonvideo/password
it will show on gopass ls like:
├── gotootramdonvideo/
│ ├── clientid
│ ├── clientsecret
│ └── password
config.ini will be something line:
[general]
interval = 60
[mastodon]
server = https://hispagatos.space
client_id = `gopass show -o -f gotootramdonvideo/clientid`
client_secret = `gopass show -o -f gotootramdonvideo/clientsecret`
username = hackersespanol@gmail.com
password = `gopass show -o -f gotootramdonvideo/password`
[odysee]
feed_url = https://odysee.com/$/rss/@Hackernol:7
feed_url = https://lbryfeed.melroy.org/playlist/odysee/Hackerñol#1
for more info: https://lbryfeed.melroy.org/playlist
kill `cat goTootRamdonVideo.pid`
Mailing list for development discussion and patches related to the goTootRamdonVideo project. For help sending patches to this list, please consult git-send-email.io.
Low-volume mailing list for announcements related to the goTootRamdonVideo project.