book toot bot:一个Ruby脚本它将一本书发布到Mastodon帐户中 源码
书机器人 Ruby脚本会将一本书发布到Mastodon帐户。 安装 bundle install 组态 使用以下命令创建config.yml : base_url : https://botsin.space token : ... location : 0 您可以按常规方式在所需的Mastodon服务器上注册,然后从设置中的“开发”选项卡创建访问令牌。 创建带有文本内容的book.txt 。 用法 例如,定期从crontab中获取: ruby bot.rb 执照 麻省理工学院
下载地址
用户评论