twoot/default.toml

97 lines
2.7 KiB
TOML
Raw Normal View History

2022-12-11 21:51:43 +00:00
[config]
# twitter account name without '@'
twitter_account = ""
# Domain name of Mastodon instance
mastodon_instance = ""
# Mastodon username (login email address)
mastodon_user = ""
[options]
# Download videos from twitter and upload them on Mastodon
# Default is false
upload_videos = false
# Also post the "reply-to" tweets from twitter account
# Default is false
post_reply_to = false
# Do not post the retweets of other twitter accounts
# Default is false
skip_retweets = false
# Replace redirected links in tweets with direct URLs
# Default is false
remove_link_redirections = false
# Clean up URLs in tweets to remove trackers
# Default is false
remove_trackers_from_urls = false
# Footer line added at bottom of toots
# e.g. "#twitter #bot"
# Default is ""
footer = ""
2023-06-28 19:47:48 +00:00
# If specified, also diplay a timestamp on the "Original Tweet" line
2023-07-11 11:40:53 +00:00
# in the given format e.g. "%d %b %Y %H:%M %Z"
2023-06-28 19:47:48 +00:00
# see https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
# Default is "" (tweet timestamp is not displayed)
tweet_time_format = ""
2023-07-11 09:38:37 +00:00
# Specify the timezone that the timestamp on the tweet should be displayed in
# Use the `tz_identifier`from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# example "Europe/Brussels"
2023-07-11 09:44:22 +00:00
# default is using the local timezone of the machine running the script
tweet_timezone = ""
2023-07-11 09:38:37 +00:00
2022-12-11 21:51:43 +00:00
# Do not add reference to "Original tweet" on toots
# default is false
remove_original_tweet_ref = false
2023-06-15 12:35:27 +00:00
# Check if profile avatar or banner pictures were changed and update
# the Mastodon account if necessary
# Default is false
update_profile = false
2022-12-11 21:51:43 +00:00
# Maximum age of tweet to post (in days, decimal values accepted)
# Default is 1
tweet_max_age = 1
# Minimum age of tweet to post (in minutes)
# Default is 0 (post tweet as soon as possible)
tweet_delay = 0
# Maximum number of toots to post in each run
# Default is 0 (which means unlimited)
toot_cap = 0
2023-01-31 21:22:49 +00:00
# Replace twitter.com in links by random alternative out of this list
2022-12-11 21:51:43 +00:00
# List of nitter instances
# e.g. subst_twitter = ["nitter.net", ]
# Default is []
subst_twitter = []
2023-01-31 21:22:49 +00:00
# Replace youtube.com in links by random alternative out of this list
2022-12-11 21:51:43 +00:00
# List of Invidious or Piped instances
# e.g. subst_youtube = ["piped.kavin.rocks", "invidious.flokinet.to", ]
# Default is []
subst_youtube = []
2023-01-31 21:22:49 +00:00
# Replace reddit.com in links by random alternative out of this list
2022-12-11 21:51:43 +00:00
# List of Teddit instances
# e.g. subst_reddit = ["teddit.net", ]
# Default is []
subst_reddit = []
# Verbosity of log messages
# One of DEBUG, INFO, WARNING, ERROR, CRITICAL, OFF
# Default is "WARNING"
log_level = "WARNING"
# How many days to keep log messages for
# Log messages older than log_days will be deleted
# Default is 3
log_days = 3