You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucode 8216ff08e8 it works 7 years ago
build it works 7 years ago
.gitignore it works 7 years ago
LICENSE Initial commit 7 years ago
README.md it works 7 years ago
color.go it works 7 years ago
main.go it works 7 years ago
matrix.go it works 7 years ago
twitterConfigClient.go it works 7 years ago
twitterStreamDM.go it works 7 years ago
twitterUserOperations.go it works 7 years ago

README.md

twitterDM-to-matrix Go Report Card

bridge to send the received twitter Direct Messages (https://twitter.com) to a Matrix room (https://matrix.org), written in Go

needs a twitterConfig.json file on the /build folder with the content:

{
    "consumer_key": "xxxxxxxxxxxxxxxx",
    "consumer_secret": "xxxxxxxxxxxxxxxx",
    "access_token_key": "xxxxxxxxxxxxxxxx",
    "access_token_secret": "xxxxxxxxxxxxxxxx"
}

and a matrixConfig.json file on the /build folder with the content:

{
    "room_id": "xxxxx",
    "user": "xxxxx",
    "password": "xxxxx",
    "server": "https://xxxxx.xxxxx"
}

to run it:

  • go to the /build folder
  • open terminal
  • execute the script with:
./twitterDM-to-matrix