在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):cquest/tootbot开源软件地址(OpenSource Url):https://github.com/cquest/tootbot开源编程语言(OpenSource Language):Python 89.1%开源软件介绍(OpenSource Introduction):TootBotA small python 3.x script to replicate tweets on a mastodon account. The script only need mastodon login/pass to post toots. It gets the tweets from RSS available at http://twitrss.me, then does some cleanup on the content:
It can also toot RSS/atom feeds (see cron-example.sh). A sqlite database is used to keep track of tweets than have been tooted. This script is in use for a few accounts:
The script is simply called by a cron job and can run on any server (does not have to be on the mastodon instance server). Setup# clone this repo
git clone https://github.com/cquest/tootbot.git
cd tootbot
# install required python modules
pip3 install -r requirements.txt Useage
Example:
It's up to you to add this in your crontab :) With a plain RSS/atom feed:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论