| 1 | # Mastodon |
| 2 | |
| 3 | - Status: Working |
| 4 | - Maintainers: @lil5 |
| 5 | - Features: home, local, remote, direct toots |
| 6 | |
| 7 | ## Configuration |
| 8 | |
| 9 | > [!TIP] |
| 10 | > For help getting a client id/secret/access token, see [application.md](application.md) |
| 11 | |
| 12 | **Basic configuration example:** |
| 13 | |
| 14 | ```toml |
| 15 | [mastodon] |
| 16 | [mastodon.mymastodon] |
| 17 | Server="https://mastodon.social" |
| 18 | ClientID="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
| 19 | ClientSecret="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
| 20 | AccessToken="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
| 21 | ``` |
| 22 | |
| 23 | ## FAQ |
| 24 | |
| 25 | ### How to connect to a list? |
| 26 | |
| 27 | Currently the only supported lists are: home, local, remote |
| 28 | |
| 29 | ```toml |
| 30 | [[gateway.inout]] |
| 31 | account="mastodon.mymastodon" |
| 32 | channel="home" |
| 33 | ``` |
| 34 | |
| 35 | ### How to connect to a direct message? |
| 36 | |
| 37 | ```toml |
| 38 | [[gateway.inout]] |
| 39 | account="mastodon.mymastodon" |
| 40 | channel="@name@mastodon.social" |
| 41 | ``` |