-
Login to your anilist account and go to Settings / Developer / Create new client Name it whatever you like and put in
Redirect URLthe following :https://anilist.co/api/v2/oauth/pin
-
Run this command to provide your access token, follow the instructions and make sure you are logged in to your anilist account
./manga-tui anilist init- Run this command to check if everything is setup correctly
./manga-tui anilist check- Now just run
./manga-tuiand read manga as always, you should see your reading history being updated in your anilist account
Provide both client_id and access_token in the config.toml
The config file is located at XDG_CONFIG_HOME/manga-tui/config.toml, to know where it is you can run:
manga-tui --config-dir
# or
manga-tui -c# Enable / disable tracking reading history with services like `anilist`
# values: true, false
# default: true
track_reading_history = true
# ...
# Anilist-related config, if you want `manga-tui` to read your anilist credentials from this file then place them here
[anilist]
# Your client id from your anilist account
# leave it as an empty string "" if you don't want to use the config file to read your anilist credentials
# values: string
# default: ""
client_id = ""
# Your acces token from your anilist account
# leave it as an empty string "" if you don't want to use the config file to read your anilist credentials
# values: string
# default: ""
access_token = ""if you wish to stop using your credentials from config file then leave either client_id or access_token empty
or set track_reading_history to false