emersion/emuarius

Bridge between Twitter and Mastodon

Go

61

32 commits

updated Nov 24, 2019

See the code

README

emuarius

Bridge between Twitter and Mastodon (or any OStatus-compliant instance). Powered by go-ostatus.

For the moment, this is a read-only bridge: you'll be able to see Twitter activity from Mastodon (try to follow twitter_username@rootURL), but you won't be able to interact with it.

Usage

Your server must be configured with a domain name and HTTPS.

go get -u github.com/emersion/emuarius/cmd/...
cp emuarius.example.toml emuarius.toml
# Fill emuarius.toml with Twitter app credentials
emuarius

Docker

docker build -t emuarius .
docker run -p 4004:4004 \
-e "EMUARIUS_TWITTER_CONSUMER_SECRET=xxx" \
-e "EMUARIUS_TWITTER_ACCESS_TOKEN=xxx" \
-e "EMUARIUS_TWITTER_ACCESS_TOKEN_SECRET=xxx" \
-e "EMUARIUS_TWITTER_CONSUMER_KEY=xxx"  emuarius

Configuration

You can configure emuarius with a toml configuration file or environment variables. Environment variables will take precedence over toml values.

tomlenvdefault
PORT
addressEMUARIUS_ADDRESS:4004 or 0.0.0.0:$PORT
rootURLEMUARIUS_ROOT_URLhttp://localhost:4004
databasePathEMUARIUS_DATABASE_PATH./emuarius.db
twitter.consumerKeyEMUARIUS_TWITTER_CONSUMER_KEY
twitter.consumerSecretEMUARIUS_TWITTER_CONSUMER_SECRET
twitter.accessTokenEMUARIUS_TWITTER_ACCESS_TOKEN
twitter.accessTokenSecretEMUARIUS_TWITTER_ACCESS_TOKEN_SECRET

License

MIT

golang
mastodon
ostatus
twitter

Contributors

emersion

32 commits

emersion/emuarius

Bridge between Twitter and Mastodon

Go

61

32 commits

updated Nov 24, 2019

See the code

README

emuarius

Bridge between Twitter and Mastodon (or any OStatus-compliant instance). Powered by go-ostatus.

For the moment, this is a read-only bridge: you'll be able to see Twitter activity from Mastodon (try to follow twitter_username@rootURL), but you won't be able to interact with it.

Usage

Your server must be configured with a domain name and HTTPS.

go get -u github.com/emersion/emuarius/cmd/...
cp emuarius.example.toml emuarius.toml
# Fill emuarius.toml with Twitter app credentials
emuarius

Docker

docker build -t emuarius .
docker run -p 4004:4004 \
-e "EMUARIUS_TWITTER_CONSUMER_SECRET=xxx" \
-e "EMUARIUS_TWITTER_ACCESS_TOKEN=xxx" \
-e "EMUARIUS_TWITTER_ACCESS_TOKEN_SECRET=xxx" \
-e "EMUARIUS_TWITTER_CONSUMER_KEY=xxx"  emuarius

Configuration

You can configure emuarius with a toml configuration file or environment variables. Environment variables will take precedence over toml values.

tomlenvdefault
PORT
addressEMUARIUS_ADDRESS:4004 or 0.0.0.0:$PORT
rootURLEMUARIUS_ROOT_URLhttp://localhost:4004
databasePathEMUARIUS_DATABASE_PATH./emuarius.db
twitter.consumerKeyEMUARIUS_TWITTER_CONSUMER_KEY
twitter.consumerSecretEMUARIUS_TWITTER_CONSUMER_SECRET
twitter.accessTokenEMUARIUS_TWITTER_ACCESS_TOKEN
twitter.accessTokenSecretEMUARIUS_TWITTER_ACCESS_TOKEN_SECRET

License

MIT

golang
mastodon
ostatus
twitter

Contributors

emersion

32 commits

Languages

Go

100.0%