mastodon-img-bot

授权协议 Unlicense License
开发语言 Python
所属分类 应用工具、 IM/聊天/语音工具
软件类型 开源软件
地区 不详
投 递 者 丁绪
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Mastodon Image Bot

makes use of Mastodon.py, tweepy, pixivpy and pybooru

$ python bot.py -h
usage: bot.py [-h] [-c FILE] [-a] [-p] [-v]

simple scheduled image bot for your mastodon instance

optional arguments:
  -h, --help            show this help message and exit
  -c FILE, --config FILE
                        specify config file
  -a, --add             add images to database
  -p, --post            post toot
  -v, --verbose         increase output verbosity

Setup

  1. install the requirements.txt pip install -r requirements.txt
  2. copy config.example.json to config.json and edit it to fit your configuration
  3. add images to your db withpython bot.py --config config.json --addand just follow the instructions on screen or manually edited the json file
  4. When your finished start the bot with python bot.py -c config.json

Acquiring tokens

To get client_secret, client_id and access_token you need to create an application at your mastodon instance.You can either:

 相关资料
  • Mastodon Bot Bots Hagh Hagh reblogs certain toots to itself creating a Hagh page. Users from local instance are able to make a toot hagh. Setup Have go and GNUMake installed. Copy the env var sample a

  • Mastodon 是开源且免费的社交网络服务器,任何人都可以基于它创建类似推特/微博的产品(可以理解为搭建“私服微博/推特”)。但 Mastodon 与常见的社交网络不一样,其定位是去中心化的社交平台——可作为商业平台的替代方案,避免了单个公司垄断你沟通的风险。 基于 Mastodon 搭建的站点被称为“实例 (instance)”,这些“实例”既相互独立,又彼此关联(因为不同站点的用户可以毫无阻

  • Mastodon Material Language | 言語 日本語 (Japanese) Overview Mastodon Material is the native theme for Mastodon, which based on Material Design. Development policy is here (Japanese). Screenshots show/hide

  • A bot posting the Hacker News stories with 100+ points to Mastodon. https://hackertribe.io/@HackerNewsBot Usage Create an account for the bot. For convenience you can use youremail+hnbot@gmail.com, to

  • Code has been removed, there is no more need for follow bots, just use a relay like https://relay.mastodon.host for example.

  • mastodon-apod it's a mastodon bot that posts the most recent image from NASA's Astronomy Picture of the Day it uses ananas how to use (optional) create a venv to isolate dependencies from the system $