Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(anilist): add test anilist update manga progress #63

Open
wants to merge 14 commits into
base: develop_v0.5.0
Choose a base branch
from

Conversation

josueBarretogit
Copy link
Owner

@josueBarretogit josueBarretogit commented Nov 7, 2024

How to test this pr

Steps

  1. 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
    image

Assuming you have rust on your machine

  1. clone this repo, checkout the branch integrate-anilist and run
cargo build --release

After it finishes compiling the binary will be located at ./target/release

  1. 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
  1. Run this command to check if everything is setup correctly
./manga-tui  anilist check
  1. Now just run ./manga-tui and read manga as always, you should see your reading history being updated in your anilist account

  2. The config file should be updated with a new parameter

# Whether or not downloading a manga counts as reading it on services like anilist
# values : true, false
# default : false
track_reading_when_download = false

set it to true and downloading a chapter will update your progress as well, only when downloading single chapters

@josueBarretogit josueBarretogit linked an issue Nov 7, 2024 that may be closed by this pull request
@josueBarretogit josueBarretogit marked this pull request as draft November 7, 2024 04:11
@josueBarretogit josueBarretogit marked this pull request as ready for review December 27, 2024 15:30
@josueBarretogit josueBarretogit changed the base branch from main to develop_v0.5.0 December 31, 2024 19:48
@crispy-caesus
Copy link

LGTM

@josueBarretogit josueBarretogit mentioned this pull request Jan 2, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate services like Anilist or similar
2 participants