mirror of
https://framagit.org/veretcle/scootaloo.git
synced 2025-07-20 17:11:19 +02:00
Merge branch 'syntax-color-in-doc' into 'master'
Add syntax colors in documentation See merge request veretcle/scootaloo!17
This commit is contained in:
@@ -13,7 +13,7 @@ RT are excluded, replies are included.but only the source threads are copied, no
|
||||
|
||||
First up, create a configuration file (default path is `/usr/local/etc/scootaloo.toml`). It will look like this:
|
||||
|
||||
```
|
||||
```toml
|
||||
[scootaloo]
|
||||
|
||||
last_tweet_path="/usr/local/etc/last_tweet" ## file containing the last tweet id received, must be writable
|
||||
@@ -30,13 +30,13 @@ access_secret="MYACCESSSECRET"
|
||||
```
|
||||
|
||||
Then run the command with the `register` subcommand:
|
||||
```
|
||||
```sh
|
||||
scootaloo register --host https://m.nintendojo.fr
|
||||
```
|
||||
|
||||
This will give you the end of the TOML file. It will look like this:
|
||||
|
||||
```
|
||||
```toml
|
||||
[mastodon]
|
||||
base = "https://m.nintendojo.fr"
|
||||
client_id = "MYCLIENTID"
|
||||
@@ -68,7 +68,7 @@ SUBCOMMANDS:
|
||||
Scootaloo does not respect the spam limits imposed by Mastodon: it will make a 429 error if too much Tweets are converted to Toots in a short amount of time (and it will not recover from it). By default, it gets the last 200 tweets from the user timeline (which is a lot!). It is recommended to put a Tweet number into the `last_tweet` file before copying an old account.
|
||||
|
||||
You can do that with a command like:
|
||||
```
|
||||
```sh
|
||||
echo -n '8189881949849' > last_tweet
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user