• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

dinomar/MastodonImageBot

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

dinomar/MastodonImageBot

开源软件地址(OpenSource Url):

https://github.com/dinomar/MastodonImageBot

开源编程语言(OpenSource Language):

C# 100.0%

开源软件介绍(OpenSource Introduction):

MastodonImageBot

Instructions

Windows:

Download and install Visual C++ Redistributable for Visual Studio 2015
Download and install .NET Core 3.1 Runtime

Download and unzip the latest version here.

Navigate to the extracted folder and run ImageBot.exe, this will start the initial setup of the bot.

Linux:

Download and install .NET Core 3.1 Runtime

Download and unzip the latest version here.

Navigate to the extracted folder and run dotnet ImageBot.dll, this will start the initial setup of the bot.

Initial setup and authorization.

When you run the program for the first time, the program will guide you through registering the application with the mastodon server, and authenticating the account that you want to use with the bot.

When the setup is complete, exit the program and copy the images that you want to post into the 'images1' folder that was created during the setup. You may also want to change the settings in the settings.json file.

Edit the setting in settings.json:

Interval: Time between post in minutes. The default is 60 minutes.
Visibility: Public = 0, Private = 2, Unlisted = 1, Direct = 3. Use numbers here. The default is 0.
IsSensitive: Mark post as sensitive. 'true' or 'false'. The default is false.

How the bot works

This bot will pick a random image from the 'images1' folder.
Post that image, then move it to the 'images2' folder.
When the 'images1' folder no longer has any images left inside it. The folders swap around, and images will be selected from the 'images2' folder and move to the 'images1' folder once they have been posted.
The bot continues to switch the source and deposit folders around indefinitely.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap