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