Environment variables
To configure the application, you have to provide environment variables. You'll find here the list of all the
environment variables by usage. (📌 means the variable is required for the context where it is defined)
Core variables
Variable | Default | Category | Description |
---|---|---|---|
TWITTER_HANDLE 📌 | ∅ | Twitter::data | The twitter username you want to sync. |
TWITTER_USERNAME | ∅ | Twitter::auth | The twitter username used to log into twitter. |
TWITTER_PASSWORD | ∅ | Twitter::auth | The twitter password used to log into twitter. |
Twitter auth
Even if TWITTER_USERNAME
& TWITTER_PASSWORD
are optional, these variables are highly recommended. Using a secondary account you don't care about is recommended.
Learn more about Authentication against Twitter API.
To sync to Mastodon 🦣
Variable | Default | Category | Description |
---|---|---|---|
📌 MASTODON_INSTANCE | ∅ | The mastodon instance the account is registered on. | |
📌 MASTODON_ACCESS_TOKEN | ∅ | The mastodon access token to authenticated the sync requests. |
To sync to Bluesky ☁️
Variable | Default | Category | Description |
---|---|---|---|
📌 BLUESKY_INSTANCE | ∅ | The bluesky instance the account is registered on. (eg: bsky.social ) | |
📌 BLUESKY_IDENTIFIER | ∅ | The bluesky user identifier. (eg: handle.bsky.social ) | |
📌 BLUESKY_PASSWORD | ∅ | The bluesky password. (Can be a user password or an app password) |
Synchronization 🐝
Configure here how the sync will be done.
Variable | Default | Category | Description |
---|---|---|---|
📌 SYNC_MASTODON | false | Whether run the sync to Mastodon. | |
📌 SYNC_BLUESKY | false | Whether run the sync to Bluesky. | |
SYNC_PROFILE_NAME | false | Whether sync the profile name. | |
SYNC_PROFILE_DESCRIPTION | false | Whether sync the profile description. | |
SYNC_PROFILE_PICTURE | false | Whether sync the profile picture. | |
SYNC_PROFILE_HEADER | false | Whether sync the profile header (= banner). | |
BACKDATE_BLUESKY_POSTS | true | Whether backdate the posts on Bluesky. |
Configuration with Docker 🐳
Variable | Default | Category | Description |
---|---|---|---|
📌 SYNC_FREQUENCY_MIN | 30 | At which frequency run the sync. | |
📌 DAEMON | false | 👀Set it to true to synchronize regularly. |
Configuration with Cron ⏰
Variable | Default | Category | Description |
---|---|---|---|
📌 DAEMON | false | ⚠️ Set it to false. Without this, you'll get multiple instances running without end. |
Configuration with PM2 ⏲️
Variable | Default | Category | Description |
---|---|---|---|
📌 SYNC_FREQUENCY_MIN | 30 | At which frequency run the sync. | |
DAEMON | false | ⚠️ Set it to false. |
Configuration with Manual execution 👏️
Variable | Default | Category | Description |
---|---|---|---|
DAEMON | false | Set it to false for a one shot sync, to true to make it run again | |
SYNC_FREQUENCY_MIN | 30 | At which frequency run the sync. Only apply if you set DAEMON to true |