twitterDM-to-matrix/README.md
README.mdRaw
1# twitterDM-to-matrix [](https://goreportcard.com/report/github.com/arnaucode/twitterDM-to-matrix)
2
3bridge to send the received twitter Direct Messages (https://twitter.com) to a Matrix room (https://matrix.org), written in Go
4
5
6needs a twitterConfig.json file on the /build folder with the content:
7```
8{
9 "consumer_key": "xxxxxxxxxxxxxxxx",
10 "consumer_secret": "xxxxxxxxxxxxxxxx",
11 "access_token_key": "xxxxxxxxxxxxxxxx",
12 "access_token_secret": "xxxxxxxxxxxxxxxx"
13}
14
15```
16and a matrixConfig.json file on the /build folder with the content:
17```
18{
19 "room_id": "xxxxx",
20 "user": "xxxxx",
21 "password": "xxxxx",
22 "server": "https://xxxxx.xxxxx"
23}
24
25```
26
27to run it:
28- go to the /build folder
29- open terminal
30- execute the script with:
31```
32./twitterDM-to-matrix
33```