Skip to content

Add Pawchive#17612

Open
towermom9 wants to merge 28 commits into
keiyoushi:mainfrom
towermom9:main
Open

Add Pawchive#17612
towermom9 wants to merge 28 commits into
keiyoushi:mainfrom
towermom9:main

Conversation

@towermom9

Copy link
Copy Markdown

Closes #16701

Checklist:

  • Updated versionCode value in build.gradle.kts
  • Updated baseVersionCode in build.gradle.kts (if updated multisrc theme code)
  • Referenced all related issues in the PR body (e.g. "Closes #xyz")
  • Set the contentWarning configuration in build.gradle.kts appropriately
  • Have not changed source names
  • Have explicitly kept the id if a source's name or language were changed
  • Have tested the modifications by compiling and running the extension through Android Studio
  • Have removed web_hi_res_512.png when adding a new extension
  • This PR is AI-assisted, I have reviewed the changes manually and confirmed they are not slop

@towermom9

Copy link
Copy Markdown
Author

mostly copied kemono. (removed KemonoPostDtoWrapped)
made an option called FALLBACK_LOW_RES_IMG and set it as default on, because pawchive archived all/most of kemono's broken stuff. and all of the broken stuff only shows when use_low_res_img is on.

@AwkwardPeak7 AwkwardPeak7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the code be simplified for this source? kemono code is rather old and complicated, since this is a new source, perhaps it can be stripped.

Comment thread lib-multisrc/pawchive/build.gradle.kts Outdated
Comment thread lib-multisrc/pawchive/build.gradle.kts Outdated
Comment thread lib-multisrc/pawchive/src/eu/kanade/tachiyomi/multisrc/pawchive/Pawchive.kt Outdated
Comment thread lib-multisrc/pawchive/src/eu/kanade/tachiyomi/multisrc/pawchive/Pawchive.kt Outdated
Comment thread src/all/pawchive/build.gradle.kts
towermom9 and others added 9 commits July 15, 2026 19:17
Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
…e/Pawchive.kt

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
…e/Pawchive.kt

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
@towermom9

Copy link
Copy Markdown
Author

Simplified the code as much as i can 😅

  1. removed avatarUrl variable and formatAvatarUrl() function as pawchive doesn't add "//img." for their avatar/icons

  2. removed all code related to Discord, since Pawchive doesn't have it as a service.

  3. Combined duplicate code that handle low-resolution backup images into a function called toThumbnailUrl().

  4. Merged PawchiveAttachmentDto and PawchiveFileDto as they do the exact same thing.

  5. Added a new switch in the settings. Users can now choose whether they want to sort their list by the date a post was Added, Published, or Edited. It defaults to date published.

@towermom9
towermom9 requested a review from AwkwardPeak7 July 15, 2026 15:31
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Dto.kt Outdated
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Dto.kt Outdated
@MediocreLegion

Copy link
Copy Markdown
Contributor

This could have used the kemono multi-src, btw. I got it working by separating the image, avatar and thumbnail CDN urls, and by copy-pasting pageListParse, just replacing KemonoPostDtoWrapped with KemonoPostDto

@towermom9
towermom9 requested a review from AwkwardPeak7 July 16, 2026 19:12
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Pawchive.kt Outdated
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Pawchive.kt Outdated
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Pawchive.kt Outdated
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Pawchive.kt Outdated
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Pawchive.kt Outdated
Comment thread src/all/pawchive/src/eu/kanade/tachiyomi/extension/all/pawchive/Pawchive.kt Outdated
@AwkwardPeak7

Copy link
Copy Markdown
Contributor

also please remove some of your obvious comments.

towermom9 and others added 7 commits July 17, 2026 18:39
…e/Pawchive.kt

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
…e/Pawchive.kt

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
…e/Pawchive.kt

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
…e/Pawchive.kt

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
@towermom9
towermom9 requested a review from AwkwardPeak7 July 17, 2026 19:04
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.

Source request (ALL): Pawchive (Kemono alternative)

4 participants