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]
|
2023-07-14 11:12:25 +00:00
|
|
|
# List of nitter instances from which to pick at random to download tweets.
|
|
|
|
# Specify only the address without leading `https://` and without trailing `/`
|
|
|
|
# By default a built-in list of 2-3 known good instances is used
|
|
|
|
#
|
|
|
|
#nitter_instances = ["nitter.nl", "nitter.fdn.fr"]
|
|
|
|
|
2022-12-11 21:51:43 +00:00
|
|
|
# Download videos from twitter and upload them on Mastodon
|
|
|
|
# Default is false
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#upload_videos = true
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Also post the "reply-to" tweets from twitter account
|
|
|
|
# Default is false
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#post_reply_to = true
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Do not post the retweets of other twitter accounts
|
|
|
|
# Default is false
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#skip_retweets = true
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Replace redirected links in tweets with direct URLs
|
|
|
|
# Default is false
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#remove_link_redirections = true
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Clean up URLs in tweets to remove trackers
|
|
|
|
# Default is false
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#remove_trackers_from_urls = true
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Footer line added at bottom of toots
|
|
|
|
# Default is ""
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#footer = "#twitter #bot"
|
2022-12-11 21:51:43 +00:00
|
|
|
|
2023-06-28 19:47:48 +00:00
|
|
|
# If specified, also diplay a timestamp on the "Original Tweet" line
|
2023-07-14 11:12:25 +00:00
|
|
|
# in the given format.
|
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)
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#tweet_time_format = "%d %b %Y %H:%M %Z"
|
2023-06-28 19:47:48 +00:00
|
|
|
|
2023-07-11 09:38:37 +00:00
|
|
|
# Specify the timezone that the timestamp on the tweet should be displayed in
|
2023-07-14 11:12:25 +00:00
|
|
|
# Use `tz_identifier`from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
2023-07-11 09:44:22 +00:00
|
|
|
# default is using the local timezone of the machine running the script
|
2023-07-14 11:12:25 +00:00
|
|
|
#tweet_timezone = "Europe/Brussels"
|
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
|
2023-07-14 11:12:25 +00:00
|
|
|
#remove_original_tweet_ref = true
|
2022-12-11 21:51:43 +00:00
|
|
|
|
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
|
2023-07-14 11:12:25 +00:00
|
|
|
#update_profile = true
|
2023-06-15 12:35:27 +00:00
|
|
|
|
2022-12-11 21:51:43 +00:00
|
|
|
# Maximum age of tweet to post (in days, decimal values accepted)
|
|
|
|
# Default is 1
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#tweet_max_age = 0.5
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Minimum age of tweet to post (in minutes)
|
|
|
|
# Default is 0 (post tweet as soon as possible)
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#tweet_delay = 15
|
2022-12-11 21:51:43 +00:00
|
|
|
|
2023-07-14 11:21:12 +00:00
|
|
|
# How many seconds to pause between successive uploads of toots.
|
|
|
|
# Increase this value if successive tweets appear in the wrong order.
|
|
|
|
# Default is 0 (no pause)
|
|
|
|
#
|
2023-07-14 17:55:48 +00:00
|
|
|
#upload_pause = 5
|
2023-07-14 11:21:12 +00:00
|
|
|
|
2022-12-11 21:51:43 +00:00
|
|
|
# Maximum number of toots to post in each run
|
|
|
|
# Default is 0 (which means unlimited)
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#toot_cap = 2
|
2022-12-11 21:51:43 +00:00
|
|
|
|
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
|
|
|
|
# Default is []
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#subst_twitter = ["nitter.net", ]
|
2022-12-11 21:51:43 +00:00
|
|
|
|
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
|
|
|
|
# Default is []
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#subst_youtube = ["piped.kavin.rocks", "invidious.flokinet.to", ]
|
2022-12-11 21:51:43 +00:00
|
|
|
|
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
|
|
|
|
# Default is []
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#subst_reddit = ["teddit.net", ]
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# Verbosity of log messages
|
|
|
|
# One of DEBUG, INFO, WARNING, ERROR, CRITICAL, OFF
|
|
|
|
# Default is "WARNING"
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#log_level = "INFO"
|
2022-12-11 21:51:43 +00:00
|
|
|
|
|
|
|
# How many days to keep log messages for
|
|
|
|
# Log messages older than log_days will be deleted
|
|
|
|
# Default is 3
|
2023-07-14 11:12:25 +00:00
|
|
|
#
|
|
|
|
#log_days = 1
|