A Mastodon bot to drip-toot a Piwigo gallery one image at a time.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

config.py 679B

123456789101112131415
  1. APP_NAME = "Bloomscroller"
  2. APP_WEBSITE = "https://nimrodkerrett.opalstacked.com/nimrodkerrett/bloomscroller#repo-readme"
  3. APP_DESCRIPTION = "Tooting a Piwigo album as a cron job"
  4. APP_INSTANCE_URL = "https://tooot.im"
  5. ALBUM_API = "https://photos.nandn.org.il/piwigo/ws.php?format=json&method=pwg.categories.getImages&cat_id=21&per_page=529"
  6. # Both templates can use image fields like {name} and {comment} (see example.json)
  7. # I don't need it in my use case, but go ahead
  8. TOOT_TEMPLATE = "#Bloomscrolling"
  9. ALT_TEXT_TEMPLATE = "Flowers from n&n's garden arranged in a vase.\nPhotographed at {date_creation}."
  10. TOOT_LANGUAGE = "en"
  11. TOOT_VISIBILITY = "public"
  12. MEDIA_SIZE = "4xlarge"