Showing preview only (2,362K chars total). Download the full file or copy to clipboard to get everything.
Repository: Drumber/Kitsune
Branch: master
Commit: 58055468fd42
Files: 740
Total size: 2.0 MB
Directory structure:
gitextract_3d2wqgev/
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ └── feature_request.yml
│ └── workflows/
│ ├── build.yml
│ ├── reproducible-build.yml
│ └── test.yml
├── .gitignore
├── .idea/
│ ├── .gitignore
│ ├── AndroidProjectSystem.xml
│ ├── codeStyles/
│ │ ├── Project.xml
│ │ └── codeStyleConfig.xml
│ ├── compiler.xml
│ └── kotlinc.xml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Gemfile
├── LICENSE
├── README.md
├── app/
│ ├── .gitignore
│ ├── build.gradle.kts
│ ├── gradle.properties
│ ├── proguard-rules.pro
│ ├── schemas/
│ │ └── io.github.drumber.kitsune.data.source.local.LocalDatabase/
│ │ ├── 1.json
│ │ ├── 2.json
│ │ └── 3.json
│ └── src/
│ ├── androidTest/
│ │ └── java/
│ │ └── io/
│ │ └── github/
│ │ └── drumber/
│ │ └── kitsune/
│ │ ├── fastlane/
│ │ │ └── CaptureScreenshots.kt
│ │ ├── navigation/
│ │ │ └── NavigationTest.kt
│ │ └── utils/
│ │ ├── OkHttpIdlingResource.kt
│ │ ├── SearchViewActions.kt
│ │ ├── ViewActions.kt
│ │ ├── WaitForView.kt
│ │ └── filter/
│ │ ├── RequiresScreenshotMode.kt
│ │ └── ScreenshotModeCustomFilter.kt
│ ├── debug/
│ │ └── AndroidManifest.xml
│ ├── instrumented/
│ │ └── AndroidManifest.xml
│ ├── main/
│ │ ├── AndroidManifest.xml
│ │ ├── java/
│ │ │ └── io/
│ │ │ └── github/
│ │ │ └── drumber/
│ │ │ └── kitsune/
│ │ │ ├── KitsuneApplication.kt
│ │ │ ├── KitsuneGlideModule.kt
│ │ │ ├── constants/
│ │ │ │ ├── AppTheme.kt
│ │ │ │ ├── Defaults.kt
│ │ │ │ ├── GitHub.kt
│ │ │ │ ├── IntentAction.kt
│ │ │ │ ├── Kitsu.kt
│ │ │ │ ├── LibraryWidget.kt
│ │ │ │ ├── MediaItemSize.kt
│ │ │ │ ├── Repository.kt
│ │ │ │ ├── SortFilter.kt
│ │ │ │ └── StreamingLogo.kt
│ │ │ ├── data/
│ │ │ │ ├── common/
│ │ │ │ │ ├── Filter.kt
│ │ │ │ │ ├── Image.kt
│ │ │ │ │ ├── Titles.kt
│ │ │ │ │ ├── exception/
│ │ │ │ │ │ ├── InvalidDataException.kt
│ │ │ │ │ │ ├── NoDataException.kt
│ │ │ │ │ │ ├── NotFoundException.kt
│ │ │ │ │ │ ├── ResourceUpdateFailed.kt
│ │ │ │ │ │ └── SearchProviderUnavailableException.kt
│ │ │ │ │ ├── library/
│ │ │ │ │ │ └── LibraryEntryKind.kt
│ │ │ │ │ ├── media/
│ │ │ │ │ │ ├── AgeRating.kt
│ │ │ │ │ │ ├── AnimeSubtype.kt
│ │ │ │ │ │ ├── MangaSubtype.kt
│ │ │ │ │ │ ├── MediaType.kt
│ │ │ │ │ │ ├── RatingFrequencies.kt
│ │ │ │ │ │ └── ReleaseStatus.kt
│ │ │ │ │ └── user/
│ │ │ │ │ └── UserThemePreference.kt
│ │ │ │ ├── mapper/
│ │ │ │ │ ├── AlgoliaMapper.kt
│ │ │ │ │ ├── AppUpdateMapper.kt
│ │ │ │ │ ├── AuthMapper.kt
│ │ │ │ │ ├── CharacterMapper.kt
│ │ │ │ │ ├── ImageMapper.kt
│ │ │ │ │ ├── LibraryMapper.kt
│ │ │ │ │ ├── MapperUtils.kt
│ │ │ │ │ ├── MappingMapper.kt
│ │ │ │ │ ├── MediaMapper.kt
│ │ │ │ │ ├── MediaUnitMapper.kt
│ │ │ │ │ ├── ProfileLinksMapper.kt
│ │ │ │ │ ├── UserMapper.kt
│ │ │ │ │ └── UserStatsMapper.kt
│ │ │ │ ├── presentation/
│ │ │ │ │ ├── LocalRatingSystemPreference.kt
│ │ │ │ │ ├── dto/
│ │ │ │ │ │ ├── CharacterDto.kt
│ │ │ │ │ │ ├── ImageDto.kt
│ │ │ │ │ │ ├── MediaDto.kt
│ │ │ │ │ │ └── MediaUnitDto.kt
│ │ │ │ │ └── model/
│ │ │ │ │ ├── algolia/
│ │ │ │ │ │ ├── AlgoliaKey.kt
│ │ │ │ │ │ ├── AlgoliaKeyCollection.kt
│ │ │ │ │ │ └── SearchType.kt
│ │ │ │ │ ├── appupdate/
│ │ │ │ │ │ ├── AppRelease.kt
│ │ │ │ │ │ └── UpdateCheckResult.kt
│ │ │ │ │ ├── character/
│ │ │ │ │ │ ├── Character.kt
│ │ │ │ │ │ ├── CharacterSearchResult.kt
│ │ │ │ │ │ ├── MediaCharacter.kt
│ │ │ │ │ │ └── MediaCharacterRole.kt
│ │ │ │ │ ├── library/
│ │ │ │ │ │ ├── LibraryEntry.kt
│ │ │ │ │ │ ├── LibraryEntryFilter.kt
│ │ │ │ │ │ ├── LibraryEntryModification.kt
│ │ │ │ │ │ ├── LibraryEntryUiModel.kt
│ │ │ │ │ │ ├── LibraryEntryWithModification.kt
│ │ │ │ │ │ ├── LibraryModificationState.kt
│ │ │ │ │ │ ├── LibraryStatus.kt
│ │ │ │ │ │ └── ReactionSkip.kt
│ │ │ │ │ ├── mapping/
│ │ │ │ │ │ └── Mapping.kt
│ │ │ │ │ ├── media/
│ │ │ │ │ │ ├── Anime.kt
│ │ │ │ │ │ ├── Manga.kt
│ │ │ │ │ │ ├── Media.kt
│ │ │ │ │ │ ├── MediaSelector.kt
│ │ │ │ │ │ ├── category/
│ │ │ │ │ │ │ ├── Category.kt
│ │ │ │ │ │ │ └── CategoryNode.kt
│ │ │ │ │ │ ├── production/
│ │ │ │ │ │ │ ├── AnimeProduction.kt
│ │ │ │ │ │ │ ├── AnimeProductionRole.kt
│ │ │ │ │ │ │ ├── Casting.kt
│ │ │ │ │ │ │ ├── Person.kt
│ │ │ │ │ │ │ └── Producer.kt
│ │ │ │ │ │ ├── relationship/
│ │ │ │ │ │ │ ├── MediaRelationship.kt
│ │ │ │ │ │ │ └── MediaRelationshipRole.kt
│ │ │ │ │ │ ├── streamer/
│ │ │ │ │ │ │ ├── Streamer.kt
│ │ │ │ │ │ │ └── StreamingLink.kt
│ │ │ │ │ │ └── unit/
│ │ │ │ │ │ ├── Chapter.kt
│ │ │ │ │ │ ├── Episode.kt
│ │ │ │ │ │ └── MediaUnit.kt
│ │ │ │ │ └── user/
│ │ │ │ │ ├── Favorite.kt
│ │ │ │ │ ├── User.kt
│ │ │ │ │ ├── profilelinks/
│ │ │ │ │ │ ├── ProfileLink.kt
│ │ │ │ │ │ └── ProfileLinkSite.kt
│ │ │ │ │ └── stats/
│ │ │ │ │ ├── AmountConsumedPercentiles.kt
│ │ │ │ │ ├── UserStats.kt
│ │ │ │ │ ├── UserStatsData.kt
│ │ │ │ │ └── UserStatsKind.kt
│ │ │ │ ├── repository/
│ │ │ │ │ ├── AccessTokenRepository.kt
│ │ │ │ │ ├── AlgoliaKeyRepository.kt
│ │ │ │ │ ├── AnimeRepository.kt
│ │ │ │ │ ├── AppUpdateRepository.kt
│ │ │ │ │ ├── CastingRepository.kt
│ │ │ │ │ ├── CategoryRepository.kt
│ │ │ │ │ ├── CharacterRepository.kt
│ │ │ │ │ ├── FavoriteRepository.kt
│ │ │ │ │ ├── LibraryChangeListener.kt
│ │ │ │ │ ├── LibraryEntryRemoteMediator.kt
│ │ │ │ │ ├── LibraryRepository.kt
│ │ │ │ │ ├── MangaRepository.kt
│ │ │ │ │ ├── MappingRepository.kt
│ │ │ │ │ ├── MediaUnitRepository.kt
│ │ │ │ │ ├── ProfileLinkRepository.kt
│ │ │ │ │ └── UserRepository.kt
│ │ │ │ ├── source/
│ │ │ │ │ ├── local/
│ │ │ │ │ │ ├── LocalDatabase.kt
│ │ │ │ │ │ ├── auth/
│ │ │ │ │ │ │ ├── AccessTokenLocalDataSource.kt
│ │ │ │ │ │ │ ├── AccessTokenPreference.kt
│ │ │ │ │ │ │ └── model/
│ │ │ │ │ │ │ └── LocalAccessToken.kt
│ │ │ │ │ │ ├── character/
│ │ │ │ │ │ │ └── LocalCharacter.kt
│ │ │ │ │ │ ├── library/
│ │ │ │ │ │ │ ├── LibraryLocalDataSource.kt
│ │ │ │ │ │ │ ├── LocalLibraryConverters.kt
│ │ │ │ │ │ │ ├── dao/
│ │ │ │ │ │ │ │ ├── LibraryEntryDao.kt
│ │ │ │ │ │ │ │ ├── LibraryEntryModificationDao.kt
│ │ │ │ │ │ │ │ ├── LibraryEntryWithModificationDao.kt
│ │ │ │ │ │ │ │ └── RemoteKeyDao.kt
│ │ │ │ │ │ │ └── model/
│ │ │ │ │ │ │ ├── LocalImage.kt
│ │ │ │ │ │ │ ├── LocalLibraryEntry.kt
│ │ │ │ │ │ │ ├── LocalLibraryEntryModification.kt
│ │ │ │ │ │ │ ├── LocalLibraryEntryWithModification.kt
│ │ │ │ │ │ │ ├── LocalLibraryMedia.kt
│ │ │ │ │ │ │ ├── LocalLibraryModificationState.kt
│ │ │ │ │ │ │ ├── LocalLibraryStatus.kt
│ │ │ │ │ │ │ ├── LocalReactionSkip.kt
│ │ │ │ │ │ │ └── RemoteKeyEntity.kt
│ │ │ │ │ │ └── user/
│ │ │ │ │ │ ├── UserLocalDataSource.kt
│ │ │ │ │ │ ├── UserPreferences.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ ├── LocalRatingSystemPreference.kt
│ │ │ │ │ │ ├── LocalSfwFilterPreference.kt
│ │ │ │ │ │ ├── LocalTitleLanguagePreference.kt
│ │ │ │ │ │ └── LocalUser.kt
│ │ │ │ │ └── network/
│ │ │ │ │ ├── BasePagingDataSource.kt
│ │ │ │ │ ├── PageData.kt
│ │ │ │ │ ├── algolia/
│ │ │ │ │ │ ├── AlgoliaKeyNetworkDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ └── AlgoliaKeyApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ ├── NetworkAlgoliaKey.kt
│ │ │ │ │ │ ├── NetworkAlgoliaKeyCollection.kt
│ │ │ │ │ │ └── search/
│ │ │ │ │ │ ├── AlgoliaCharacterSearchResult.kt
│ │ │ │ │ │ ├── AlgoliaImage.kt
│ │ │ │ │ │ ├── AlgoliaMediaSearchKind.kt
│ │ │ │ │ │ └── AlgoliaMediaSearchResult.kt
│ │ │ │ │ ├── appupdate/
│ │ │ │ │ │ ├── AppReleaseNetworkDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ └── GitHubApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ └── NetworkGitHubRelease.kt
│ │ │ │ │ ├── auth/
│ │ │ │ │ │ ├── AccessTokenNetworkDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ └── AuthenticationApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ ├── NetworkAccessToken.kt
│ │ │ │ │ │ ├── ObtainAccessToken.kt
│ │ │ │ │ │ └── RefreshAccessToken.kt
│ │ │ │ │ ├── character/
│ │ │ │ │ │ ├── CharacterNetworkDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ └── CharacterApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ ├── NetworkCharacter.kt
│ │ │ │ │ │ ├── NetworkMediaCharacter.kt
│ │ │ │ │ │ └── NetworkMediaCharacterRole.kt
│ │ │ │ │ ├── library/
│ │ │ │ │ │ ├── LibraryEntryPagingDataSource.kt
│ │ │ │ │ │ ├── LibraryNetworkDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ └── LibraryEntryApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ ├── NetworkLibraryEntry.kt
│ │ │ │ │ │ ├── NetworkLibraryStatus.kt
│ │ │ │ │ │ └── NetworkReactionSkip.kt
│ │ │ │ │ ├── mapping/
│ │ │ │ │ │ ├── MappingNetworkDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ └── MappingApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ └── NetworkMapping.kt
│ │ │ │ │ ├── media/
│ │ │ │ │ │ ├── AnimeNetworkDataSource.kt
│ │ │ │ │ │ ├── AnimePagingDataSource.kt
│ │ │ │ │ │ ├── CastingNetworkDataSource.kt
│ │ │ │ │ │ ├── CastingPagingDataSource.kt
│ │ │ │ │ │ ├── CategoryNetworkDataSource.kt
│ │ │ │ │ │ ├── ChapterNetworkDataSource.kt
│ │ │ │ │ │ ├── ChapterPagingDataSource.kt
│ │ │ │ │ │ ├── EpisodeNetworkDataSource.kt
│ │ │ │ │ │ ├── EpisodePagingDataSource.kt
│ │ │ │ │ │ ├── MangaNetworkDataSource.kt
│ │ │ │ │ │ ├── MangaPagingDataSource.kt
│ │ │ │ │ │ ├── TrendingAnimePagingDataSource.kt
│ │ │ │ │ │ ├── TrendingMangaPagingDataSource.kt
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ ├── AnimeApi.kt
│ │ │ │ │ │ │ ├── CastingApi.kt
│ │ │ │ │ │ │ ├── CategoryApi.kt
│ │ │ │ │ │ │ ├── ChapterApi.kt
│ │ │ │ │ │ │ ├── EpisodeApi.kt
│ │ │ │ │ │ │ └── MangaApi.kt
│ │ │ │ │ │ └── model/
│ │ │ │ │ │ ├── NetworkAnime.kt
│ │ │ │ │ │ ├── NetworkAnimeSubtype.kt
│ │ │ │ │ │ ├── NetworkManga.kt
│ │ │ │ │ │ ├── NetworkMangaSubtype.kt
│ │ │ │ │ │ ├── NetworkMedia.kt
│ │ │ │ │ │ ├── NetworkRatingFrequencies.kt
│ │ │ │ │ │ ├── NetworkReleaseStatus.kt
│ │ │ │ │ │ ├── category/
│ │ │ │ │ │ │ └── NetworkCategory.kt
│ │ │ │ │ │ ├── production/
│ │ │ │ │ │ │ ├── NetworkAnimeProduction.kt
│ │ │ │ │ │ │ ├── NetworkAnimeProductionRole.kt
│ │ │ │ │ │ │ ├── NetworkCasting.kt
│ │ │ │ │ │ │ ├── NetworkPerson.kt
│ │ │ │ │ │ │ └── NetworkProducer.kt
│ │ │ │ │ │ ├── relationship/
│ │ │ │ │ │ │ ├── NetworkMediaRelationship.kt
│ │ │ │ │ │ │ └── NetworkMediaRelationshipRole.kt
│ │ │ │ │ │ ├── streamer/
│ │ │ │ │ │ │ ├── NetworkStreamer.kt
│ │ │ │ │ │ │ └── NetworkStreamingLink.kt
│ │ │ │ │ │ └── unit/
│ │ │ │ │ │ ├── NetworkChapter.kt
│ │ │ │ │ │ ├── NetworkEpisode.kt
│ │ │ │ │ │ └── NetworkMediaUnit.kt
│ │ │ │ │ └── user/
│ │ │ │ │ ├── FavoriteNetworkDataSource.kt
│ │ │ │ │ ├── ProfileLinkNetworkDataSource.kt
│ │ │ │ │ ├── UserNetworkDataSource.kt
│ │ │ │ │ ├── api/
│ │ │ │ │ │ ├── FavoriteApi.kt
│ │ │ │ │ │ ├── ProfileLinkApi.kt
│ │ │ │ │ │ ├── UserApi.kt
│ │ │ │ │ │ └── UserImageUploadApi.kt
│ │ │ │ │ └── model/
│ │ │ │ │ ├── NetworkFavorite.kt
│ │ │ │ │ ├── NetworkRatingSystemPreference.kt
│ │ │ │ │ ├── NetworkSfwFilterPreference.kt
│ │ │ │ │ ├── NetworkTitleLanguagePreference.kt
│ │ │ │ │ ├── NetworkUser.kt
│ │ │ │ │ ├── NetworkUserImageUpload.kt
│ │ │ │ │ ├── profilelinks/
│ │ │ │ │ │ ├── NetworkProfileLink.kt
│ │ │ │ │ │ └── NetworkProfileLinkSite.kt
│ │ │ │ │ └── stats/
│ │ │ │ │ ├── NetworkAmountConsumedPercentiles.kt
│ │ │ │ │ ├── NetworkUserStats.kt
│ │ │ │ │ ├── NetworkUserStatsData.kt
│ │ │ │ │ └── NetworkUserStatsKind.kt
│ │ │ │ └── utils/
│ │ │ │ └── InvalidatingPagingSourceFactory.kt
│ │ │ ├── di/
│ │ │ │ ├── AppModule.kt
│ │ │ │ ├── DataModule.kt
│ │ │ │ ├── DatabaseModule.kt
│ │ │ │ ├── DomainModule.kt
│ │ │ │ ├── NetworkModule.kt
│ │ │ │ └── ViewModelModule.kt
│ │ │ ├── domain/
│ │ │ │ ├── algolia/
│ │ │ │ │ ├── FilterCollection.kt
│ │ │ │ │ └── SearchProvider.kt
│ │ │ │ ├── auth/
│ │ │ │ │ ├── IsUserLoggedInUseCase.kt
│ │ │ │ │ ├── LogInUserUseCase.kt
│ │ │ │ │ ├── LogOutUserUseCase.kt
│ │ │ │ │ ├── LoginResult.kt
│ │ │ │ │ ├── RefreshAccessTokenIfExpiredUseCase.kt
│ │ │ │ │ ├── RefreshAccessTokenUseCase.kt
│ │ │ │ │ └── RefreshResult.kt
│ │ │ │ ├── library/
│ │ │ │ │ ├── FetchLibraryEntriesForWidgetUseCase.kt
│ │ │ │ │ ├── GetLibraryEntriesWithModificationsPagerUseCase.kt
│ │ │ │ │ ├── LibraryEntryUpdateResult.kt
│ │ │ │ │ ├── SearchLibraryEntriesWithLocalModificationsPagerUseCase.kt
│ │ │ │ │ ├── SynchronizeLocalLibraryModificationsUseCase.kt
│ │ │ │ │ ├── UpdateLibraryEntryProgressUseCase.kt
│ │ │ │ │ ├── UpdateLibraryEntryRatingUseCase.kt
│ │ │ │ │ └── UpdateLibraryEntryUseCase.kt
│ │ │ │ ├── user/
│ │ │ │ │ ├── GetLocalUserIdUseCase.kt
│ │ │ │ │ └── UpdateLocalUserUseCase.kt
│ │ │ │ └── work/
│ │ │ │ └── UpdateLibraryWidgetUseCase.kt
│ │ │ ├── notification/
│ │ │ │ ├── NotificationChannels.kt
│ │ │ │ └── Notifications.kt
│ │ │ ├── preference/
│ │ │ │ ├── CategoryPrefWrapper.kt
│ │ │ │ ├── KitsunePref.kt
│ │ │ │ └── StartPagePref.kt
│ │ │ ├── ui/
│ │ │ │ ├── adapter/
│ │ │ │ │ ├── AbstractMediaRecyclerViewAdapter.kt
│ │ │ │ │ ├── CharacterAdapter.kt
│ │ │ │ │ ├── MediaCharacterAdapter.kt
│ │ │ │ │ ├── MediaMappingsAdapter.kt
│ │ │ │ │ ├── MediaRecyclerViewAdapter.kt
│ │ │ │ │ ├── MediaRelationshipRecyclerViewAdapter.kt
│ │ │ │ │ ├── MediaRelationshipViewHolder.kt
│ │ │ │ │ ├── MediaViewHolder.kt
│ │ │ │ │ ├── OnItemClickListener.kt
│ │ │ │ │ ├── StreamingLinkAdapter.kt
│ │ │ │ │ └── paging/
│ │ │ │ │ ├── AnimeAdapter.kt
│ │ │ │ │ ├── CharacterPagingAdapter.kt
│ │ │ │ │ ├── LibraryEntriesAdapter.kt
│ │ │ │ │ ├── MangaAdapter.kt
│ │ │ │ │ ├── MediaPagingAdapter.kt
│ │ │ │ │ ├── MediaSearchPagingAdapter.kt
│ │ │ │ │ ├── MediaUnitPagingAdapter.kt
│ │ │ │ │ └── ResourceLoadStateAdapter.kt
│ │ │ │ ├── authentication/
│ │ │ │ │ ├── AuthenticationActivity.kt
│ │ │ │ │ ├── LoggedInUserView.kt
│ │ │ │ │ ├── LoginFormState.kt
│ │ │ │ │ ├── LoginResultUi.kt
│ │ │ │ │ └── LoginViewModel.kt
│ │ │ │ ├── base/
│ │ │ │ │ ├── BaseActivity.kt
│ │ │ │ │ ├── BaseDialogFragment.kt
│ │ │ │ │ ├── BaseFragment.kt
│ │ │ │ │ └── BasePreferenceFragment.kt
│ │ │ │ ├── component/
│ │ │ │ │ ├── CustomNumberSpinner.kt
│ │ │ │ │ ├── ExpandableLayout.kt
│ │ │ │ │ ├── ExploreSection.kt
│ │ │ │ │ ├── LayoutResourceLoadingLoadState.kt
│ │ │ │ │ ├── LoadStateSpanSizeLookup.kt
│ │ │ │ │ ├── MediaItemCard.kt
│ │ │ │ │ ├── NestedScrollableHost.kt
│ │ │ │ │ ├── PhotoViewNestedScrollView.kt
│ │ │ │ │ ├── ResponsiveGridLayoutManager.kt
│ │ │ │ │ ├── UniqueStateRecyclerView.kt
│ │ │ │ │ ├── algolia/
│ │ │ │ │ │ ├── SeasonListPresenter.kt
│ │ │ │ │ │ └── range/
│ │ │ │ │ │ ├── CustomFilterRangeConnectionFilterState.kt
│ │ │ │ │ │ ├── CustomFilterRangeConnector.kt
│ │ │ │ │ │ ├── CustomNumberRangeConnectionView.kt
│ │ │ │ │ │ ├── CustomNumberRangeView.kt
│ │ │ │ │ │ └── IntNumberRangeView.kt
│ │ │ │ │ └── chart/
│ │ │ │ │ ├── BarChartStyle.kt
│ │ │ │ │ ├── BaseChartStyle.kt
│ │ │ │ │ ├── CustomPercentFormatter.kt
│ │ │ │ │ ├── NonZeroLargeValueFormatter.kt
│ │ │ │ │ ├── PieChartStyle.kt
│ │ │ │ │ └── StepAxisValueFormatter.kt
│ │ │ │ ├── details/
│ │ │ │ │ ├── DetailsFragment.kt
│ │ │ │ │ ├── DetailsViewModel.kt
│ │ │ │ │ ├── ManageLibraryBottomSheet.kt
│ │ │ │ │ ├── MediaMappingsBottomSheet.kt
│ │ │ │ │ ├── characters/
│ │ │ │ │ │ ├── CharacterDetailsBottomSheet.kt
│ │ │ │ │ │ ├── CharacterDetailsViewModel.kt
│ │ │ │ │ │ ├── CharacterFilterAdapter.kt
│ │ │ │ │ │ ├── CharactersFragment.kt
│ │ │ │ │ │ └── CharactersViewModel.kt
│ │ │ │ │ └── episodes/
│ │ │ │ │ ├── EpisodesFragment.kt
│ │ │ │ │ ├── EpisodesViewModel.kt
│ │ │ │ │ └── MediaUnitDetailsBottomSheet.kt
│ │ │ │ ├── library/
│ │ │ │ │ ├── LibraryFragment.kt
│ │ │ │ │ ├── LibraryViewModel.kt
│ │ │ │ │ ├── RatingBottomSheet.kt
│ │ │ │ │ └── editentry/
│ │ │ │ │ ├── LibraryEditEntryFragment.kt
│ │ │ │ │ └── LibraryEditEntryViewModel.kt
│ │ │ │ ├── main/
│ │ │ │ │ ├── HomeExploreFragment.kt
│ │ │ │ │ ├── HomeExploreViewPagerAdapter.kt
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ ├── MainActivityViewModel.kt
│ │ │ │ │ ├── MainFragment.kt
│ │ │ │ │ └── MainFragmentViewModel.kt
│ │ │ │ ├── medialist/
│ │ │ │ │ ├── MediaListFragment.kt
│ │ │ │ │ └── MediaListViewModel.kt
│ │ │ │ ├── onboarding/
│ │ │ │ │ ├── OnboardingActivity.kt
│ │ │ │ │ ├── OnboardingUiState.kt
│ │ │ │ │ ├── OnboardingViewModel.kt
│ │ │ │ │ ├── components/
│ │ │ │ │ │ ├── CustomDialog.kt
│ │ │ │ │ │ ├── ImagePresenter.kt
│ │ │ │ │ │ ├── ImageSlideshow.kt
│ │ │ │ │ │ ├── OnboardingNavigationControls.kt
│ │ │ │ │ │ └── PreferenceCard.kt
│ │ │ │ │ └── pages/
│ │ │ │ │ ├── LoginPage.kt
│ │ │ │ │ ├── SetupPage.kt
│ │ │ │ │ └── WelcomePage.kt
│ │ │ │ ├── permissions/
│ │ │ │ │ └── NotificationPermission.kt
│ │ │ │ ├── photoview/
│ │ │ │ │ └── PhotoViewActivity.kt
│ │ │ │ ├── profile/
│ │ │ │ │ ├── ProfileFragment.kt
│ │ │ │ │ ├── ProfileStatsAdapter.kt
│ │ │ │ │ ├── ProfileViewModel.kt
│ │ │ │ │ └── editprofile/
│ │ │ │ │ ├── CharacterSearchResultAdapter.kt
│ │ │ │ │ ├── EditProfileFragment.kt
│ │ │ │ │ ├── EditProfileLinkBottomSheet.kt
│ │ │ │ │ ├── EditProfileViewModel.kt
│ │ │ │ │ └── SelectProfileLinkSiteBottomSheet.kt
│ │ │ │ ├── search/
│ │ │ │ │ ├── SearchFragment.kt
│ │ │ │ │ ├── SearchViewModel.kt
│ │ │ │ │ ├── categories/
│ │ │ │ │ │ ├── CategoriesDialogFragment.kt
│ │ │ │ │ │ ├── CategoriesViewModel.kt
│ │ │ │ │ │ └── CategoryViewHolder.kt
│ │ │ │ │ └── filter/
│ │ │ │ │ ├── FacetFragment.kt
│ │ │ │ │ └── FilterFacetListViewHolder.kt
│ │ │ │ ├── settings/
│ │ │ │ │ ├── AppLogsFragment.kt
│ │ │ │ │ ├── AppLogsViewModel.kt
│ │ │ │ │ ├── AppearanceFragment.kt
│ │ │ │ │ ├── OSLibrariesFragment.kt
│ │ │ │ │ ├── SettingsFragment.kt
│ │ │ │ │ ├── SettingsViewModel.kt
│ │ │ │ │ └── ThemePickerPreference.kt
│ │ │ │ ├── theme/
│ │ │ │ │ ├── MdcThemeAdapter.kt
│ │ │ │ │ └── Theme.kt
│ │ │ │ ├── webview/
│ │ │ │ │ └── WebViewFragment.kt
│ │ │ │ └── widget/
│ │ │ │ ├── KitsuneWidgetReceiver.kt
│ │ │ │ ├── KitsuneWidgetTheme.kt
│ │ │ │ ├── LibraryAppWidget.kt
│ │ │ │ └── WidgetUtils.kt
│ │ │ ├── util/
│ │ │ │ ├── DataUtil.kt
│ │ │ │ ├── DateUtil.kt
│ │ │ │ ├── ItemClickListener.kt
│ │ │ │ ├── KitsuUrlReplacer.kt
│ │ │ │ ├── LogCatReader.kt
│ │ │ │ ├── LogUtil.kt
│ │ │ │ ├── SaveImage.kt
│ │ │ │ ├── TimeUtil.kt
│ │ │ │ ├── extensions/
│ │ │ │ │ ├── ActivityExtensions.kt
│ │ │ │ │ ├── FragmentExtensions.kt
│ │ │ │ │ └── OtherExtensions.kt
│ │ │ │ ├── json/
│ │ │ │ │ ├── AlgoliaFacetValueDeserializer.kt
│ │ │ │ │ ├── AlgoliaNumericValueDeserializer.kt
│ │ │ │ │ ├── IgnoreParcelablePropertyMixin.kt
│ │ │ │ │ └── NullableIntSerializer.kt
│ │ │ │ ├── network/
│ │ │ │ │ ├── AuthenticationInterceptor.kt
│ │ │ │ │ ├── ResponseData.kt
│ │ │ │ │ └── UserAgentInterceptor.kt
│ │ │ │ ├── rating/
│ │ │ │ │ ├── RatingFrequenciesUtil.kt
│ │ │ │ │ └── RatingSystemUtil.kt
│ │ │ │ └── ui/
│ │ │ │ ├── BindingAdapter.kt
│ │ │ │ ├── DateValidatorPointBetween.kt
│ │ │ │ ├── ProfileSiteLogo.kt
│ │ │ │ ├── RoundBitmapDrawable.kt
│ │ │ │ ├── SnackbarUtils.kt
│ │ │ │ └── WindowInsetsUtil.kt
│ │ │ └── work/
│ │ │ ├── SyncLibraryEntriesForWidgetWorker.kt
│ │ │ └── UpdateLibraryWidgetWorker.kt
│ │ └── res/
│ │ ├── anim/
│ │ │ ├── slide_down.xml
│ │ │ └── slide_up.xml
│ │ ├── animator/
│ │ │ ├── scale_enter_anim.xml
│ │ │ ├── scale_exit_anim.xml
│ │ │ ├── scale_pop_enter_anim.xml
│ │ │ └── scale_pop_exit_anim.xml
│ │ ├── color/
│ │ │ ├── subtype_badge_background.xml
│ │ │ ├── translucent_overlay.xml
│ │ │ └── translucent_status_bar.xml
│ │ ├── drawable/
│ │ │ ├── animated_favorite.xml
│ │ │ ├── badge_background.xml
│ │ │ ├── bottom_edge_fade.xml
│ │ │ ├── bottom_edge_fade_surface.xml
│ │ │ ├── cover_placeholder.xml
│ │ │ ├── explore_section_divider.xml
│ │ │ ├── ic_add_24.xml
│ │ │ ├── ic_add_a_photo_24.xml
│ │ │ ├── ic_amazon.xml
│ │ │ ├── ic_animelab.xml
│ │ │ ├── ic_arrow_back_24.xml
│ │ │ ├── ic_arrow_drop_down_24.xml
│ │ │ ├── ic_arrow_forward_24.xml
│ │ │ ├── ic_bar_chart_16.xml
│ │ │ ├── ic_battle_net.xml
│ │ │ ├── ic_bookmark_added_24.xml
│ │ │ ├── ic_cake_24.xml
│ │ │ ├── ic_calendar_24.xml
│ │ │ ├── ic_calendar_month_24.xml
│ │ │ ├── ic_cancel_presentation_24.xml
│ │ │ ├── ic_check_24.xml
│ │ │ ├── ic_close_24.xml
│ │ │ ├── ic_cloud_off_16.xml
│ │ │ ├── ic_code_24.xml
│ │ │ ├── ic_contv.xml
│ │ │ ├── ic_crunchyroll.xml
│ │ │ ├── ic_dailymotion.xml
│ │ │ ├── ic_delete_24.xml
│ │ │ ├── ic_deviantart.xml
│ │ │ ├── ic_discord.xml
│ │ │ ├── ic_done_24.xml
│ │ │ ├── ic_dribbble.xml
│ │ │ ├── ic_edit_24.xml
│ │ │ ├── ic_emoji_events_24.xml
│ │ │ ├── ic_facebook.xml
│ │ │ ├── ic_favorite_24.xml
│ │ │ ├── ic_favorite_border_24.xml
│ │ │ ├── ic_filter_24.xml
│ │ │ ├── ic_funimation.xml
│ │ │ ├── ic_github.xml
│ │ │ ├── ic_google_plus.xml
│ │ │ ├── ic_heart_broken_24.xml
│ │ │ ├── ic_hidive.xml
│ │ │ ├── ic_home_24.xml
│ │ │ ├── ic_hulu.xml
│ │ │ ├── ic_imdb.xml
│ │ │ ├── ic_incomplete_circle_24.xml
│ │ │ ├── ic_insert_photo_48.xml
│ │ │ ├── ic_instagram.xml
│ │ │ ├── ic_keyboard_arrow_down_24.xml
│ │ │ ├── ic_kickstarter.xml
│ │ │ ├── ic_lastfm.xml
│ │ │ ├── ic_launcher_foreground.xml
│ │ │ ├── ic_letterboxd.xml
│ │ │ ├── ic_location_24.xml
│ │ │ ├── ic_medium.xml
│ │ │ ├── ic_mobcrush.xml
│ │ │ ├── ic_more_vert.xml
│ │ │ ├── ic_netflix.xml
│ │ │ ├── ic_notification_icon.xml
│ │ │ ├── ic_open_in_browser_24.xml
│ │ │ ├── ic_open_in_new_24.xml
│ │ │ ├── ic_osu.xml
│ │ │ ├── ic_outline_bookmarks_24.xml
│ │ │ ├── ic_outline_explore_24.xml
│ │ │ ├── ic_outline_home_24.xml
│ │ │ ├── ic_outline_info_24.xml
│ │ │ ├── ic_outline_person_24.xml
│ │ │ ├── ic_outline_view_list_24.xml
│ │ │ ├── ic_patreon.xml
│ │ │ ├── ic_person_24.xml
│ │ │ ├── ic_player_me.xml
│ │ │ ├── ic_raptr.xml
│ │ │ ├── ic_reddit.xml
│ │ │ ├── ic_remove_24.xml
│ │ │ ├── ic_restore_24.xml
│ │ │ ├── ic_save_24.xml
│ │ │ ├── ic_save_alt_24.xml
│ │ │ ├── ic_schedule_24.xml
│ │ │ ├── ic_search_24.xml
│ │ │ ├── ic_settings_24.xml
│ │ │ ├── ic_share_24.xml
│ │ │ ├── ic_shortcut_library_24.xml
│ │ │ ├── ic_shortcut_search_24.xml
│ │ │ ├── ic_shortcut_settings_24.xml
│ │ │ ├── ic_soundcloud.xml
│ │ │ ├── ic_splashscreen.xml
│ │ │ ├── ic_star_24.xml
│ │ │ ├── ic_star_outline_24.xml
│ │ │ ├── ic_steam.xml
│ │ │ ├── ic_sync_24.xml
│ │ │ ├── ic_trakt.xml
│ │ │ ├── ic_tubitv.xml
│ │ │ ├── ic_tumblr.xml
│ │ │ ├── ic_twitch.xml
│ │ │ ├── ic_twitter.xml
│ │ │ ├── ic_view_list_24.xml
│ │ │ ├── ic_vimeo.xml
│ │ │ ├── ic_vrv.xml
│ │ │ ├── ic_watch_later_24.xml
│ │ │ ├── ic_website.xml
│ │ │ ├── ic_youtube.xml
│ │ │ ├── onboarding_login_logo.xml
│ │ │ ├── profile_picture_placeholder.xml
│ │ │ ├── progress_horizontal.xml
│ │ │ ├── radial_edge_fade.xml
│ │ │ ├── rectangle_background.xml
│ │ │ ├── selectable_item_background.xml
│ │ │ ├── selector_home.xml
│ │ │ ├── selector_library.xml
│ │ │ ├── selector_profile.xml
│ │ │ ├── selector_search.xml
│ │ │ ├── top_edge_fade.xml
│ │ │ ├── top_edge_fade_surface.xml
│ │ │ ├── translucent_background.xml
│ │ │ └── widget_rounded_rect.xml
│ │ ├── drawable-night/
│ │ │ └── progress_horizontal.xml
│ │ ├── layout/
│ │ │ ├── activity_authentication.xml
│ │ │ ├── activity_main.xml
│ │ │ ├── activity_photo_view.xml
│ │ │ ├── custom_edit_text_preference.xml
│ │ │ ├── custom_number_spinner.xml
│ │ │ ├── custom_preference_switch.xml
│ │ │ ├── fragment_app_logs.xml
│ │ │ ├── fragment_categories.xml
│ │ │ ├── fragment_characters.xml
│ │ │ ├── fragment_details.xml
│ │ │ ├── fragment_edit_library_entry.xml
│ │ │ ├── fragment_edit_profile.xml
│ │ │ ├── fragment_filter_facet.xml
│ │ │ ├── fragment_home_explore.xml
│ │ │ ├── fragment_library.xml
│ │ │ ├── fragment_main.xml
│ │ │ ├── fragment_media_list.xml
│ │ │ ├── fragment_os_libraries.xml
│ │ │ ├── fragment_preference.xml
│ │ │ ├── fragment_profile.xml
│ │ │ ├── fragment_search.xml
│ │ │ ├── fragment_web_view.xml
│ │ │ ├── item_category_node.xml
│ │ │ ├── item_character.xml
│ │ │ ├── item_character_filter.xml
│ │ │ ├── item_character_search_result.xml
│ │ │ ├── item_details_info_row.xml
│ │ │ ├── item_dropdown.xml
│ │ │ ├── item_episode.xml
│ │ │ ├── item_facet.xml
│ │ │ ├── item_library_entry.xml
│ │ │ ├── item_library_status_separator.xml
│ │ │ ├── item_list_option.xml
│ │ │ ├── item_media.xml
│ │ │ ├── item_media_mapping.xml
│ │ │ ├── item_network_state.xml
│ │ │ ├── item_profile_site_chip.xml
│ │ │ ├── item_profile_stats.xml
│ │ │ ├── item_single_character.xml
│ │ │ ├── item_streamer.xml
│ │ │ ├── item_theme_option.xml
│ │ │ ├── layout_resource_loading.xml
│ │ │ ├── layout_search_provider_loading.xml
│ │ │ ├── layout_theme_picker_preference.xml
│ │ │ ├── section_details_description.xml
│ │ │ ├── section_details_info.xml
│ │ │ ├── section_details_stats.xml
│ │ │ ├── section_details_trailer.xml
│ │ │ ├── section_main_explore.xml
│ │ │ ├── sheet_character_details.xml
│ │ │ ├── sheet_edit_profile_link.xml
│ │ │ ├── sheet_library_rating.xml
│ │ │ ├── sheet_manage_library.xml
│ │ │ ├── sheet_media_mappings.xml
│ │ │ ├── sheet_media_unit_details.xml
│ │ │ └── sheet_select_profile_link_site.xml
│ │ ├── layout-w600dp/
│ │ │ └── activity_main.xml
│ │ ├── menu/
│ │ │ ├── category_dialog_menu.xml
│ │ │ ├── details_menu.xml
│ │ │ ├── filter_facet_menu.xml
│ │ │ ├── library_menu.xml
│ │ │ ├── logs_menu.xml
│ │ │ ├── main_nav_menu.xml
│ │ │ ├── profile_menu.xml
│ │ │ └── webview_menu.xml
│ │ ├── mipmap-anydpi-v26/
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ ├── navigation/
│ │ │ ├── main_nav_graph.xml
│ │ │ └── settings_nav_graph.xml
│ │ ├── resources.properties
│ │ ├── values/
│ │ │ ├── MdcThemeAdapter.xml
│ │ │ ├── arrays.xml
│ │ │ ├── attr.xml
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── integers.xml
│ │ │ ├── preference_keys.xml
│ │ │ ├── strings.xml
│ │ │ ├── styles.xml
│ │ │ └── themes.xml
│ │ ├── values-af/
│ │ │ └── strings.xml
│ │ ├── values-de/
│ │ │ └── strings.xml
│ │ ├── values-es/
│ │ │ └── strings.xml
│ │ ├── values-fr/
│ │ │ └── strings.xml
│ │ ├── values-it/
│ │ │ └── strings.xml
│ │ ├── values-land/
│ │ │ └── dimens.xml
│ │ ├── values-night/
│ │ │ ├── colors.xml
│ │ │ └── themes.xml
│ │ ├── values-pt/
│ │ │ └── strings.xml
│ │ ├── values-pt-rBR/
│ │ │ └── strings.xml
│ │ ├── values-ru/
│ │ │ └── strings.xml
│ │ ├── values-ta/
│ │ │ └── strings.xml
│ │ ├── values-tr/
│ │ │ └── strings.xml
│ │ ├── values-v31/
│ │ │ └── styles.xml
│ │ ├── values-vi/
│ │ │ └── strings.xml
│ │ ├── values-w1240dp/
│ │ │ └── dimens.xml
│ │ ├── values-zh-rCN/
│ │ │ └── strings.xml
│ │ ├── xml/
│ │ │ ├── app_preferences.xml
│ │ │ ├── appearance_preferences.xml
│ │ │ ├── backup_rules.xml
│ │ │ ├── backup_rules_sdk31.xml
│ │ │ ├── filepaths.xml
│ │ │ └── library_widget_info.xml
│ │ └── xml-v25/
│ │ └── shortcuts.xml
│ └── test/
│ ├── java/
│ │ └── io/
│ │ └── github/
│ │ └── drumber/
│ │ └── kitsune/
│ │ ├── archunit/
│ │ │ └── ArchUnitTest.kt
│ │ ├── data/
│ │ │ ├── mapper/
│ │ │ │ ├── AuthMapperTest.kt
│ │ │ │ ├── CharacterMapperTest.kt
│ │ │ │ ├── MediaMapperTest.kt
│ │ │ │ └── UserMapperTest.kt
│ │ │ ├── presentation/
│ │ │ │ └── model/
│ │ │ │ ├── library/
│ │ │ │ │ ├── LibraryEntryModificationTest.kt
│ │ │ │ │ └── LibraryEntryWithModificationTest.kt
│ │ │ │ └── media/
│ │ │ │ └── MediaTest.kt
│ │ │ ├── repository/
│ │ │ │ ├── AccessTokenRepositoryTest.kt
│ │ │ │ ├── AlgoliaKeyRepositoryTest.kt
│ │ │ │ ├── AppUpdateRepositoryTest.kt
│ │ │ │ ├── LibraryRepositoryTest.kt
│ │ │ │ └── UserRepositoryTest.kt
│ │ │ └── source/
│ │ │ ├── local/
│ │ │ │ ├── auth/
│ │ │ │ │ └── LocalAccessTokenTest.kt
│ │ │ │ └── library/
│ │ │ │ └── model/
│ │ │ │ └── LocalLibraryEntryModificationTest.kt
│ │ │ └── network/
│ │ │ └── PageDataTest.kt
│ │ ├── domain/
│ │ │ ├── auth/
│ │ │ │ ├── LogInUserUseCaseTest.kt
│ │ │ │ ├── LogOutUserUseCaseTest.kt
│ │ │ │ ├── RefreshAccessTokenIfExpiredUseCaseTest.kt
│ │ │ │ └── RefreshAccessTokenUseCaseTest.kt
│ │ │ ├── library/
│ │ │ │ └── SynchronizeLocalLibraryModificationsUseCaseTest.kt
│ │ │ └── user/
│ │ │ └── UpdateLocalUserUseCaseTest.kt
│ │ ├── testutils/
│ │ │ ├── AndroidLoggerMock.kt
│ │ │ ├── FakeCharacter.kt
│ │ │ ├── FakeImage.kt
│ │ │ ├── FakeLibraryEntry.kt
│ │ │ ├── FakeLibraryEntryModification.kt
│ │ │ ├── FakeMedia.kt
│ │ │ ├── FakeUser.kt
│ │ │ ├── KoinTestModules.kt
│ │ │ ├── SuspendFunctionHelper.kt
│ │ │ └── network/
│ │ │ ├── FakeHttpException.kt
│ │ │ └── NoOpAuthenticationInterceptor.kt
│ │ └── util/
│ │ ├── DateUtilTest.kt
│ │ └── rating/
│ │ └── RatingFrequenciesUtilTest.kt
│ └── resources/
│ └── mockito-extensions/
│ └── org.mockito.plugins.MockMaker
├── build.gradle.kts
├── docs/
│ └── hidden-actions.md
├── fastlane/
│ ├── Appfile
│ ├── Fastfile
│ ├── README.md
│ ├── Workflow.md
│ └── metadata/
│ └── android/
│ ├── en-US/
│ │ ├── changelogs/
│ │ │ ├── 25.txt
│ │ │ ├── 26.txt
│ │ │ ├── 27.txt
│ │ │ ├── 28.txt
│ │ │ ├── 29.txt
│ │ │ ├── 30.txt
│ │ │ ├── 31.txt
│ │ │ ├── 32.txt
│ │ │ ├── 33.txt
│ │ │ ├── 34.txt
│ │ │ ├── 35.txt
│ │ │ ├── 36.txt
│ │ │ ├── 37.txt
│ │ │ ├── 38.txt
│ │ │ └── 39.txt
│ │ ├── full_description.txt
│ │ ├── short_description.txt
│ │ ├── title.txt
│ │ └── video.txt
│ └── zh-CN/
│ ├── full_description.txt
│ ├── short_description.txt
│ └── title.txt
├── gradle/
│ ├── libs.versions.toml
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── plugin/
│ ├── .gitignore
│ ├── build.gradle.kts
│ ├── settings.gradle.kts
│ └── src/
│ └── main/
│ └── java/
│ └── io/
│ └── github/
│ └── drumber/
│ └── plugin/
│ ├── CustomPlugin.kt
│ ├── ExtractLocalesTask.kt
│ └── ReplaceShortcutsPackageTask.kt
└── settings.gradle.kts
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yml
================================================
name: Bug Report
description: Create a report for bugs or other issues you've encountered.
labels: [ bug ]
body:
- type: textarea
id: summary
attributes:
label: Problem description
description: A clear and concise description of the issue.
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: Steps to reproduce
description: Describe the steps to reproduce the issue.
placeholder: |
Example:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
- type: input
id: app-version
attributes:
label: App version
description: The installed app version (Settings > About).
placeholder: 1.0.0
validations:
required: true
- type: input
id: android-version
attributes:
label: Android version
description: The Android version of your device.
placeholder: "10"
validations:
required: true
- type: input
id: device
attributes:
label: Device information
description: |
Optional: The device model you're using.
placeholder: e.g. Google Pixel 4
- type: textarea
id: attachments
attributes:
label: Attachments and Logs
description: |
If applicable, add screenshots or screen recordings to help explain the issue.
You can also paste or upload logs here (you can find them in Settings > Application Logs).
- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
options:
- label: I have searched the open and closed [issues](https://github.com/Drumber/Kitsune/issues?q=is%3Aissue) and this is **NOT** a duplicate.
required: true
- label: I'm using the latest version of the app.
required: true
- label: I have provided all required information.
required: true
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.yml
================================================
name: Feature Request
description: Suggest new features or improvements for the app.
labels: [ enhancement ]
body:
- type: textarea
id: description
attributes:
label: Description
description: Describe the feature you'd like to see.
validations:
required: true
- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
options:
- label: I have searched the open and closed [issues](https://github.com/Drumber/Kitsune/issues?q=is%3Aissue) and this is **NOT** a duplicate.
required: true
================================================
FILE: .github/workflows/build.yml
================================================
name: Build app
on:
workflow_dispatch:
inputs:
buildVariant:
description: 'App build variant'
required: false
default: 'release'
workflow_call:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Set gradle build task
run: |
if [ -z "${{ github.event.inputs.buildVariant }}" ]; then
echo "build_task='assembleRelease'" >> "$GITHUB_ENV"
else
echo "build_task=assemble${{ github.event.inputs.buildVariant }}" >> "$GITHUB_ENV"
fi
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: ${{ env.build_task }}
- name: Copy apk files
run: mkdir -p ./artifacts && cp app/build/outputs/apk/**/*.apk ./artifacts/
- name: Upload apk
uses: actions/upload-artifact@v4
with:
name: app-unsigned
path: artifacts/*.apk
if-no-files-found: error
================================================
FILE: .github/workflows/reproducible-build.yml
================================================
name: Verify reproducible build
on:
workflow_dispatch:
inputs:
releaseTag:
description: Tag of the release to download
required: true
release:
types: [ published ]
permissions:
contents: write
jobs:
build:
uses: ./.github/workflows/build.yml
verify:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install apksigner python3-click apksigcopier -y
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: app-unsigned
- run: mv *.apk unsigned.apk
- name: Set asset URL
id: set_asset_url
run: |
if [ "${{ github.event_name }}" = "release" ]; then
echo "release_tag=${{ github.event.release.tag_name }}" >> "$GITHUB_ENV"
else
echo "release_tag=${{ github.event.inputs.releaseTag }}" >> "$GITHUB_ENV"
fi
- name: Download release asset
run: |
gh release download "$release_tag" --pattern "*.apk" --output upstream.apk --repo "$REPO"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
- name: Compare APKs
run: apksigcopier compare upstream.apk --unsigned unsigned.apk && echo OK
================================================
FILE: .github/workflows/test.yml
================================================
name: Test app
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Test with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: testDebugUnitTest
================================================
FILE: .gitignore
================================================
# Built application files
*.apk
*.aar
*.ap_
*.aab
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
out/
# Uncomment the following line in case you need and you don't have the release build type files in your app
# release/
# Gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/
# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
.idea/jarRepositories.xml
.idea/deploymentTargetDropDown.xml
.idea/misc.xml
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml
# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
#*.jks
#*.keystore
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
.cxx/
# Google Services (e.g. APIs or Firebase)
# google-services.json
# Freeline
freeline.py
freeline/
freeline_project_description.json
# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md
# Ruby bundler
/.bundle/
# Version control
vcs.xml
# lint
lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
# Android Profiling
*.hprof
================================================
FILE: .idea/.gitignore
================================================
# Default ignored files
/shelf/
/workspace.xml
/androidTestResultsUserPreferences.xml
/deploymentTargetSelector.xml
/inspectionProfiles/Project_Default.xml
/runConfigurations.xml
/studiobot.xml
/deviceManager.xml
================================================
FILE: .idea/AndroidProjectSystem.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidProjectSystem">
<option name="providerId" value="com.android.tools.idea.GradleProjectSystem" />
</component>
</project>
================================================
FILE: .idea/codeStyles/Project.xml
================================================
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</value>
</option>
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="XML">
<option name="FORCE_REARRANGE_MODE" value="1" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
</component>
================================================
FILE: .idea/codeStyles/codeStyleConfig.xml
================================================
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
================================================
FILE: .idea/compiler.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>
================================================
FILE: .idea/kotlinc.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="2.2.20" />
</component>
</project>
================================================
FILE: CODE_OF_CONDUCT.md
================================================
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the project team by [opening an new issue](https://github.com/Drumber/Kitsune/issues/new/choose).
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
================================================
FILE: CONTRIBUTING.md
================================================
# Contributing to Kitsune
Thank you for your interest in contributing to Kitsune! Any support is greatly appreciated.
## Ways to Contribute
Any contributions are welcomed, including but not limited to:
### 1. Code Contributions
- Check out the [open issues](https://github.com/Drumber/Kitsune/issues) or the [project board](https://github.com/users/Drumber/projects/2) and pick one to work on.
- See [How to Contribute Code Changes](#how-to-contribute-code-changes) to get started.
- Submit a pull request with your changes.
### 2. Image assets and Logos
Interested in making Kitsune more visually appealing?
Don't hesitate to open a [new issue](https://github.com/Drumber/Kitsune/issues/new/choose) or [discussion](https://github.com/Drumber/Kitsune/discussions/new/choose) if you want to create:
- custom placeholder images for media and user banners, posters or character photos
- a new app icon
- or any other design contribution.
### 3. Translation
- Contribute translations for different languages to make the app accessible globally.
- Copy the [string.xml](app/src/main/res/values/strings.xml) file to a new folder named `values-LANG` (e.g. `values-fr` for French) inside the [res](app/src/main/res) directory.
- Remove strings with `translatable="false"`.
- Keep placeholders like `%s` or `%d` in the strings.
- Submit a pull request with your changes.
### 4. Documentation and Repository Files
- Improve the documentation or contribute to other repository files, like issue templates.
## How to Contribute Code Changes
To start developing, follow these simple steps:
1. **Set Up Your Environment:**
- Make sure you have [Android Studio](https://developer.android.com/studio) installed.
- Familiarize yourself with [Kotlin](https://kotlinlang.org/) as it's the primary language used in the app.
2. **Clone the Repository**
3. **Build and Run:**
- Open the project in Android Studio.
- Build and run the app to ensure everything is set up correctly.
================================================
FILE: Gemfile
================================================
source "https://rubygems.org"
gem "fastlane"
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================
<div align="center">
<img src="./media/kitsune-logo.svg">
<h1>Kitsune</h1>
</div>
Unofficial android app for [Kitsu](https://kitsu.app). Discover new anime and manga and manage your library.
## Features
- Explore and search anime and manga, even without an account
- View anime and manga details including episodes/chapters and characters
- Manage your Kitsu library and account settings
- Cached library for offline use
- Multiple dark and light app themes
- Material 3 Design
- Home screen widget
#### Missing features
- Reactions/Comments
- Global message feed and announcements
- Groups
- Search for other users
## Download
> Requires Android 8.0 or higher.
Kitsune is available for download on GitHub and F-Droid.
[Download latest app release on GitHub.](https://github.com/Drumber/Kitsune/releases/latest)
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="75">](https://f-droid.org/packages/io.github.drumber.kitsune/)
## Localization
Are you interested in translating Kitsune into your language?
Head over to the Kitsune project on [Hosted Weblate](https://hosted.weblate.org/engage/kitsune/) and help localize the app.
[](https://hosted.weblate.org/engage/kitsune/)
## Bug reports, Feature requests and Contribution
> Please be aware of the [Code of Conduct](CODE_OF_CONDUCT.md) in place.
**Report a bug or request a new feature**
- Please check out [existing issues](https://github.com/Drumber/Kitsune/issues?q=is%3Aissue) first to avoid duplicates.
- [Open a new issue](https://github.com/Drumber/Kitsune/issues/new/choose)
**Contribute to Kitsune**
- See [Contributing](CONTRIBUTING.md) for more details.
## Screenshots
<img src="./media/light_home_screen_framed.png" width="250"> <img src="./media/dark_home_screen_framed.png" width="250"> <img src="./media/dark_purple_home_screen_framed.png" width="250">
<img src="./media/dark_details_screen_framed.png" width="250"> <img src="./media/light_details_ratings_screen_framed.png" width="250">
================================================
FILE: app/.gitignore
================================================
/build
/release
================================================
FILE: app/build.gradle.kts
================================================
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.android.legacy.kapt)
alias(libs.plugins.ksp)
alias(libs.plugins.androidx.navigation.safeargs)
alias(libs.plugins.aboutlibraries.plugin)
alias(libs.plugins.jetbrains.kotlin.parcelize)
alias(libs.plugins.jetbrains.kotlin.serialization)
id("kitsune-plugin")
}
val screenshotMode: String by project
android {
namespace = "io.github.drumber.kitsune"
compileSdk = 36
buildToolsVersion = "36.0.0"
defaultConfig {
applicationId = "io.github.drumber.kitsune"
minSdk = 26
targetSdk = 35
versionCode = 39
versionName = "2.0.6"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("boolean", "SCREENSHOT_MODE_ENABLED", screenshotMode)
buildConfigField("boolean", "INSTRUMENTED_TEST", "false")
}
androidResources {
generateLocaleConfig = true
}
buildTypes {
getByName("release") {
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
signingConfig = signingConfigs.getByName("debug")
vcsInfo.include = false
}
getByName("debug") {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
isDebuggable = true
}
create("instrumented") {
initWith(getByName("debug"))
applicationIdSuffix = ".instrumented"
buildConfigField("boolean", "INSTRUMENTED_TEST", "true")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildFeatures {
viewBinding = true
dataBinding = true
buildConfig = true
compose = true
}
packaging {
resources.excludes += "META-INF/*.kotlin_module"
}
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
testOptions {
animationsDisabled = true
testBuildType = "instrumented"
}
}
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_11
languageVersion = KotlinVersion.KOTLIN_2_2
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
}
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
aboutLibraries {
offlineMode = true
// Remove the "generated" timestamp to allow for reproducible builds
excludeFields = arrayOf("generated")
}
dependencies {
// Android core and support libs
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.constraint.layout)
implementation(libs.androidx.core.splashscreen)
// Compose
val composeBom = platform(libs.androidx.compose.bom)
implementation(composeBom)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.material3.adaptive)
implementation(libs.accompanist.themeadapter.material3)
implementation(libs.accompanist.permissions)
implementation(libs.androidx.compose.ui.tooling.preview)
debugImplementation(libs.androidx.compose.ui.tooling)
// SwipeRefresh layout
implementation(libs.androidx.swiperefreshlayout)
// Navigation
implementation(libs.androidx.navigation.fragment.ktx)
implementation(libs.androidx.navigation.ui.ktx)
implementation(libs.androidx.fragment.ktx)
// Preference
implementation(libs.androidx.preference.ktx)
// Lifecycle
implementation(libs.androidx.lifecycle.viewmodel.ktx)
implementation(libs.androidx.lifecycle.livedata.ktx)
// WorkManager
implementation(libs.androidx.workmanager)
// Material
implementation(libs.google.android.material)
// Glance AppWidget
implementation(libs.androidx.glance.appwidget)
implementation(libs.androidx.glance.material3)
implementation(libs.androidx.glance.preview)
// Kotlin coroutines
implementation(libs.jetbrains.kotlinx.coroutines.core)
implementation(libs.jetbrains.kotlinx.coroutines.android)
// Paging
implementation(libs.androidx.paging.runtime.ktx)
// Room
implementation(libs.androidx.room.runtime)
implementation(libs.androidx.room.ktx)
ksp(libs.androidx.room.compiler)
implementation(libs.androidx.room.paging)
// ViewPager
implementation(libs.androidx.viewpager2)
// Glide
implementation(libs.bumptech.glide)
ksp(libs.bumptech.glide.ksp)
implementation(libs.bumptech.glide.okhttp3)
implementation(libs.bumptech.glide.compose)
// Koin DI
implementation(libs.insert.koin.android)
implementation(libs.insert.koin.androidx.navigation)
// jsonapi-converter
implementation(libs.jasminb.jsonapi)
// Jackson
implementation(libs.fasterxml.jackson.databind)
implementation(libs.fasterxml.jackson.kotlin)
// Retrofit
implementation(libs.squareup.retrofit2.retrofit)
implementation(libs.squareup.retrofit2.jackson)
// OkHttp
implementation(libs.squareup.okhttp3.okhttp)
implementation(libs.squareup.okhttp3.logging)
// Algolia Instantsearch
implementation(libs.algolia.instantsearch.android)
implementation(libs.algolia.instantsearch.android.paging3)
implementation(libs.algolia.instantsearch.coroutines)
// Kotlinx serialization
implementation(libs.jetbrains.kotlinx.serialization)
// Ktor client
implementation(libs.ktor.client.okhttp)
// Kotpref
implementation(libs.chibatching.kotpref)
implementation(libs.chibatching.kotpref.enum)
implementation(libs.chibatching.kotpref.livedata)
// Security Crypto
implementation(libs.androidx.security.crypto)
// TreeView
implementation(libs.bmelnychuk.treeview)
// Expandable text view
implementation(libs.blogc.expandabletextview)
// CircleImageView
implementation(libs.hdodenhof.circleimageview)
// Material Rating Bar
implementation(libs.zhanghai.materialratingbar)
// MPAndroidCharts
implementation(libs.philjay.mpandroidchart)
// Photo View
implementation(libs.chrisbanes.photoview)
// Hauler Gesture
implementation(libs.futured.hauler)
implementation(libs.futured.hauler.databinding)
// AboutLibraries
implementation(libs.mikepenz.aboutlibraries.core)
implementation(libs.mikepenz.aboutlibraries)
// LeakCanary
debugImplementation(libs.squareup.leakcanary)
// Glide Transformations (only used for demo screenshots)
if (screenshotMode.toBoolean()) {
implementation(libs.wasabeef.glide.transformations)
}
// Tests
testImplementation(libs.junit)
testImplementation(libs.assertj.core)
testImplementation(libs.tngtech.archunit.junit4)
testImplementation(libs.robolectric)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.junit.ktx)
androidTestImplementation(libs.androidx.test.rules)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.espresso.contrib)
// Compose tests
androidTestImplementation(composeBom)
androidTestImplementation(libs.androidx.compose.ui.test)
debugImplementation(libs.androidx.compose.ui.test.manifest)
testImplementation(libs.jetbrains.kotlinx.coroutines.test)
testImplementation(libs.insert.koin.test.junit4)
testImplementation(libs.mockito.kotlin)
testImplementation(libs.datafaker)
// fastlane screengrab
androidTestImplementation(libs.fastlane.screengrab)
}
================================================
FILE: app/gradle.properties
================================================
# set to 'true' to apply blur effect to images (note: build target must be 'debug')
screenshotMode=false
================================================
FILE: app/proguard-rules.pro
================================================
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
#-printusage r8-report/usage.txt
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate
# General
-keepattributes SourceFile,LineNumberTable,Signature,*Annotation*,EnclosingMethod,Exceptions,InnerClasses
# Kotlin reflection
-keep class kotlin.Metadata { *; }
# Slf4j
-dontwarn org.slf4j.impl.StaticLoggerBinder
-dontwarn org.slf4j.impl.StaticMDCBinder
# Jackson
-keepnames class com.fasterxml.jackson.** { *; }
-keepclassmembers class * {
@com.fasterxml.jackson.annotation.* *;
}
-dontwarn com.fasterxml.jackson.databind.**
# jsonapi-converter
-keepclassmembers class * {
@com.github.jasminb.jsonapi.annotations.* *;
}
-keep class * implements com.github.jasminb.jsonapi.ResourceIdHandler
# MPAndroidChart
-keep class com.github.mikephil.charting.** { *; }
############################################
# Kitsune specific rules
############################################
# keep all classes
-keep class io.github.drumber.kitsune.** { *; }
# keep search filters
-keep class io.github.drumber.kitsune.domain.algolia.FilterCollectionEntry** { *; }
-keep class com.algolia.instantsearch.filter.state.FilterGroupID** { *; }
-keep class com.algolia.instantsearch.filter.state.Filters** { *; }
-keep class com.algolia.search.model.filter.Filter** { *; }
-keep class com.algolia.search.model.Attribute** { *; }
================================================
FILE: app/schemas/io.github.drumber.kitsune.data.source.local.LocalDatabase/1.json
================================================
{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "9ffeea6c7e014697eeeb8de0dbec5a99",
"entities": [
{
"tableName": "library_entries",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `updatedAt` TEXT, `startedAt` TEXT, `finishedAt` TEXT, `progressedAt` TEXT, `status` INTEGER, `progress` INTEGER, `reconsuming` INTEGER, `reconsumeCount` INTEGER, `volumesOwned` INTEGER, `ratingTwenty` INTEGER, `notes` TEXT, `privateEntry` INTEGER, `reactionSkipped` TEXT, `anime_id` TEXT, `anime_slug` TEXT, `anime_description` TEXT, `anime_titles` TEXT, `anime_canonicalTitle` TEXT, `anime_abbreviatedTitles` TEXT, `anime_averageRating` TEXT, `anime_userCount` INTEGER, `anime_favoritesCount` INTEGER, `anime_popularityRank` INTEGER, `anime_ratingRank` INTEGER, `anime_startDate` TEXT, `anime_endDate` TEXT, `anime_nextRelease` TEXT, `anime_tba` TEXT, `anime_status` TEXT, `anime_ageRating` TEXT, `anime_ageRatingGuide` TEXT, `anime_nsfw` INTEGER, `anime_totalLength` INTEGER, `anime_episodeCount` INTEGER, `anime_episodeLength` INTEGER, `anime_youtubeVideoId` TEXT, `anime_subtype` TEXT, `anime_rating_r2` TEXT, `anime_rating_r3` TEXT, `anime_rating_r4` TEXT, `anime_rating_r5` TEXT, `anime_rating_r6` TEXT, `anime_rating_r7` TEXT, `anime_rating_r8` TEXT, `anime_rating_r9` TEXT, `anime_rating_r10` TEXT, `anime_rating_r11` TEXT, `anime_rating_r12` TEXT, `anime_rating_r13` TEXT, `anime_rating_r14` TEXT, `anime_rating_r15` TEXT, `anime_rating_r16` TEXT, `anime_rating_r17` TEXT, `anime_rating_r18` TEXT, `anime_rating_r19` TEXT, `anime_rating_r20` TEXT, `anime_poster_tiny` TEXT, `anime_poster_small` TEXT, `anime_poster_medium` TEXT, `anime_poster_large` TEXT, `anime_poster_original` TEXT, `anime_poster_meta_tiny_width` INTEGER, `anime_poster_meta_tiny_height` INTEGER, `anime_poster_meta_small_width` INTEGER, `anime_poster_meta_small_height` INTEGER, `anime_poster_meta_medium_width` INTEGER, `anime_poster_meta_medium_height` INTEGER, `anime_poster_meta_large_width` INTEGER, `anime_poster_meta_large_height` INTEGER, `anime_cover_tiny` TEXT, `anime_cover_small` TEXT, `anime_cover_medium` TEXT, `anime_cover_large` TEXT, `anime_cover_original` TEXT, `anime_cover_meta_tiny_width` INTEGER, `anime_cover_meta_tiny_height` INTEGER, `anime_cover_meta_small_width` INTEGER, `anime_cover_meta_small_height` INTEGER, `anime_cover_meta_medium_width` INTEGER, `anime_cover_meta_medium_height` INTEGER, `anime_cover_meta_large_width` INTEGER, `anime_cover_meta_large_height` INTEGER, `manga_id` TEXT, `manga_slug` TEXT, `manga_description` TEXT, `manga_titles` TEXT, `manga_canonicalTitle` TEXT, `manga_abbreviatedTitles` TEXT, `manga_averageRating` TEXT, `manga_userCount` INTEGER, `manga_favoritesCount` INTEGER, `manga_popularityRank` INTEGER, `manga_ratingRank` INTEGER, `manga_startDate` TEXT, `manga_endDate` TEXT, `manga_nextRelease` TEXT, `manga_tba` TEXT, `manga_status` TEXT, `manga_ageRating` TEXT, `manga_ageRatingGuide` TEXT, `manga_nsfw` INTEGER, `manga_totalLength` INTEGER, `manga_chapterCount` INTEGER, `manga_volumeCount` INTEGER, `manga_subtype` TEXT, `manga_serialization` TEXT, `manga_rating_r2` TEXT, `manga_rating_r3` TEXT, `manga_rating_r4` TEXT, `manga_rating_r5` TEXT, `manga_rating_r6` TEXT, `manga_rating_r7` TEXT, `manga_rating_r8` TEXT, `manga_rating_r9` TEXT, `manga_rating_r10` TEXT, `manga_rating_r11` TEXT, `manga_rating_r12` TEXT, `manga_rating_r13` TEXT, `manga_rating_r14` TEXT, `manga_rating_r15` TEXT, `manga_rating_r16` TEXT, `manga_rating_r17` TEXT, `manga_rating_r18` TEXT, `manga_rating_r19` TEXT, `manga_rating_r20` TEXT, `manga_poster_tiny` TEXT, `manga_poster_small` TEXT, `manga_poster_medium` TEXT, `manga_poster_large` TEXT, `manga_poster_original` TEXT, `manga_poster_meta_tiny_width` INTEGER, `manga_poster_meta_tiny_height` INTEGER, `manga_poster_meta_small_width` INTEGER, `manga_poster_meta_small_height` INTEGER, `manga_poster_meta_medium_width` INTEGER, `manga_poster_meta_medium_height` INTEGER, `manga_poster_meta_large_width` INTEGER, `manga_poster_meta_large_height` INTEGER, `manga_cover_tiny` TEXT, `manga_cover_small` TEXT, `manga_cover_medium` TEXT, `manga_cover_large` TEXT, `manga_cover_original` TEXT, `manga_cover_meta_tiny_width` INTEGER, `manga_cover_meta_tiny_height` INTEGER, `manga_cover_meta_small_width` INTEGER, `manga_cover_meta_small_height` INTEGER, `manga_cover_meta_medium_width` INTEGER, `manga_cover_meta_medium_height` INTEGER, `manga_cover_meta_large_width` INTEGER, `manga_cover_meta_large_height` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "updatedAt",
"columnName": "updatedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "startedAt",
"columnName": "startedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "finishedAt",
"columnName": "finishedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "progressedAt",
"columnName": "progressedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "progress",
"columnName": "progress",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsuming",
"columnName": "reconsuming",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsumeCount",
"columnName": "reconsumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "volumesOwned",
"columnName": "volumesOwned",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "ratingTwenty",
"columnName": "ratingTwenty",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "privateEntry",
"columnName": "privateEntry",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reactionSkipped",
"columnName": "reactionSkipped",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.id",
"columnName": "anime_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.slug",
"columnName": "anime_slug",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.description",
"columnName": "anime_description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.titles",
"columnName": "anime_titles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.canonicalTitle",
"columnName": "anime_canonicalTitle",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.abbreviatedTitles",
"columnName": "anime_abbreviatedTitles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.averageRating",
"columnName": "anime_averageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.userCount",
"columnName": "anime_userCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.favoritesCount",
"columnName": "anime_favoritesCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.popularityRank",
"columnName": "anime_popularityRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.ratingRank",
"columnName": "anime_ratingRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.startDate",
"columnName": "anime_startDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.endDate",
"columnName": "anime_endDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.nextRelease",
"columnName": "anime_nextRelease",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.tba",
"columnName": "anime_tba",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.status",
"columnName": "anime_status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ageRating",
"columnName": "anime_ageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ageRatingGuide",
"columnName": "anime_ageRatingGuide",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.nsfw",
"columnName": "anime_nsfw",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.totalLength",
"columnName": "anime_totalLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.episodeCount",
"columnName": "anime_episodeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.episodeLength",
"columnName": "anime_episodeLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.youtubeVideoId",
"columnName": "anime_youtubeVideoId",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.subtype",
"columnName": "anime_subtype",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r2",
"columnName": "anime_rating_r2",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r3",
"columnName": "anime_rating_r3",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r4",
"columnName": "anime_rating_r4",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r5",
"columnName": "anime_rating_r5",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r6",
"columnName": "anime_rating_r6",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r7",
"columnName": "anime_rating_r7",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r8",
"columnName": "anime_rating_r8",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r9",
"columnName": "anime_rating_r9",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r10",
"columnName": "anime_rating_r10",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r11",
"columnName": "anime_rating_r11",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r12",
"columnName": "anime_rating_r12",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r13",
"columnName": "anime_rating_r13",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r14",
"columnName": "anime_rating_r14",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r15",
"columnName": "anime_rating_r15",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r16",
"columnName": "anime_rating_r16",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r17",
"columnName": "anime_rating_r17",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r18",
"columnName": "anime_rating_r18",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r19",
"columnName": "anime_rating_r19",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r20",
"columnName": "anime_rating_r20",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.tiny",
"columnName": "anime_poster_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.small",
"columnName": "anime_poster_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.medium",
"columnName": "anime_poster_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.large",
"columnName": "anime_poster_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.original",
"columnName": "anime_poster_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.tiny.width",
"columnName": "anime_poster_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.tiny.height",
"columnName": "anime_poster_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.small.width",
"columnName": "anime_poster_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.small.height",
"columnName": "anime_poster_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.medium.width",
"columnName": "anime_poster_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.medium.height",
"columnName": "anime_poster_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.large.width",
"columnName": "anime_poster_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.large.height",
"columnName": "anime_poster_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.tiny",
"columnName": "anime_cover_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.small",
"columnName": "anime_cover_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.medium",
"columnName": "anime_cover_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.large",
"columnName": "anime_cover_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.original",
"columnName": "anime_cover_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.tiny.width",
"columnName": "anime_cover_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.tiny.height",
"columnName": "anime_cover_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.small.width",
"columnName": "anime_cover_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.small.height",
"columnName": "anime_cover_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.medium.width",
"columnName": "anime_cover_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.medium.height",
"columnName": "anime_cover_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.large.width",
"columnName": "anime_cover_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.large.height",
"columnName": "anime_cover_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.id",
"columnName": "manga_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.slug",
"columnName": "manga_slug",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.description",
"columnName": "manga_description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.titles",
"columnName": "manga_titles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.canonicalTitle",
"columnName": "manga_canonicalTitle",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.abbreviatedTitles",
"columnName": "manga_abbreviatedTitles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.averageRating",
"columnName": "manga_averageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.userCount",
"columnName": "manga_userCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.favoritesCount",
"columnName": "manga_favoritesCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.popularityRank",
"columnName": "manga_popularityRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.ratingRank",
"columnName": "manga_ratingRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.startDate",
"columnName": "manga_startDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.endDate",
"columnName": "manga_endDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.nextRelease",
"columnName": "manga_nextRelease",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.tba",
"columnName": "manga_tba",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.status",
"columnName": "manga_status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ageRating",
"columnName": "manga_ageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ageRatingGuide",
"columnName": "manga_ageRatingGuide",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.nsfw",
"columnName": "manga_nsfw",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.totalLength",
"columnName": "manga_totalLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.chapterCount",
"columnName": "manga_chapterCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.volumeCount",
"columnName": "manga_volumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.subtype",
"columnName": "manga_subtype",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.serialization",
"columnName": "manga_serialization",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r2",
"columnName": "manga_rating_r2",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r3",
"columnName": "manga_rating_r3",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r4",
"columnName": "manga_rating_r4",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r5",
"columnName": "manga_rating_r5",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r6",
"columnName": "manga_rating_r6",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r7",
"columnName": "manga_rating_r7",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r8",
"columnName": "manga_rating_r8",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r9",
"columnName": "manga_rating_r9",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r10",
"columnName": "manga_rating_r10",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r11",
"columnName": "manga_rating_r11",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r12",
"columnName": "manga_rating_r12",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r13",
"columnName": "manga_rating_r13",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r14",
"columnName": "manga_rating_r14",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r15",
"columnName": "manga_rating_r15",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r16",
"columnName": "manga_rating_r16",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r17",
"columnName": "manga_rating_r17",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r18",
"columnName": "manga_rating_r18",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r19",
"columnName": "manga_rating_r19",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r20",
"columnName": "manga_rating_r20",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.tiny",
"columnName": "manga_poster_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.small",
"columnName": "manga_poster_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.medium",
"columnName": "manga_poster_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.large",
"columnName": "manga_poster_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.original",
"columnName": "manga_poster_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.tiny.width",
"columnName": "manga_poster_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.tiny.height",
"columnName": "manga_poster_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.small.width",
"columnName": "manga_poster_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.small.height",
"columnName": "manga_poster_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.medium.width",
"columnName": "manga_poster_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.medium.height",
"columnName": "manga_poster_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.large.width",
"columnName": "manga_poster_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.large.height",
"columnName": "manga_poster_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.tiny",
"columnName": "manga_cover_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.small",
"columnName": "manga_cover_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.medium",
"columnName": "manga_cover_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.large",
"columnName": "manga_cover_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.original",
"columnName": "manga_cover_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.tiny.width",
"columnName": "manga_cover_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.tiny.height",
"columnName": "manga_cover_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.small.width",
"columnName": "manga_cover_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.small.height",
"columnName": "manga_cover_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.medium.width",
"columnName": "manga_cover_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.medium.height",
"columnName": "manga_cover_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.large.width",
"columnName": "manga_cover_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.large.height",
"columnName": "manga_cover_meta_large_height",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "library_entries_modifications",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `state` TEXT NOT NULL, `startedAt` TEXT, `finishedAt` TEXT, `status` INTEGER, `progress` INTEGER, `reconsumeCount` INTEGER, `volumesOwned` INTEGER, `ratingTwenty` INTEGER, `notes` TEXT, `privateEntry` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "state",
"columnName": "state",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "startedAt",
"columnName": "startedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "finishedAt",
"columnName": "finishedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "progress",
"columnName": "progress",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsumeCount",
"columnName": "reconsumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "volumesOwned",
"columnName": "volumesOwned",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "ratingTwenty",
"columnName": "ratingTwenty",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "privateEntry",
"columnName": "privateEntry",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "remote_keys",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`resourceId` TEXT NOT NULL COLLATE NOCASE, `remoteKeyType` TEXT NOT NULL, `prevPageKey` INTEGER, `nextPageKey` INTEGER, PRIMARY KEY(`resourceId`))",
"fields": [
{
"fieldPath": "resourceId",
"columnName": "resourceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "remoteKeyType",
"columnName": "remoteKeyType",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "prevPageKey",
"columnName": "prevPageKey",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "nextPageKey",
"columnName": "nextPageKey",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"resourceId"
]
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '9ffeea6c7e014697eeeb8de0dbec5a99')"
]
}
}
================================================
FILE: app/schemas/io.github.drumber.kitsune.data.source.local.LocalDatabase/2.json
================================================
{
"formatVersion": 1,
"database": {
"version": 2,
"identityHash": "21e2d33c7212c6e12b735dc22bf563f5",
"entities": [
{
"tableName": "library_entries",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `updatedAt` TEXT, `startedAt` TEXT, `finishedAt` TEXT, `progressedAt` TEXT, `status` INTEGER, `progress` INTEGER, `reconsuming` INTEGER, `reconsumeCount` INTEGER, `volumesOwned` INTEGER, `ratingTwenty` INTEGER, `notes` TEXT, `privateEntry` INTEGER, `reactionSkipped` TEXT, `anime_id` TEXT, `anime_slug` TEXT, `anime_description` TEXT, `anime_titles` TEXT, `anime_canonicalTitle` TEXT, `anime_abbreviatedTitles` TEXT, `anime_averageRating` TEXT, `anime_userCount` INTEGER, `anime_favoritesCount` INTEGER, `anime_popularityRank` INTEGER, `anime_ratingRank` INTEGER, `anime_startDate` TEXT, `anime_endDate` TEXT, `anime_nextRelease` TEXT, `anime_tba` TEXT, `anime_status` TEXT, `anime_ageRating` TEXT, `anime_ageRatingGuide` TEXT, `anime_nsfw` INTEGER, `anime_totalLength` INTEGER, `anime_episodeCount` INTEGER, `anime_episodeLength` INTEGER, `anime_youtubeVideoId` TEXT, `anime_subtype` TEXT, `anime_rating_r2` TEXT, `anime_rating_r3` TEXT, `anime_rating_r4` TEXT, `anime_rating_r5` TEXT, `anime_rating_r6` TEXT, `anime_rating_r7` TEXT, `anime_rating_r8` TEXT, `anime_rating_r9` TEXT, `anime_rating_r10` TEXT, `anime_rating_r11` TEXT, `anime_rating_r12` TEXT, `anime_rating_r13` TEXT, `anime_rating_r14` TEXT, `anime_rating_r15` TEXT, `anime_rating_r16` TEXT, `anime_rating_r17` TEXT, `anime_rating_r18` TEXT, `anime_rating_r19` TEXT, `anime_rating_r20` TEXT, `anime_poster_tiny` TEXT, `anime_poster_small` TEXT, `anime_poster_medium` TEXT, `anime_poster_large` TEXT, `anime_poster_original` TEXT, `anime_poster_meta_tiny_width` INTEGER, `anime_poster_meta_tiny_height` INTEGER, `anime_poster_meta_small_width` INTEGER, `anime_poster_meta_small_height` INTEGER, `anime_poster_meta_medium_width` INTEGER, `anime_poster_meta_medium_height` INTEGER, `anime_poster_meta_large_width` INTEGER, `anime_poster_meta_large_height` INTEGER, `anime_cover_tiny` TEXT, `anime_cover_small` TEXT, `anime_cover_medium` TEXT, `anime_cover_large` TEXT, `anime_cover_original` TEXT, `anime_cover_meta_tiny_width` INTEGER, `anime_cover_meta_tiny_height` INTEGER, `anime_cover_meta_small_width` INTEGER, `anime_cover_meta_small_height` INTEGER, `anime_cover_meta_medium_width` INTEGER, `anime_cover_meta_medium_height` INTEGER, `anime_cover_meta_large_width` INTEGER, `anime_cover_meta_large_height` INTEGER, `manga_id` TEXT, `manga_slug` TEXT, `manga_description` TEXT, `manga_titles` TEXT, `manga_canonicalTitle` TEXT, `manga_abbreviatedTitles` TEXT, `manga_averageRating` TEXT, `manga_userCount` INTEGER, `manga_favoritesCount` INTEGER, `manga_popularityRank` INTEGER, `manga_ratingRank` INTEGER, `manga_startDate` TEXT, `manga_endDate` TEXT, `manga_nextRelease` TEXT, `manga_tba` TEXT, `manga_status` TEXT, `manga_ageRating` TEXT, `manga_ageRatingGuide` TEXT, `manga_nsfw` INTEGER, `manga_totalLength` INTEGER, `manga_chapterCount` INTEGER, `manga_volumeCount` INTEGER, `manga_subtype` TEXT, `manga_serialization` TEXT, `manga_rating_r2` TEXT, `manga_rating_r3` TEXT, `manga_rating_r4` TEXT, `manga_rating_r5` TEXT, `manga_rating_r6` TEXT, `manga_rating_r7` TEXT, `manga_rating_r8` TEXT, `manga_rating_r9` TEXT, `manga_rating_r10` TEXT, `manga_rating_r11` TEXT, `manga_rating_r12` TEXT, `manga_rating_r13` TEXT, `manga_rating_r14` TEXT, `manga_rating_r15` TEXT, `manga_rating_r16` TEXT, `manga_rating_r17` TEXT, `manga_rating_r18` TEXT, `manga_rating_r19` TEXT, `manga_rating_r20` TEXT, `manga_poster_tiny` TEXT, `manga_poster_small` TEXT, `manga_poster_medium` TEXT, `manga_poster_large` TEXT, `manga_poster_original` TEXT, `manga_poster_meta_tiny_width` INTEGER, `manga_poster_meta_tiny_height` INTEGER, `manga_poster_meta_small_width` INTEGER, `manga_poster_meta_small_height` INTEGER, `manga_poster_meta_medium_width` INTEGER, `manga_poster_meta_medium_height` INTEGER, `manga_poster_meta_large_width` INTEGER, `manga_poster_meta_large_height` INTEGER, `manga_cover_tiny` TEXT, `manga_cover_small` TEXT, `manga_cover_medium` TEXT, `manga_cover_large` TEXT, `manga_cover_original` TEXT, `manga_cover_meta_tiny_width` INTEGER, `manga_cover_meta_tiny_height` INTEGER, `manga_cover_meta_small_width` INTEGER, `manga_cover_meta_small_height` INTEGER, `manga_cover_meta_medium_width` INTEGER, `manga_cover_meta_medium_height` INTEGER, `manga_cover_meta_large_width` INTEGER, `manga_cover_meta_large_height` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "updatedAt",
"columnName": "updatedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "startedAt",
"columnName": "startedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "finishedAt",
"columnName": "finishedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "progressedAt",
"columnName": "progressedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "progress",
"columnName": "progress",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsuming",
"columnName": "reconsuming",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsumeCount",
"columnName": "reconsumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "volumesOwned",
"columnName": "volumesOwned",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "ratingTwenty",
"columnName": "ratingTwenty",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "privateEntry",
"columnName": "privateEntry",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reactionSkipped",
"columnName": "reactionSkipped",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.id",
"columnName": "anime_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.slug",
"columnName": "anime_slug",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.description",
"columnName": "anime_description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.titles",
"columnName": "anime_titles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.canonicalTitle",
"columnName": "anime_canonicalTitle",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.abbreviatedTitles",
"columnName": "anime_abbreviatedTitles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.averageRating",
"columnName": "anime_averageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.userCount",
"columnName": "anime_userCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.favoritesCount",
"columnName": "anime_favoritesCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.popularityRank",
"columnName": "anime_popularityRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.ratingRank",
"columnName": "anime_ratingRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.startDate",
"columnName": "anime_startDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.endDate",
"columnName": "anime_endDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.nextRelease",
"columnName": "anime_nextRelease",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.tba",
"columnName": "anime_tba",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.status",
"columnName": "anime_status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ageRating",
"columnName": "anime_ageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ageRatingGuide",
"columnName": "anime_ageRatingGuide",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.nsfw",
"columnName": "anime_nsfw",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.totalLength",
"columnName": "anime_totalLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.episodeCount",
"columnName": "anime_episodeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.episodeLength",
"columnName": "anime_episodeLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.youtubeVideoId",
"columnName": "anime_youtubeVideoId",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.subtype",
"columnName": "anime_subtype",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r2",
"columnName": "anime_rating_r2",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r3",
"columnName": "anime_rating_r3",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r4",
"columnName": "anime_rating_r4",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r5",
"columnName": "anime_rating_r5",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r6",
"columnName": "anime_rating_r6",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r7",
"columnName": "anime_rating_r7",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r8",
"columnName": "anime_rating_r8",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r9",
"columnName": "anime_rating_r9",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r10",
"columnName": "anime_rating_r10",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r11",
"columnName": "anime_rating_r11",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r12",
"columnName": "anime_rating_r12",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r13",
"columnName": "anime_rating_r13",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r14",
"columnName": "anime_rating_r14",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r15",
"columnName": "anime_rating_r15",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r16",
"columnName": "anime_rating_r16",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r17",
"columnName": "anime_rating_r17",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r18",
"columnName": "anime_rating_r18",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r19",
"columnName": "anime_rating_r19",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.ratingFrequencies.r20",
"columnName": "anime_rating_r20",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.tiny",
"columnName": "anime_poster_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.small",
"columnName": "anime_poster_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.medium",
"columnName": "anime_poster_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.large",
"columnName": "anime_poster_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.original",
"columnName": "anime_poster_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.tiny.width",
"columnName": "anime_poster_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.tiny.height",
"columnName": "anime_poster_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.small.width",
"columnName": "anime_poster_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.small.height",
"columnName": "anime_poster_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.medium.width",
"columnName": "anime_poster_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.medium.height",
"columnName": "anime_poster_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.large.width",
"columnName": "anime_poster_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.posterImage.meta.dimensions.large.height",
"columnName": "anime_poster_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.tiny",
"columnName": "anime_cover_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.small",
"columnName": "anime_cover_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.medium",
"columnName": "anime_cover_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.large",
"columnName": "anime_cover_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.original",
"columnName": "anime_cover_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.tiny.width",
"columnName": "anime_cover_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.tiny.height",
"columnName": "anime_cover_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.small.width",
"columnName": "anime_cover_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.small.height",
"columnName": "anime_cover_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.medium.width",
"columnName": "anime_cover_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.medium.height",
"columnName": "anime_cover_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.large.width",
"columnName": "anime_cover_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "anime.coverImage.meta.dimensions.large.height",
"columnName": "anime_cover_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.id",
"columnName": "manga_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.slug",
"columnName": "manga_slug",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.description",
"columnName": "manga_description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.titles",
"columnName": "manga_titles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.canonicalTitle",
"columnName": "manga_canonicalTitle",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.abbreviatedTitles",
"columnName": "manga_abbreviatedTitles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.averageRating",
"columnName": "manga_averageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.userCount",
"columnName": "manga_userCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.favoritesCount",
"columnName": "manga_favoritesCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.popularityRank",
"columnName": "manga_popularityRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.ratingRank",
"columnName": "manga_ratingRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.startDate",
"columnName": "manga_startDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.endDate",
"columnName": "manga_endDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.nextRelease",
"columnName": "manga_nextRelease",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.tba",
"columnName": "manga_tba",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.status",
"columnName": "manga_status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ageRating",
"columnName": "manga_ageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ageRatingGuide",
"columnName": "manga_ageRatingGuide",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.nsfw",
"columnName": "manga_nsfw",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.totalLength",
"columnName": "manga_totalLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.chapterCount",
"columnName": "manga_chapterCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.volumeCount",
"columnName": "manga_volumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.subtype",
"columnName": "manga_subtype",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.serialization",
"columnName": "manga_serialization",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r2",
"columnName": "manga_rating_r2",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r3",
"columnName": "manga_rating_r3",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r4",
"columnName": "manga_rating_r4",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r5",
"columnName": "manga_rating_r5",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r6",
"columnName": "manga_rating_r6",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r7",
"columnName": "manga_rating_r7",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r8",
"columnName": "manga_rating_r8",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r9",
"columnName": "manga_rating_r9",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r10",
"columnName": "manga_rating_r10",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r11",
"columnName": "manga_rating_r11",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r12",
"columnName": "manga_rating_r12",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r13",
"columnName": "manga_rating_r13",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r14",
"columnName": "manga_rating_r14",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r15",
"columnName": "manga_rating_r15",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r16",
"columnName": "manga_rating_r16",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r17",
"columnName": "manga_rating_r17",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r18",
"columnName": "manga_rating_r18",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r19",
"columnName": "manga_rating_r19",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.ratingFrequencies.r20",
"columnName": "manga_rating_r20",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.tiny",
"columnName": "manga_poster_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.small",
"columnName": "manga_poster_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.medium",
"columnName": "manga_poster_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.large",
"columnName": "manga_poster_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.original",
"columnName": "manga_poster_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.tiny.width",
"columnName": "manga_poster_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.tiny.height",
"columnName": "manga_poster_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.small.width",
"columnName": "manga_poster_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.small.height",
"columnName": "manga_poster_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.medium.width",
"columnName": "manga_poster_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.medium.height",
"columnName": "manga_poster_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.large.width",
"columnName": "manga_poster_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.posterImage.meta.dimensions.large.height",
"columnName": "manga_poster_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.tiny",
"columnName": "manga_cover_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.small",
"columnName": "manga_cover_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.medium",
"columnName": "manga_cover_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.large",
"columnName": "manga_cover_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.original",
"columnName": "manga_cover_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.tiny.width",
"columnName": "manga_cover_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.tiny.height",
"columnName": "manga_cover_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.small.width",
"columnName": "manga_cover_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.small.height",
"columnName": "manga_cover_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.medium.width",
"columnName": "manga_cover_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.medium.height",
"columnName": "manga_cover_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.large.width",
"columnName": "manga_cover_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "manga.coverImage.meta.dimensions.large.height",
"columnName": "manga_cover_meta_large_height",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "library_entries_modifications",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `createTime` INTEGER NOT NULL, `state` TEXT NOT NULL, `startedAt` TEXT, `finishedAt` TEXT, `status` INTEGER, `progress` INTEGER, `reconsumeCount` INTEGER, `volumesOwned` INTEGER, `ratingTwenty` INTEGER, `notes` TEXT, `privateEntry` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "createTime",
"columnName": "createTime",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "state",
"columnName": "state",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "startedAt",
"columnName": "startedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "finishedAt",
"columnName": "finishedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "progress",
"columnName": "progress",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsumeCount",
"columnName": "reconsumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "volumesOwned",
"columnName": "volumesOwned",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "ratingTwenty",
"columnName": "ratingTwenty",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "privateEntry",
"columnName": "privateEntry",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "remote_keys",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`resourceId` TEXT NOT NULL COLLATE NOCASE, `remoteKeyType` TEXT NOT NULL, `prevPageKey` INTEGER, `nextPageKey` INTEGER, PRIMARY KEY(`resourceId`))",
"fields": [
{
"fieldPath": "resourceId",
"columnName": "resourceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "remoteKeyType",
"columnName": "remoteKeyType",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "prevPageKey",
"columnName": "prevPageKey",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "nextPageKey",
"columnName": "nextPageKey",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"resourceId"
]
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '21e2d33c7212c6e12b735dc22bf563f5')"
]
}
}
================================================
FILE: app/schemas/io.github.drumber.kitsune.data.source.local.LocalDatabase/3.json
================================================
{
"formatVersion": 1,
"database": {
"version": 3,
"identityHash": "7979a798f0004298608e29c0014d940d",
"entities": [
{
"tableName": "library_entries",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `updatedAt` TEXT, `startedAt` TEXT, `finishedAt` TEXT, `progressedAt` TEXT, `status` INTEGER, `progress` INTEGER, `reconsuming` INTEGER, `reconsumeCount` INTEGER, `volumesOwned` INTEGER, `ratingTwenty` INTEGER, `notes` TEXT, `privateEntry` INTEGER, `reactionSkipped` TEXT, `media_id` TEXT, `media_type` TEXT, `media_description` TEXT, `media_titles` TEXT, `media_canonicalTitle` TEXT, `media_abbreviatedTitles` TEXT, `media_averageRating` TEXT, `media_popularityRank` INTEGER, `media_ratingRank` INTEGER, `media_startDate` TEXT, `media_endDate` TEXT, `media_nextRelease` TEXT, `media_tba` TEXT, `media_status` TEXT, `media_ageRating` TEXT, `media_ageRatingGuide` TEXT, `media_nsfw` INTEGER, `media_animeSubtype` TEXT, `media_totalLength` INTEGER, `media_episodeCount` INTEGER, `media_episodeLength` INTEGER, `media_mangaSubtype` TEXT, `media_chapterCount` INTEGER, `media_volumeCount` INTEGER, `media_serialization` TEXT, `media_rating_r2` TEXT, `media_rating_r3` TEXT, `media_rating_r4` TEXT, `media_rating_r5` TEXT, `media_rating_r6` TEXT, `media_rating_r7` TEXT, `media_rating_r8` TEXT, `media_rating_r9` TEXT, `media_rating_r10` TEXT, `media_rating_r11` TEXT, `media_rating_r12` TEXT, `media_rating_r13` TEXT, `media_rating_r14` TEXT, `media_rating_r15` TEXT, `media_rating_r16` TEXT, `media_rating_r17` TEXT, `media_rating_r18` TEXT, `media_rating_r19` TEXT, `media_rating_r20` TEXT, `media_poster_tiny` TEXT, `media_poster_small` TEXT, `media_poster_medium` TEXT, `media_poster_large` TEXT, `media_poster_original` TEXT, `media_poster_meta_tiny_width` INTEGER, `media_poster_meta_tiny_height` INTEGER, `media_poster_meta_small_width` INTEGER, `media_poster_meta_small_height` INTEGER, `media_poster_meta_medium_width` INTEGER, `media_poster_meta_medium_height` INTEGER, `media_poster_meta_large_width` INTEGER, `media_poster_meta_large_height` INTEGER, `media_cover_tiny` TEXT, `media_cover_small` TEXT, `media_cover_medium` TEXT, `media_cover_large` TEXT, `media_cover_original` TEXT, `media_cover_meta_tiny_width` INTEGER, `media_cover_meta_tiny_height` INTEGER, `media_cover_meta_small_width` INTEGER, `media_cover_meta_small_height` INTEGER, `media_cover_meta_medium_width` INTEGER, `media_cover_meta_medium_height` INTEGER, `media_cover_meta_large_width` INTEGER, `media_cover_meta_large_height` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "updatedAt",
"columnName": "updatedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "startedAt",
"columnName": "startedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "finishedAt",
"columnName": "finishedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "progressedAt",
"columnName": "progressedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "progress",
"columnName": "progress",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsuming",
"columnName": "reconsuming",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsumeCount",
"columnName": "reconsumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "volumesOwned",
"columnName": "volumesOwned",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "ratingTwenty",
"columnName": "ratingTwenty",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "privateEntry",
"columnName": "privateEntry",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reactionSkipped",
"columnName": "reactionSkipped",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.id",
"columnName": "media_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.type",
"columnName": "media_type",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.description",
"columnName": "media_description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.titles",
"columnName": "media_titles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.canonicalTitle",
"columnName": "media_canonicalTitle",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.abbreviatedTitles",
"columnName": "media_abbreviatedTitles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.averageRating",
"columnName": "media_averageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.popularityRank",
"columnName": "media_popularityRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.ratingRank",
"columnName": "media_ratingRank",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.startDate",
"columnName": "media_startDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.endDate",
"columnName": "media_endDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.nextRelease",
"columnName": "media_nextRelease",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.tba",
"columnName": "media_tba",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.status",
"columnName": "media_status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ageRating",
"columnName": "media_ageRating",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ageRatingGuide",
"columnName": "media_ageRatingGuide",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.nsfw",
"columnName": "media_nsfw",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.animeSubtype",
"columnName": "media_animeSubtype",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.totalLength",
"columnName": "media_totalLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.episodeCount",
"columnName": "media_episodeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.episodeLength",
"columnName": "media_episodeLength",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.mangaSubtype",
"columnName": "media_mangaSubtype",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.chapterCount",
"columnName": "media_chapterCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.volumeCount",
"columnName": "media_volumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.serialization",
"columnName": "media_serialization",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r2",
"columnName": "media_rating_r2",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r3",
"columnName": "media_rating_r3",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r4",
"columnName": "media_rating_r4",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r5",
"columnName": "media_rating_r5",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r6",
"columnName": "media_rating_r6",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r7",
"columnName": "media_rating_r7",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r8",
"columnName": "media_rating_r8",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r9",
"columnName": "media_rating_r9",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r10",
"columnName": "media_rating_r10",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r11",
"columnName": "media_rating_r11",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r12",
"columnName": "media_rating_r12",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r13",
"columnName": "media_rating_r13",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r14",
"columnName": "media_rating_r14",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r15",
"columnName": "media_rating_r15",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r16",
"columnName": "media_rating_r16",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r17",
"columnName": "media_rating_r17",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r18",
"columnName": "media_rating_r18",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r19",
"columnName": "media_rating_r19",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.ratingFrequencies.r20",
"columnName": "media_rating_r20",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.posterImage.tiny",
"columnName": "media_poster_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.posterImage.small",
"columnName": "media_poster_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.posterImage.medium",
"columnName": "media_poster_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.posterImage.large",
"columnName": "media_poster_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.posterImage.original",
"columnName": "media_poster_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.tiny.width",
"columnName": "media_poster_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.tiny.height",
"columnName": "media_poster_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.small.width",
"columnName": "media_poster_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.small.height",
"columnName": "media_poster_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.medium.width",
"columnName": "media_poster_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.medium.height",
"columnName": "media_poster_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.large.width",
"columnName": "media_poster_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.posterImage.meta.dimensions.large.height",
"columnName": "media_poster_meta_large_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.tiny",
"columnName": "media_cover_tiny",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.coverImage.small",
"columnName": "media_cover_small",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.coverImage.medium",
"columnName": "media_cover_medium",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.coverImage.large",
"columnName": "media_cover_large",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.coverImage.original",
"columnName": "media_cover_original",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.tiny.width",
"columnName": "media_cover_meta_tiny_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.tiny.height",
"columnName": "media_cover_meta_tiny_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.small.width",
"columnName": "media_cover_meta_small_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.small.height",
"columnName": "media_cover_meta_small_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.medium.width",
"columnName": "media_cover_meta_medium_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.medium.height",
"columnName": "media_cover_meta_medium_height",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.large.width",
"columnName": "media_cover_meta_large_width",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "media.coverImage.meta.dimensions.large.height",
"columnName": "media_cover_meta_large_height",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "library_entries_modifications",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `createTime` INTEGER NOT NULL, `state` TEXT NOT NULL, `startedAt` TEXT, `finishedAt` TEXT, `status` INTEGER, `progress` INTEGER, `reconsumeCount` INTEGER, `volumesOwned` INTEGER, `ratingTwenty` INTEGER, `notes` TEXT, `privateEntry` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "createTime",
"columnName": "createTime",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "state",
"columnName": "state",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "startedAt",
"columnName": "startedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "finishedAt",
"columnName": "finishedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "progress",
"columnName": "progress",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "reconsumeCount",
"columnName": "reconsumeCount",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "volumesOwned",
"columnName": "volumesOwned",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "ratingTwenty",
"columnName": "ratingTwenty",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "privateEntry",
"columnName": "privateEntry",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "remote_keys",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`resourceId` TEXT NOT NULL COLLATE NOCASE, `remoteKeyType` TEXT NOT NULL, `prevPageKey` INTEGER, `nextPageKey` INTEGER, PRIMARY KEY(`resourceId`))",
"fields": [
{
"fieldPath": "resourceId",
"columnName": "resourceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "remoteKeyType",
"columnName": "remoteKeyType",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "prevPageKey",
"columnName": "prevPageKey",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "nextPageKey",
"columnName": "nextPageKey",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"resourceId"
]
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '7979a798f0004298608e29c0014d940d')"
]
}
}
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/fastlane/CaptureScreenshots.kt
================================================
package io.github.drumber.kitsune.fastlane
import android.net.Uri
import androidx.appcompat.app.AppCompatDelegate
import androidx.navigation.findNavController
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.Espresso.pressBack
import androidx.test.espresso.IdlingRegistry
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActions.scrollTo
import androidx.test.espresso.action.ViewActions.swipeUp
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.internal.runner.junit4.statement.UiThreadStatement
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.rule.GrantPermissionRule
import io.github.drumber.kitsune.BuildConfig
import io.github.drumber.kitsune.R
import io.github.drumber.kitsune.constants.AppTheme
import io.github.drumber.kitsune.constants.Kitsu
import io.github.drumber.kitsune.preference.KitsunePref
import io.github.drumber.kitsune.ui.main.MainActivity
import io.github.drumber.kitsune.utils.OkHttpIdlingResource
import io.github.drumber.kitsune.utils.filter.RequiresScreenshotMode
import io.github.drumber.kitsune.utils.waitForView
import okhttp3.OkHttpClient
import org.junit.AfterClass
import org.junit.Assume.assumeTrue
import org.junit.BeforeClass
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.koin.core.component.KoinComponent
import org.koin.core.component.get
import org.koin.core.qualifier.named
import tools.fastlane.screengrab.Screengrab
import tools.fastlane.screengrab.cleanstatusbar.CleanStatusBar
import kotlin.time.Duration.Companion.seconds
@RunWith(AndroidJUnit4::class)
class CaptureScreenshots : KoinComponent {
@get:Rule
var activityRule = ActivityScenarioRule(MainActivity::class.java)
@get:Rule
var runtimePermissionRule: GrantPermissionRule = GrantPermissionRule.grant(
android.Manifest.permission.POST_NOTIFICATIONS,
android.Manifest.permission.DUMP
)
companion object {
@BeforeClass
@JvmStatic
fun beforeAll() {
assumeTrue(BuildConfig.SCREENSHOT_MODE_ENABLED)
}
@AfterClass
@JvmStatic
fun afterAll() {
CleanStatusBar.disable()
}
fun enterDemoMode() {
CleanStatusBar()
.setNetworkFullyConnected(true)
.setShowNotifications(false)
.setMobileNetworkLevel(4)
.setClock("1200")
.enable()
}
}
@RequiresScreenshotMode
@Test
fun testTakeScreenshot() {
enterDemoMode()
val idlingResource = mutableListOf<OkHttpIdlingResource>()
activityRule.scenario.onActivity {
val client: OkHttpClient = get()
val imageClient: OkHttpClient = get(named("images"))
idlingResource.add(OkHttpIdlingResource(client))
idlingResource.add(OkHttpIdlingResource(imageClient))
}
IdlingRegistry.getInstance().register(*idlingResource.toTypedArray())
// Light Mode
KitsunePref.darkMode = AppCompatDelegate.MODE_NIGHT_NO.toString()
takeHomeScreenshots("light")
takeSearchScreenshots("light")
takeDetailsScreenshot("light")
// Dark Mode
UiThreadStatement.runOnUiThread {
KitsunePref.darkMode = AppCompatDelegate.MODE_NIGHT_YES.toString()
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)
}
takeHomeScreenshots("dark")
takeSearchScreenshots("dark")
takeDetailsScreenshot("dark")
// Purple theme with Dark Mode
UiThreadStatement.runOnUiThread {
KitsunePref.appTheme = AppTheme.PURPLE
}
takeHomeScreenshots("dark_purple")
// Purple theme with Light Mode
UiThreadStatement.runOnUiThread {
KitsunePref.darkMode = AppCompatDelegate.MODE_NIGHT_NO.toString()
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
}
takeHomeScreenshots("light_purple")
IdlingRegistry.getInstance().unregister(*idlingResource.toTypedArray())
idlingResource.clear()
}
private fun takeHomeScreenshots(prefix: String) {
onView(withId(R.id.main_fragment)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Thread.sleep(1000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Screengrab.screenshot("${prefix}_home_screen")
}
private fun takeSearchScreenshots(prefix: String) {
onView(withId(R.id.search_fragment)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Thread.sleep(3000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Screengrab.screenshot("${prefix}_search_screen")
}
private fun takeDetailsScreenshot(prefix: String) {
activityRule.scenario.onActivity { activity ->
val navController = activity.findNavController(R.id.nav_host_fragment)
navController.navigate(Uri.parse("${Kitsu.BASE_URL}/anime/12"))
}
onView(isRoot()).perform(waitForView(R.id.tv_description, 30.seconds))
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Thread.sleep(3000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Screengrab.screenshot("${prefix}_details_screen")
Thread.sleep(3000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
onView(withId(R.id.layout_ratings)).perform(scrollTo())
onView(withId(R.id.nsv_content)).perform(swipeUp())
Thread.sleep(100) // wait for scroll
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Screengrab.screenshot("${prefix}_details_ratings_screen")
pressBack()
}
}
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/navigation/NavigationTest.kt
================================================
package io.github.drumber.kitsune.navigation
import android.net.Uri
import androidx.navigation.findNavController
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.IdlingRegistry
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActions.pressBack
import androidx.test.espresso.action.ViewActions.scrollTo
import androidx.test.espresso.action.ViewActions.typeText
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.RecyclerViewActions.actionOnItemAtPosition
import androidx.test.espresso.matcher.ViewMatchers.isEnabled
import androidx.test.espresso.matcher.ViewMatchers.isNotEnabled
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import androidx.test.espresso.matcher.ViewMatchers.withChild
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.rule.GrantPermissionRule
import io.github.drumber.kitsune.R
import io.github.drumber.kitsune.constants.Kitsu
import io.github.drumber.kitsune.ui.adapter.MediaViewHolder
import io.github.drumber.kitsune.ui.adapter.paging.CharacterPagingAdapter.CharacterViewHolder
import io.github.drumber.kitsune.ui.adapter.paging.MediaUnitPagingAdapter.MediaUnitViewHolder
import io.github.drumber.kitsune.ui.main.MainActivity
import io.github.drumber.kitsune.utils.OkHttpIdlingResource
import io.github.drumber.kitsune.utils.actionOnChild
import io.github.drumber.kitsune.utils.searchText
import io.github.drumber.kitsune.utils.waitForView
import okhttp3.OkHttpClient
import org.hamcrest.core.AllOf.allOf
import org.junit.After
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.koin.core.component.KoinComponent
import org.koin.core.component.get
import kotlin.time.Duration.Companion.seconds
@RunWith(AndroidJUnit4::class)
class NavigationTest : KoinComponent {
@get:Rule
var activityRule = ActivityScenarioRule(MainActivity::class.java)
@get:Rule
var runtimePermissionRule: GrantPermissionRule = GrantPermissionRule.grant(
android.Manifest.permission.POST_NOTIFICATIONS
)
private var idlingResource: OkHttpIdlingResource? = null
@Before
fun setup() {
activityRule.scenario.onActivity {
val client: OkHttpClient = get()
idlingResource = OkHttpIdlingResource(client)
}
IdlingRegistry.getInstance().register(idlingResource!!)
}
@After
fun tearDown() {
IdlingRegistry.getInstance().unregister(idlingResource)
}
@Test
fun shouldNavigateToDestinationsFromHome() {
onView(withId(R.id.main_fragment)).perform(click())
Thread.sleep(1000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// navigate to trending section
onView(
allOf(
withChild(withText(R.string.section_trending)),
withId(R.id.header)
)
).perform(click())
Thread.sleep(1000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// click first media item
onView(withId(R.id.rv_media)).perform(actionOnItemAtPosition<MediaViewHolder>(0, click()))
}
@Test
fun shouldNavigateToSearchFragment() {
onView(withId(R.id.search_fragment)).perform(click())
Thread.sleep(3000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// perform search
onView(withId(R.id.search_view)).perform(searchText("toradora"))
Thread.sleep(1000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
onView(isRoot()).perform(waitForView(R.id.rv_media, 10.seconds))
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// click first media item
onView(withId(R.id.rv_media)).perform(actionOnItemAtPosition<MediaViewHolder>(0, click()))
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// go back to search fragment
onView(isRoot()).perform(pressBack())
// open filters
onView(withId(R.id.btn_filter)).perform(click())
Thread.sleep(1000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// open categories
onView(withId(R.id.card_categories)).perform(scrollTo(), click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// go back to search fragment
onView(isRoot()).perform(pressBack())
onView(isRoot()).perform(pressBack())
}
@Test
fun shouldNavigateToLibraryFragment() {
onView(withId(R.id.library_fragment)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
}
@Test
fun shouldNavigateToProfileFragmentAndSettings() {
onView(withId(R.id.profile_fragment)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// open settings
onView(withId(R.id.menu_settings)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// navigate to appearance
onView(withText(R.string.nav_appearance)).perform(click())
}
@Test
fun shouldNavigateToDetailsAndSubPages() {
activityRule.scenario.onActivity { activity ->
val navController = activity.findNavController(R.id.nav_host_fragment)
navController.navigate(Uri.parse("${Kitsu.BASE_URL}/anime/12"))
}
onView(isRoot()).perform(waitForView(R.id.tv_description, 30.seconds))
Thread.sleep(3000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
Thread.sleep(3000)
fun goBack() {
onView(isRoot()).perform(pressBack())
Thread.sleep(500)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
onView(isRoot()).perform(pressBack())
}
fun navigateToEpisodes() {
// navigate to episodes
onView(withId(R.id.btn_media_units)).perform(scrollTo())
Thread.sleep(100)
onView(withId(R.id.btn_media_units)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// click on first episode
onView(withId(R.id.rv_media)).perform(
actionOnItemAtPosition<MediaUnitViewHolder>(
0,
click()
)
)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// go back to details fragment
goBack()
}
fun navigateToCharacters() {
// navigate to characters
onView(withId(R.id.btn_characters)).perform(scrollTo())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
onView(withId(R.id.btn_characters)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// click on first character
onView(withId(R.id.rv_media)).perform(
actionOnItemAtPosition<CharacterViewHolder>(
1,
actionOnChild(withId(R.id.iv_character), click())
)
)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// go back to details fragment
goBack()
}
fun navigateToCategory() {
// navigate to category
onView(withChild(withId(R.id.chip_group_categories))).perform(scrollTo())
onView(withId(R.id.chip_group_categories)).perform(click())
Thread.sleep(1000)
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// click first media item
onView(withId(R.id.rv_media)).perform(actionOnItemAtPosition<MediaViewHolder>(0, click()))
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// go back to details fragment
goBack()
}
navigateToEpisodes()
navigateToCharacters()
navigateToCategory()
}
@Test
fun shouldNavigateToLoginScreen() {
// navigate to profile fragment
onView(withId(R.id.profile_fragment)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
// navigate to login screen
onView(withId(R.id.btn_login)).perform(click())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
onView(withId(R.id.btn_login)).check(matches(isNotEnabled()))
onView(withId(R.id.input_username)).perform(typeText("user@example.com"))
onView(withId(R.id.btn_login)).check(matches(isNotEnabled()))
onView(withId(R.id.input_password)).perform(typeText("password"))
onView(withId(R.id.btn_login)).check(matches(isEnabled()))
// go back to profile fragment
onView(isRoot()).perform(pressBack())
InstrumentationRegistry.getInstrumentation().waitForIdleSync()
}
}
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/utils/OkHttpIdlingResource.kt
================================================
package io.github.drumber.kitsune.utils
import androidx.test.espresso.IdlingResource
import okhttp3.Dispatcher
import okhttp3.OkHttpClient
class OkHttpIdlingResource(okHttpClient: OkHttpClient) : IdlingResource {
@Volatile
private var callback: IdlingResource.ResourceCallback? = null
private val dispatcher: Dispatcher
init {
dispatcher = okHttpClient.dispatcher
okHttpClient.dispatcher.idleCallback = Runnable { callback?.onTransitionToIdle() }
}
override fun getName(): String {
return OkHttpIdlingResource::class.java.name
}
override fun registerIdleTransitionCallback(callback: IdlingResource.ResourceCallback?) {
this.callback = callback
}
override fun isIdleNow(): Boolean {
return dispatcher.runningCallsCount() == 0
}
}
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/utils/SearchViewActions.kt
================================================
package io.github.drumber.kitsune.utils
import android.view.View
import androidx.appcompat.widget.SearchView
import androidx.test.espresso.ViewAction
import androidx.test.espresso.matcher.ViewMatchers.isAssignableFrom
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import org.hamcrest.Matcher
import org.hamcrest.core.AllOf.allOf
fun searchText(query: String) = object : ViewAction {
override fun getConstraints(): Matcher<View> {
return allOf(
isDisplayed(),
isAssignableFrom(SearchView::class.java)
)
}
override fun getDescription() = "Type text into a SearchView"
override fun perform(uiController: androidx.test.espresso.UiController, view: View) {
val searchView = view as SearchView
searchView.setQuery(query, true)
}
}
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/utils/ViewActions.kt
================================================
package io.github.drumber.kitsune.utils
import android.view.View
import androidx.test.espresso.UiController
import androidx.test.espresso.ViewAction
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.util.TreeIterables
import org.hamcrest.Matcher
import org.hamcrest.StringDescription
import org.hamcrest.core.AllOf.allOf
fun actionOnChild(matcher: Matcher<View>, action: ViewAction) = object : ViewAction {
override fun getConstraints(): Matcher<View> {
return allOf(isDisplayed(), matcher)
}
override fun getDescription(): String = "Performing action on child"
override fun perform(uiController: UiController, view: View) {
val results = TreeIterables.breadthFirstViewTraversal(view).filter { matcher.matches(it) }
if (results.isEmpty()) {
throw RuntimeException("No view found with matcher ${StringDescription.asString(matcher)} in the hierarchy of $view")
} else if (results.size > 1) {
throw RuntimeException("Multiple views found with matcher ${StringDescription.asString(matcher)} in the hierarchy of $view")
}
action.perform(uiController, results.first())
}
}
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/utils/WaitForView.kt
================================================
package io.github.drumber.kitsune.utils
import android.view.View
import androidx.annotation.IdRes
import androidx.test.espresso.PerformException
import androidx.test.espresso.UiController
import androidx.test.espresso.ViewAction
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.util.HumanReadables
import androidx.test.espresso.util.TreeIterables
import org.hamcrest.Matcher
import java.util.concurrent.TimeoutException
import kotlin.time.Duration
class WaitForView(
@IdRes private val viewId: Int,
private val timeout: Duration
) : ViewAction {
override fun getDescription(): String {
return "wait up to ${timeout.inWholeMilliseconds} milliseconds to find a view with ID $viewId"
}
override fun getConstraints(): Matcher<View> {
return isRoot()
}
override fun perform(uiController: UiController, view: View) {
uiController.loopMainThreadUntilIdle()
val endTime = System.currentTimeMillis() + timeout.inWholeMilliseconds
do {
for (child in TreeIterables.breadthFirstViewTraversal(view)) {
if (withId(viewId).matches(child))
return
}
uiController.loopMainThreadForAtLeast(500)
} while (System.currentTimeMillis() < endTime)
throw PerformException.Builder()
.withActionDescription(description)
.withCause(TimeoutException("Waited $timeout milliseconds"))
.withViewDescription(HumanReadables.describe(view))
.build()
}
}
fun waitForView(@IdRes viewId: Int, timeout: Duration) = WaitForView(viewId, timeout)
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/utils/filter/RequiresScreenshotMode.kt
================================================
package io.github.drumber.kitsune.utils.filter
import androidx.test.filters.CustomFilter
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION)
@CustomFilter(filterClass = ScreenshotModeCustomFilter::class)
annotation class RequiresScreenshotMode
================================================
FILE: app/src/androidTest/java/io/github/drumber/kitsune/utils/filter/ScreenshotModeCustomFilter.kt
================================================
package io.github.drumber.kitsune.utils.filter
import androidx.test.filters.AbstractFilter
import io.github.drumber.kitsune.BuildConfig
import org.junit.runner.Description
class ScreenshotModeCustomFilter : AbstractFilter() {
override fun describe(): String {
return "only run test if BuildConfig property 'SCREENSHOT_MODE_ENABLED' is 'true'"
}
override fun evaluateTest(description: Description?): Boolean {
return BuildConfig.SCREENSHOT_MODE_ENABLED
}
}
================================================
FILE: app/src/debug/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- Allows storing screenshots on external storage, where it can be accessed by ADB -->
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
<!-- Allows changing locales -->
<uses-permission
android:name="android.permission.CHANGE_CONFIGURATION"
tools:ignore="ProtectedPermissions" />
<!-- Allows changing SystemUI demo mode -->
<uses-permission
android:name="android.permission.DUMP"
tools:ignore="ProtectedPermissions" />
</manifest>
================================================
FILE: app/src/instrumented/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- Allows storing screenshots on external storage, where it can be accessed by ADB -->
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
<!-- Allows changing locales -->
<uses-permission
android:name="android.permission.CHANGE_CONFIGURATION"
tools:ignore="ProtectedPermissions" />
<!-- Allows changing SystemUI demo mode -->
<uses-permission
android:name="android.permission.DUMP"
tools:ignore="ProtectedPermissions" />
</manifest>
================================================
FILE: app/src/main/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
<application
android:name=".KitsuneApplication"
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
android:dataExtractionRules="@xml/backup_rules_sdk31"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Kitsune.DayNight"
android:hasFragileUserData="true"
android:enableOnBackInvokedCallback="true"
tools:targetApi="tiramisu">
<profileable
android:shell="true"
tools:targetApi="q" />
<activity
android:name=".ui.main.MainActivity"
android:exported="true"
android:theme="@style/Theme.Kitsune.SplashScreen.DayNight"
android:windowSoftInputMode="adjustPan">
<nav-graph android:value="@navigation/main_nav_graph" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
</activity>
<activity
android:name=".ui.onboarding.OnboardingActivity"
android:exported="false" />
<activity
android:name=".ui.photoview.PhotoViewActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="false"
android:theme="@style/Theme.Kitsune.DayNight.FullScreen" />
<activity
android:name=".ui.authentication.AuthenticationActivity"
android:exported="false"
android:windowSoftInputMode="adjustResize"
android:label="@string/title_authentication" />
<receiver android:name=".ui.widget.KitsuneWidgetReceiver" android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/library_widget_info" />
</receiver>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>
<service
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
android:enabled="false"
android:exported="false">
<meta-data
android:name="autoStoreLocales"
android:value="true" />
</service>
</application>
</manifest>
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/KitsuneApplication.kt
================================================
package io.github.drumber.kitsune
import android.app.Application
import androidx.appcompat.app.AppCompatDelegate
import com.algolia.instantsearch.core.InstantSearchTelemetry
import com.chibatching.kotpref.Kotpref
import com.chibatching.kotpref.livedata.asLiveData
import io.github.drumber.kitsune.data.presentation.model.appupdate.UpdateCheckResult
import io.github.drumber.kitsune.data.repository.AppUpdateRepository
import io.github.drumber.kitsune.di.appModule
import io.github.drumber.kitsune.domain.auth.IsUserLoggedInUseCase
import io.github.drumber.kitsune.domain.user.UpdateLocalUserUseCase
import io.github.drumber.kitsune.notification.NotificationChannels
import io.github.drumber.kitsune.notification.Notifications
import io.github.drumber.kitsune.preference.KitsunePref
import io.github.drumber.kitsune.util.logD
import io.github.drumber.kitsune.util.logE
import io.github.drumber.kitsune.util.logI
import io.github.drumber.kitsune.util.logW
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.launch
import org.koin.android.ext.android.get
import org.koin.android.ext.android.inject
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
import org.koin.core.logger.Level
import kotlin.time.Duration.Companion.hours
import kotlin.time.Duration.Companion.milliseconds
class KitsuneApplication : Application() {
private val applicationScope = CoroutineScope(SupervisorJob() + Dispatchers.Main)
override fun onCreate() {
super.onCreate()
try {
NotificationChannels.registerNotificationChannels(this)
} catch (e: Exception) {
logE("Failed to register notification channels.", e)
}
startKoin {
androidLogger(if (BuildConfig.DEBUG) Level.DEBUG else Level.INFO)
androidContext(this@KitsuneApplication)
modules(appModule)
}
performMigrations()
Kotpref.init(this)
KitsunePref.asLiveData(KitsunePref::darkMode).observeForever {
AppCompatDelegate.setDefaultNightMode(it.toInt())
}
// opt out of algolia telemetry
InstantSearchTelemetry.shared.enabled = false
initLoggedInUser()
if (!BuildConfig.SCREENSHOT_MODE_ENABLED && KitsunePref.checkForUpdatesOnStart) {
checkForNewVersion()
}
}
private fun performMigrations() {
// 1.8.0 - replaced ResourceDatabase with LocalDatabase
listOf("resources.db", "resources.db-shm", "resources.db-wal").forEach {
val databaseFile = getDatabasePath(it)
if (databaseFile.isFile) {
try {
val isDeleted = databaseFile.delete()
if (isDeleted)
logI("[Migration-1.8.0] Deleted database file '${databaseFile.absolutePath}'.")
else
logW("[Migration-1.8.0] Failed to delete database file '${databaseFile.absolutePath}'.")
} catch (e: Exception) {
logE(
"[Migration-1.8.0] Error while deleting database file '${databaseFile.absolutePath}'.",
e
)
}
}
}
}
private fun initLoggedInUser() {
val isUserLoggedIn: IsUserLoggedInUseCase by inject()
if (isUserLoggedIn()) {
val updateLocalUser: UpdateLocalUserUseCase by inject()
applicationScope.launch(Dispatchers.IO) {
updateLocalUser()
}
}
}
private fun checkForNewVersion() {
val lastUpdateCheck = KitsunePref.lastUpdateCheck
val now = System.currentTimeMillis().milliseconds
if (lastUpdateCheck != -1L && now.minus(lastUpdateCheck.milliseconds) < 24.hours) {
logD("Skipping update check, last check was: $lastUpdateCheck")
return
}
applicationScope.launch {
val updateChecker: AppUpdateRepository = get()
val result = updateChecker.checkForUpdates(BuildConfig.VERSION_NAME)
if (result is UpdateCheckResult.NewVersion) {
Notifications.showNewVersion(this@KitsuneApplication, result.release)
}
KitsunePref.lastUpdateCheck = System.currentTimeMillis()
}
}
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/KitsuneGlideModule.kt
================================================
package io.github.drumber.kitsune
import android.content.Context
import android.graphics.Bitmap
import com.bumptech.glide.Glide
import com.bumptech.glide.GlideBuilder
import com.bumptech.glide.Registry
import com.bumptech.glide.RequestBuilder
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader
import com.bumptech.glide.load.MultiTransformation
import com.bumptech.glide.load.Transformation
import com.bumptech.glide.load.model.GlideUrl
import com.bumptech.glide.load.resource.bitmap.CenterCrop
import com.bumptech.glide.module.AppGlideModule
import com.bumptech.glide.request.RequestOptions
import okhttp3.OkHttpClient
import org.koin.core.component.KoinComponent
import org.koin.core.component.get
import org.koin.core.qualifier.named
import java.io.InputStream
@GlideModule
class KitsuneGlideModule : AppGlideModule(), KoinComponent {
override fun applyOptions(context: Context, builder: GlideBuilder) {
val multiTransform = MultiTransformation(
buildList {
add(CenterCrop())
if (BuildConfig.SCREENSHOT_MODE_ENABLED) {
val blurTransformation =
Class.forName("jp.wasabeef.glide.transformations.BlurTransformation")
.getConstructor(Integer.TYPE, Integer.TYPE)
.newInstance(15, 2)
add(blurTransformation as Transformation<Bitmap>)
}
}
)
builder.setDefaultRequestOptions(RequestOptions.bitmapTransform(multiTransform))
}
override fun registerComponents(context: Context, glide: Glide, registry: Registry) {
// replace Glides default OkHttpClient
val okHttpClient: OkHttpClient = get(named("images"))
registry.replace(GlideUrl::class.java, InputStream::class.java, OkHttpUrlLoader.Factory(okHttpClient))
}
}
fun <T> RequestBuilder<T>.addTransform(vararg transformations: Transformation<Bitmap>) = with(this) {
val oldTransforms = this.transformations
.filterKeys { it.isAssignableFrom(Bitmap::class.java) }
.map { it.value as Transformation<Bitmap> }
transform(MultiTransformation(oldTransforms + transformations))
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/AppTheme.kt
================================================
package io.github.drumber.kitsune.constants
import androidx.annotation.StyleRes
import io.github.drumber.kitsune.R
enum class AppTheme(@StyleRes val themeRes: Int, @StyleRes val blackThemeRes: Int) {
DEFAULT(R.style.Theme_Kitsune_DayNight, R.style.Theme_Kitsune_DayNight_Black),
PURPLE(R.style.Theme_Kitsune_DayNight_Purple, R.style.Theme_Kitsune_DayNight_Purple_Black),
BLUE(R.style.Theme_Kitsune_DayNight_Blue, R.style.Theme_Kitsune_DayNight_Blue_Black),
GREEN(R.style.Theme_Kitsune_DayNight_Green, R.style.Theme_Kitsune_DayNight_Green_Black),
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/Defaults.kt
================================================
package io.github.drumber.kitsune.constants
object Defaults {
/** The minimum of required fields to display resources in a collection, e.g. in RecyclerView. */
val MINIMUM_COLLECTION_FIELDS get() = arrayOf("slug", "titles", "canonicalTitle", "posterImage", "coverImage")
val MINIMUM_CHARACTER_FIELDS get() = arrayOf("slug", "name", "image")
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/GitHub.kt
================================================
package io.github.drumber.kitsune.constants
object GitHub {
const val API_URL = "https://api.github.com/repos/drumber/kitsune/"
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/IntentAction.kt
================================================
package io.github.drumber.kitsune.constants
object IntentAction {
// Actions for app shortcuts
const val SHORTCUT_LIBRARY = "io.github.drumber.kitsune.LIBRARY"
const val SHORTCUT_SEARCH = "io.github.drumber.kitsune.SEARCH"
const val SHORTCUT_SETTINGS = "io.github.drumber.kitsune.SETTINGS"
// Actions for widget
const val OPEN_MEDIA = "io.github.drumber.kitsune.OPEN_MEDIA"
const val OPEN_LIBRARY = "io.github.drumber.kitsune.OPEN_LIBRARY"
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/Kitsu.kt
================================================
package io.github.drumber.kitsune.constants
object Kitsu {
const val DEFAULT_PAGE_OFFSET = 0
const val DEFAULT_PAGE_SIZE = 10
const val DEFAULT_PAGE_SIZE_LIBRARY = 30
const val ALGOLIA_APP_ID = "AWQO5J657S"
const val API_HOST = "kitsu.app"
const val API_URL = "https://$API_HOST/api/edge/"
const val OAUTH_URL = "https://$API_HOST/api/oauth/"
const val BASE_URL = "https://$API_HOST"
const val USER_URL_PREFIX = "$BASE_URL/users/"
const val ANIME_URL_PREFIX = "$BASE_URL/anime/"
const val MANGA_URL_PREFIX = "$BASE_URL/manga/"
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/LibraryWidget.kt
================================================
package io.github.drumber.kitsune.constants
object LibraryWidget {
const val MAX_ITEM_COUNT = 10
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/MediaItemSize.kt
================================================
package io.github.drumber.kitsune.constants
import androidx.annotation.DimenRes
import io.github.drumber.kitsune.R
enum class MediaItemSize(
@DimenRes val widthRes: Int,
@DimenRes val heightRes: Int
) {
SMALL(R.dimen.media_item_width_small, R.dimen.media_item_height_small),
MEDIUM(R.dimen.media_item_width_medium, R.dimen.media_item_height_medium),
LARGE(R.dimen.media_item_width_large, R.dimen.media_item_height_large)
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/Repository.kt
================================================
package io.github.drumber.kitsune.constants
object Repository {
const val MAX_CACHED_ITEMS = 600
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/SortFilter.kt
================================================
package io.github.drumber.kitsune.constants
import io.github.drumber.kitsune.R
enum class SortFilter(val queryParam: String) {
POPULARITY_DESC("-user_count"),
POPULARITY_ASC("user_count"),
AVERAGE_RATING_DESC("-average_rating"),
AVERAGE_RATING_ASC("average_rating"),
DATE_DESC("-start_date"),
DATE_ASC("start_date");
companion object {
fun fromQueryParam(queryParam: String?): SortFilter? {
if(queryParam != null) {
entries.forEach {
if(it.queryParam.startsWith(queryParam)) {
return it
}
}
}
return null
}
}
}
enum class CategorySortFilter(val queryParam: String) {
TOTAL_MEDIA_COUNT_DESC("-total_media_count"),
TOTAL_MEDIA_COUNT_ASC("total_media_count")
}
fun SortFilter.toStringRes() = when (this) {
SortFilter.POPULARITY_DESC -> R.string.sort_popularity_desc
SortFilter.POPULARITY_ASC -> R.string.sort_popularity_asc
SortFilter.AVERAGE_RATING_DESC -> R.string.sort_average_rating_desc
SortFilter.AVERAGE_RATING_ASC -> R.string.sort_average_rating_asc
SortFilter.DATE_DESC -> R.string.sort_release_date_desc
SortFilter.DATE_ASC -> R.string.sort_release_date_asc
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/constants/StreamingLogo.kt
================================================
package io.github.drumber.kitsune.constants
import androidx.annotation.DrawableRes
import io.github.drumber.kitsune.R
enum class StreamingLogo(@DrawableRes val drawable: Int) {
Amazon(R.drawable.ic_amazon),
Animelab(R.drawable.ic_animelab),
CONtv(R.drawable.ic_contv),
Crunchyroll(R.drawable.ic_crunchyroll),
Funimation(R.drawable.ic_funimation),
HIDIVE(R.drawable.ic_hidive),
Hulu(R.drawable.ic_hulu),
Netflix(R.drawable.ic_netflix),
TubiTV(R.drawable.ic_tubitv),
VRV(R.drawable.ic_vrv),
YouTube(R.drawable.ic_youtube)
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/Filter.kt
================================================
package io.github.drumber.kitsune.data.common
import io.github.drumber.kitsune.constants.Kitsu
data class Filter(val options: FilterOptions = mutableMapOf()) {
/** Defines how much of data to receive. This is only used for some lists, like trending. */
fun limit(limit: Int) = put("limit", limit)
/** Defines how much of a resource to receive. */
fun pageLimit(limit: Int = Kitsu.DEFAULT_PAGE_SIZE) = put("page[limit]", limit)
/** The index of the first resource to receive. */
fun pageOffset(offset: Int = Kitsu.DEFAULT_PAGE_OFFSET) = put("page[offset]", offset)
/** Return only the specified fields of a resource. */
fun fields(type: String, vararg fields: String) = put("fields[$type]", fields.joinToString(","))
/** Sort by the specified attributes. Prepend a `-` for descending order. */
fun sort(vararg attributes: String) = put("sort", attributes.joinToString(","))
/** Filter by certain matching attributes or relationships. */
fun filter(attribute: String, value: String) = put("filter[$attribute]", value)
/** Checks if there is a filter applied for the given attribute name. */
fun hasFilterAttribute(attribute: String) = options.containsKey("filter[$attribute]")
fun include(vararg relationships: String) = put("include", relationships.joinToString(","))
private fun put(key: String, value: Any): Filter {
options[key] = value.toString()
return this
}
}
typealias FilterOptions = MutableMap<String, String>
fun FilterOptions.toFilter() = Filter(this)
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/Image.kt
================================================
package io.github.drumber.kitsune.data.common
data class Image(
val tiny: String?,
val small: String?,
val medium: String?,
val large: String?,
val original: String?,
val meta: ImageMeta?
) {
fun smallOrHigher(): String? {
return small ?: medium ?: large ?: original
}
fun largeOrDown(): String? {
return large ?: medium ?: small ?: tiny
}
fun originalOrDown(): String? {
return original ?: largeOrDown()
}
}
data class ImageMeta(val dimensions: ImageDimensions?)
data class ImageDimensions(
val tiny: ImageDimension?,
val small: ImageDimension?,
val medium: ImageDimension?,
val large: ImageDimension?
)
data class ImageDimension(val width: Int?, val height: Int?)
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/Titles.kt
================================================
package io.github.drumber.kitsune.data.common
typealias Titles = Map<String, String?>
val Titles.en get() = get("en")
val Titles.enUs get() = get("en_us")
val Titles.enJp get() = get("en_jp")
val Titles.jaJp get() = get("ja_jp")
private val commonTitleKeys = listOf("en", "en_jp", "ja_jp")
fun Titles.withoutCommonTitles() =
filterKeys { !commonTitleKeys.contains(it) }
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/exception/InvalidDataException.kt
================================================
package io.github.drumber.kitsune.data.common.exception
class InvalidDataException(message: String): Exception(message)
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/exception/NoDataException.kt
================================================
package io.github.drumber.kitsune.data.common.exception
class NoDataException : Exception {
constructor() : super()
constructor(message: String) : super(message)
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/exception/NotFoundException.kt
================================================
package io.github.drumber.kitsune.data.common.exception
class NotFoundException(message: String? = null, cause: Throwable? = null) :
Exception(message, cause)
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/exception/ResourceUpdateFailed.kt
================================================
package io.github.drumber.kitsune.data.common.exception
class ResourceUpdateFailed : Exception {
constructor() : super()
constructor(message: String) : super(message)
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/exception/SearchProviderUnavailableException.kt
================================================
package io.github.drumber.kitsune.data.common.exception
class SearchProviderUnavailableException(message: String? = null): Exception(message)
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/library/LibraryEntryKind.kt
================================================
package io.github.drumber.kitsune.data.common.library
enum class LibraryEntryKind {
All,
Anime,
Manga
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/media/AgeRating.kt
================================================
package io.github.drumber.kitsune.data.common.media
enum class AgeRating {
G,
PG,
R,
R18
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/media/AnimeSubtype.kt
================================================
package io.github.drumber.kitsune.data.common.media
enum class AnimeSubtype {
ONA,
OVA,
TV,
Movie,
Music,
Special
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/media/MangaSubtype.kt
================================================
package io.github.drumber.kitsune.data.common.media
enum class MangaSubtype {
Doujin,
Manga,
Manhua,
Manhwa,
Novel,
Oel,
Oneshot
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/media/MediaType.kt
================================================
package io.github.drumber.kitsune.data.common.media
enum class MediaType {
Anime,
Manga
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/media/RatingFrequencies.kt
================================================
package io.github.drumber.kitsune.data.common.media
data class RatingFrequencies(
val r2: String?,
val r3: String?,
val r4: String?,
val r5: String?,
val r6: String?,
val r7: String?,
val r8: String?,
val r9: String?,
val r10: String?,
val r11: String?,
val r12: String?,
val r13: String?,
val r14: String?,
val r15: String?,
val r16: String?,
val r17: String?,
val r18: String?,
val r19: String?,
val r20: String?
)
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/media/ReleaseStatus.kt
================================================
package io.github.drumber.kitsune.data.common.media
enum class ReleaseStatus {
Current,
Finished,
TBA,
Unreleased,
Upcoming
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/common/user/UserThemePreference.kt
================================================
package io.github.drumber.kitsune.data.common.user
enum class UserThemePreference {
Dark, Light
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/mapper/AlgoliaMapper.kt
================================================
package io.github.drumber.kitsune.data.mapper
import io.github.drumber.kitsune.data.common.Image
import io.github.drumber.kitsune.data.common.ImageDimension
import io.github.drumber.kitsune.data.common.ImageDimensions
import io.github.drumber.kitsune.data.common.ImageMeta
import io.github.drumber.kitsune.data.common.media.AnimeSubtype
import io.github.drumber.kitsune.data.common.media.MangaSubtype
import io.github.drumber.kitsune.data.presentation.model.algolia.AlgoliaKey
import io.github.drumber.kitsune.data.presentation.model.algolia.AlgoliaKeyCollection
import io.github.drumber.kitsune.data.presentation.model.character.CharacterSearchResult
import io.github.drumber.kitsune.data.presentation.model.media.Anime
import io.github.drumber.kitsune.data.presentation.model.media.Manga
import io.github.drumber.kitsune.data.source.network.algolia.model.NetworkAlgoliaKey
import io.github.drumber.kitsune.data.source.network.algolia.model.NetworkAlgoliaKeyCollection
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaCharacterSearchResult
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaDimension
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaDimensions
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaImage
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaImageMeta
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaMediaSearchKind
import io.github.drumber.kitsune.data.source.network.algolia.model.search.AlgoliaMediaSearchResult
object AlgoliaMapper {
fun NetworkAlgoliaKeyCollection.toAlgoliaKeyCollection() = AlgoliaKeyCollection(
users = users?.toAlgoliaKey(),
posts = posts?.toAlgoliaKey(),
media = media?.toAlgoliaKey(),
groups = groups?.toAlgoliaKey(),
characters = characters?.toAlgoliaKey()
)
fun NetworkAlgoliaKey.toAlgoliaKey() = AlgoliaKey(
key = key.require(),
index = index
)
fun AlgoliaMediaSearchResult.toMedia() = when (kind) {
AlgoliaMediaSearchKind.Anime -> toAnime()
AlgoliaMediaSearchKind.Manga -> toManga()
}
private fun AlgoliaMediaSearchResult.toAnime() = Anime(
id = id.toString(),
subtype = animeSubtypeFromString(subtype),
slug = slug,
titles = titles,
canonicalTitle = canonicalTitle,
posterImage = posterImage?.toImage(),
abbreviatedTitles = null,
ageRating = null,
ageRatingGuide = null,
averageRating = null,
animeProduction = null,
categories = null,
coverImage = null,
description = null,
endDate = null,
episodeCount = null,
episodeLength = null,
favoritesCount = null,
mediaRelationships = null,
nextRelease = null,
nsfw = null,
popularityRank = null,
ratingFrequencies = null,
ratingRank = null,
startDate = null,
status = null,
streamingLinks = null,
tba = null,
totalLength = null,
userCount = null,
youtubeVideoId = null
)
private fun AlgoliaMediaSearchResult.toManga() = Manga(
id = id.toString(),
subtype = mangaSubtypeFromString(subtype),
slug = slug,
titles = titles,
canonicalTitle = canonicalTitle,
posterImage = posterImage?.toImage(),
userCount = null,
totalLength = null,
tba = null,
status = null,
startDate = null,
ratingRank = null,
ratingFrequencies = null,
popularityRank = null,
nsfw = null,
nextRelease = null,
mediaRelationships = null,
favoritesCount = null,
endDate = null,
description = null,
coverImage = null,
categories = null,
averageRating = null,
ageRatingGuide = null,
ageRating = null,
abbreviatedTitles = null,
chapterCount = null,
serialization = null,
volumeCount = null
)
fun AlgoliaCharacterSearchResult.toCharacterSearchResult() = CharacterSearchResult(
id = id.toString(),
slug = slug,
name = canonicalName,
image = image?.toImage(),
primaryMediaTitle = primaryMedia
)
fun AlgoliaImage.toImage() = Image(
tiny, small, medium, large, original, meta?.toImageMeta()
)
fun AlgoliaImageMeta.toImageMeta() = ImageMeta(dimensions?.toDimensions())
fun AlgoliaDimensions.toDimensions() = ImageDimensions(
tiny?.toDimension(), small?.toDimension(), medium?.toDimension(), large?.toDimension()
)
fun AlgoliaDimension.toDimension() = ImageDimension(width, height)
private fun animeSubtypeFromString(subtype: String?) = AnimeSubtype.entries
.find { it.name.equals(subtype, true) }
private fun mangaSubtypeFromString(subtype: String?) = MangaSubtype.entries
.find { it.name.equals(subtype, true) }
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/mapper/AppUpdateMapper.kt
================================================
package io.github.drumber.kitsune.data.mapper
import io.github.drumber.kitsune.data.presentation.model.appupdate.AppRelease
import io.github.drumber.kitsune.data.source.network.appupdate.model.NetworkGitHubRelease
object AppUpdateMapper {
fun NetworkGitHubRelease.toAppRelease() = AppRelease(
version = version,
url = url
)
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/mapper/AuthMapper.kt
================================================
package io.github.drumber.kitsune.data.mapper
import io.github.drumber.kitsune.data.source.local.auth.model.LocalAccessToken
import io.github.drumber.kitsune.data.source.network.auth.model.NetworkAccessToken
object AuthMapper {
fun NetworkAccessToken.toLocalAccessToken() = LocalAccessToken(
accessToken = accessToken.require(),
createdAt = createdAt.require(),
expiresIn = expiresIn.require(),
refreshToken = refreshToken.require()
)
}
================================================
FILE: app/src/main/java/io/github/drumber/kitsune/data/mapper/CharacterMapper.kt
================================================
package io.github.drumber.kitsune.data.mapper
import io.github.drumber.kitsune.data.mapper.MediaMapper.toMedia
import io.github.drumber.kitsune.data.presentation.model.character.Character
import io.github.drumber.kitsune.data.presentation.model.character.CharacterSearchResult
import io.github.drumber.kitsune.data.presentation.model.character.MediaCharacter
import io.github.drumber.kitsune.data.presentation.model.character.MediaCharacterRole
import io.github.drumber.kitsune.data.source.local.character.LocalCharacter
import io.github.drumber.kitsune.data.source.network.character.model.NetworkCharacter
import io.github.drumber.kitsune.data.source.network.character.model.NetworkMediaCharacter
import io.github.drumber.kitsune.data.source.network.character.model.NetworkMediaCharacterRole
object CharacterMapper {
//********************************************************************************************/
gitextract_3d2wqgev/ ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.yml │ │ └── feature_request.yml │ └── workflows/ │ ├── build.yml │ ├── reproducible-build.yml │ └── test.yml ├── .gitignore ├── .idea/ │ ├── .gitignore │ ├── AndroidProjectSystem.xml │ ├── codeStyles/ │ │ ├── Project.xml │ │ └── codeStyleConfig.xml │ ├── compiler.xml │ └── kotlinc.xml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE ├── README.md ├── app/ │ ├── .gitignore │ ├── build.gradle.kts │ ├── gradle.properties │ ├── proguard-rules.pro │ ├── schemas/ │ │ └── io.github.drumber.kitsune.data.source.local.LocalDatabase/ │ │ ├── 1.json │ │ ├── 2.json │ │ └── 3.json │ └── src/ │ ├── androidTest/ │ │ └── java/ │ │ └── io/ │ │ └── github/ │ │ └── drumber/ │ │ └── kitsune/ │ │ ├── fastlane/ │ │ │ └── CaptureScreenshots.kt │ │ ├── navigation/ │ │ │ └── NavigationTest.kt │ │ └── utils/ │ │ ├── OkHttpIdlingResource.kt │ │ ├── SearchViewActions.kt │ │ ├── ViewActions.kt │ │ ├── WaitForView.kt │ │ └── filter/ │ │ ├── RequiresScreenshotMode.kt │ │ └── ScreenshotModeCustomFilter.kt │ ├── debug/ │ │ └── AndroidManifest.xml │ ├── instrumented/ │ │ └── AndroidManifest.xml │ ├── main/ │ │ ├── AndroidManifest.xml │ │ ├── java/ │ │ │ └── io/ │ │ │ └── github/ │ │ │ └── drumber/ │ │ │ └── kitsune/ │ │ │ ├── KitsuneApplication.kt │ │ │ ├── KitsuneGlideModule.kt │ │ │ ├── constants/ │ │ │ │ ├── AppTheme.kt │ │ │ │ ├── Defaults.kt │ │ │ │ ├── GitHub.kt │ │ │ │ ├── IntentAction.kt │ │ │ │ ├── Kitsu.kt │ │ │ │ ├── LibraryWidget.kt │ │ │ │ ├── MediaItemSize.kt │ │ │ │ ├── Repository.kt │ │ │ │ ├── SortFilter.kt │ │ │ │ └── StreamingLogo.kt │ │ │ ├── data/ │ │ │ │ ├── common/ │ │ │ │ │ ├── Filter.kt │ │ │ │ │ ├── Image.kt │ │ │ │ │ ├── Titles.kt │ │ │ │ │ ├── exception/ │ │ │ │ │ │ ├── InvalidDataException.kt │ │ │ │ │ │ ├── NoDataException.kt │ │ │ │ │ │ ├── NotFoundException.kt │ │ │ │ │ │ ├── ResourceUpdateFailed.kt │ │ │ │ │ │ └── SearchProviderUnavailableException.kt │ │ │ │ │ ├── library/ │ │ │ │ │ │ └── LibraryEntryKind.kt │ │ │ │ │ ├── media/ │ │ │ │ │ │ ├── AgeRating.kt │ │ │ │ │ │ ├── AnimeSubtype.kt │ │ │ │ │ │ ├── MangaSubtype.kt │ │ │ │ │ │ ├── MediaType.kt │ │ │ │ │ │ ├── RatingFrequencies.kt │ │ │ │ │ │ └── ReleaseStatus.kt │ │ │ │ │ └── user/ │ │ │ │ │ └── UserThemePreference.kt │ │ │ │ ├── mapper/ │ │ │ │ │ ├── AlgoliaMapper.kt │ │ │ │ │ ├── AppUpdateMapper.kt │ │ │ │ │ ├── AuthMapper.kt │ │ │ │ │ ├── CharacterMapper.kt │ │ │ │ │ ├── ImageMapper.kt │ │ │ │ │ ├── LibraryMapper.kt │ │ │ │ │ ├── MapperUtils.kt │ │ │ │ │ ├── MappingMapper.kt │ │ │ │ │ ├── MediaMapper.kt │ │ │ │ │ ├── MediaUnitMapper.kt │ │ │ │ │ ├── ProfileLinksMapper.kt │ │ │ │ │ ├── UserMapper.kt │ │ │ │ │ └── UserStatsMapper.kt │ │ │ │ ├── presentation/ │ │ │ │ │ ├── LocalRatingSystemPreference.kt │ │ │ │ │ ├── dto/ │ │ │ │ │ │ ├── CharacterDto.kt │ │ │ │ │ │ ├── ImageDto.kt │ │ │ │ │ │ ├── MediaDto.kt │ │ │ │ │ │ └── MediaUnitDto.kt │ │ │ │ │ └── model/ │ │ │ │ │ ├── algolia/ │ │ │ │ │ │ ├── AlgoliaKey.kt │ │ │ │ │ │ ├── AlgoliaKeyCollection.kt │ │ │ │ │ │ └── SearchType.kt │ │ │ │ │ ├── appupdate/ │ │ │ │ │ │ ├── AppRelease.kt │ │ │ │ │ │ └── UpdateCheckResult.kt │ │ │ │ │ ├── character/ │ │ │ │ │ │ ├── Character.kt │ │ │ │ │ │ ├── CharacterSearchResult.kt │ │ │ │ │ │ ├── MediaCharacter.kt │ │ │ │ │ │ └── MediaCharacterRole.kt │ │ │ │ │ ├── library/ │ │ │ │ │ │ ├── LibraryEntry.kt │ │ │ │ │ │ ├── LibraryEntryFilter.kt │ │ │ │ │ │ ├── LibraryEntryModification.kt │ │ │ │ │ │ ├── LibraryEntryUiModel.kt │ │ │ │ │ │ ├── LibraryEntryWithModification.kt │ │ │ │ │ │ ├── LibraryModificationState.kt │ │ │ │ │ │ ├── LibraryStatus.kt │ │ │ │ │ │ └── ReactionSkip.kt │ │ │ │ │ ├── mapping/ │ │ │ │ │ │ └── Mapping.kt │ │ │ │ │ ├── media/ │ │ │ │ │ │ ├── Anime.kt │ │ │ │ │ │ ├── Manga.kt │ │ │ │ │ │ ├── Media.kt │ │ │ │ │ │ ├── MediaSelector.kt │ │ │ │ │ │ ├── category/ │ │ │ │ │ │ │ ├── Category.kt │ │ │ │ │ │ │ └── CategoryNode.kt │ │ │ │ │ │ ├── production/ │ │ │ │ │ │ │ ├── AnimeProduction.kt │ │ │ │ │ │ │ ├── AnimeProductionRole.kt │ │ │ │ │ │ │ ├── Casting.kt │ │ │ │ │ │ │ ├── Person.kt │ │ │ │ │ │ │ └── Producer.kt │ │ │ │ │ │ ├── relationship/ │ │ │ │ │ │ │ ├── MediaRelationship.kt │ │ │ │ │ │ │ └── MediaRelationshipRole.kt │ │ │ │ │ │ ├── streamer/ │ │ │ │ │ │ │ ├── Streamer.kt │ │ │ │ │ │ │ └── StreamingLink.kt │ │ │ │ │ │ └── unit/ │ │ │ │ │ │ ├── Chapter.kt │ │ │ │ │ │ ├── Episode.kt │ │ │ │ │ │ └── MediaUnit.kt │ │ │ │ │ └── user/ │ │ │ │ │ ├── Favorite.kt │ │ │ │ │ ├── User.kt │ │ │ │ │ ├── profilelinks/ │ │ │ │ │ │ ├── ProfileLink.kt │ │ │ │ │ │ └── ProfileLinkSite.kt │ │ │ │ │ └── stats/ │ │ │ │ │ ├── AmountConsumedPercentiles.kt │ │ │ │ │ ├── UserStats.kt │ │ │ │ │ ├── UserStatsData.kt │ │ │ │ │ └── UserStatsKind.kt │ │ │ │ ├── repository/ │ │ │ │ │ ├── AccessTokenRepository.kt │ │ │ │ │ ├── AlgoliaKeyRepository.kt │ │ │ │ │ ├── AnimeRepository.kt │ │ │ │ │ ├── AppUpdateRepository.kt │ │ │ │ │ ├── CastingRepository.kt │ │ │ │ │ ├── CategoryRepository.kt │ │ │ │ │ ├── CharacterRepository.kt │ │ │ │ │ ├── FavoriteRepository.kt │ │ │ │ │ ├── LibraryChangeListener.kt │ │ │ │ │ ├── LibraryEntryRemoteMediator.kt │ │ │ │ │ ├── LibraryRepository.kt │ │ │ │ │ ├── MangaRepository.kt │ │ │ │ │ ├── MappingRepository.kt │ │ │ │ │ ├── MediaUnitRepository.kt │ │ │ │ │ ├── ProfileLinkRepository.kt │ │ │ │ │ └── UserRepository.kt │ │ │ │ ├── source/ │ │ │ │ │ ├── local/ │ │ │ │ │ │ ├── LocalDatabase.kt │ │ │ │ │ │ ├── auth/ │ │ │ │ │ │ │ ├── AccessTokenLocalDataSource.kt │ │ │ │ │ │ │ ├── AccessTokenPreference.kt │ │ │ │ │ │ │ └── model/ │ │ │ │ │ │ │ └── LocalAccessToken.kt │ │ │ │ │ │ ├── character/ │ │ │ │ │ │ │ └── LocalCharacter.kt │ │ │ │ │ │ ├── library/ │ │ │ │ │ │ │ ├── LibraryLocalDataSource.kt │ │ │ │ │ │ │ ├── LocalLibraryConverters.kt │ │ │ │ │ │ │ ├── dao/ │ │ │ │ │ │ │ │ ├── LibraryEntryDao.kt │ │ │ │ │ │ │ │ ├── LibraryEntryModificationDao.kt │ │ │ │ │ │ │ │ ├── LibraryEntryWithModificationDao.kt │ │ │ │ │ │ │ │ └── RemoteKeyDao.kt │ │ │ │ │ │ │ └── model/ │ │ │ │ │ │ │ ├── LocalImage.kt │ │ │ │ │ │ │ ├── LocalLibraryEntry.kt │ │ │ │ │ │ │ ├── LocalLibraryEntryModification.kt │ │ │ │ │ │ │ ├── LocalLibraryEntryWithModification.kt │ │ │ │ │ │ │ ├── LocalLibraryMedia.kt │ │ │ │ │ │ │ ├── LocalLibraryModificationState.kt │ │ │ │ │ │ │ ├── LocalLibraryStatus.kt │ │ │ │ │ │ │ ├── LocalReactionSkip.kt │ │ │ │ │ │ │ └── RemoteKeyEntity.kt │ │ │ │ │ │ └── user/ │ │ │ │ │ │ ├── UserLocalDataSource.kt │ │ │ │ │ │ ├── UserPreferences.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ ├── LocalRatingSystemPreference.kt │ │ │ │ │ │ ├── LocalSfwFilterPreference.kt │ │ │ │ │ │ ├── LocalTitleLanguagePreference.kt │ │ │ │ │ │ └── LocalUser.kt │ │ │ │ │ └── network/ │ │ │ │ │ ├── BasePagingDataSource.kt │ │ │ │ │ ├── PageData.kt │ │ │ │ │ ├── algolia/ │ │ │ │ │ │ ├── AlgoliaKeyNetworkDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ └── AlgoliaKeyApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ ├── NetworkAlgoliaKey.kt │ │ │ │ │ │ ├── NetworkAlgoliaKeyCollection.kt │ │ │ │ │ │ └── search/ │ │ │ │ │ │ ├── AlgoliaCharacterSearchResult.kt │ │ │ │ │ │ ├── AlgoliaImage.kt │ │ │ │ │ │ ├── AlgoliaMediaSearchKind.kt │ │ │ │ │ │ └── AlgoliaMediaSearchResult.kt │ │ │ │ │ ├── appupdate/ │ │ │ │ │ │ ├── AppReleaseNetworkDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ └── GitHubApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ └── NetworkGitHubRelease.kt │ │ │ │ │ ├── auth/ │ │ │ │ │ │ ├── AccessTokenNetworkDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ └── AuthenticationApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ ├── NetworkAccessToken.kt │ │ │ │ │ │ ├── ObtainAccessToken.kt │ │ │ │ │ │ └── RefreshAccessToken.kt │ │ │ │ │ ├── character/ │ │ │ │ │ │ ├── CharacterNetworkDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ └── CharacterApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ ├── NetworkCharacter.kt │ │ │ │ │ │ ├── NetworkMediaCharacter.kt │ │ │ │ │ │ └── NetworkMediaCharacterRole.kt │ │ │ │ │ ├── library/ │ │ │ │ │ │ ├── LibraryEntryPagingDataSource.kt │ │ │ │ │ │ ├── LibraryNetworkDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ └── LibraryEntryApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ ├── NetworkLibraryEntry.kt │ │ │ │ │ │ ├── NetworkLibraryStatus.kt │ │ │ │ │ │ └── NetworkReactionSkip.kt │ │ │ │ │ ├── mapping/ │ │ │ │ │ │ ├── MappingNetworkDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ └── MappingApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ └── NetworkMapping.kt │ │ │ │ │ ├── media/ │ │ │ │ │ │ ├── AnimeNetworkDataSource.kt │ │ │ │ │ │ ├── AnimePagingDataSource.kt │ │ │ │ │ │ ├── CastingNetworkDataSource.kt │ │ │ │ │ │ ├── CastingPagingDataSource.kt │ │ │ │ │ │ ├── CategoryNetworkDataSource.kt │ │ │ │ │ │ ├── ChapterNetworkDataSource.kt │ │ │ │ │ │ ├── ChapterPagingDataSource.kt │ │ │ │ │ │ ├── EpisodeNetworkDataSource.kt │ │ │ │ │ │ ├── EpisodePagingDataSource.kt │ │ │ │ │ │ ├── MangaNetworkDataSource.kt │ │ │ │ │ │ ├── MangaPagingDataSource.kt │ │ │ │ │ │ ├── TrendingAnimePagingDataSource.kt │ │ │ │ │ │ ├── TrendingMangaPagingDataSource.kt │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ ├── AnimeApi.kt │ │ │ │ │ │ │ ├── CastingApi.kt │ │ │ │ │ │ │ ├── CategoryApi.kt │ │ │ │ │ │ │ ├── ChapterApi.kt │ │ │ │ │ │ │ ├── EpisodeApi.kt │ │ │ │ │ │ │ └── MangaApi.kt │ │ │ │ │ │ └── model/ │ │ │ │ │ │ ├── NetworkAnime.kt │ │ │ │ │ │ ├── NetworkAnimeSubtype.kt │ │ │ │ │ │ ├── NetworkManga.kt │ │ │ │ │ │ ├── NetworkMangaSubtype.kt │ │ │ │ │ │ ├── NetworkMedia.kt │ │ │ │ │ │ ├── NetworkRatingFrequencies.kt │ │ │ │ │ │ ├── NetworkReleaseStatus.kt │ │ │ │ │ │ ├── category/ │ │ │ │ │ │ │ └── NetworkCategory.kt │ │ │ │ │ │ ├── production/ │ │ │ │ │ │ │ ├── NetworkAnimeProduction.kt │ │ │ │ │ │ │ ├── NetworkAnimeProductionRole.kt │ │ │ │ │ │ │ ├── NetworkCasting.kt │ │ │ │ │ │ │ ├── NetworkPerson.kt │ │ │ │ │ │ │ └── NetworkProducer.kt │ │ │ │ │ │ ├── relationship/ │ │ │ │ │ │ │ ├── NetworkMediaRelationship.kt │ │ │ │ │ │ │ └── NetworkMediaRelationshipRole.kt │ │ │ │ │ │ ├── streamer/ │ │ │ │ │ │ │ ├── NetworkStreamer.kt │ │ │ │ │ │ │ └── NetworkStreamingLink.kt │ │ │ │ │ │ └── unit/ │ │ │ │ │ │ ├── NetworkChapter.kt │ │ │ │ │ │ ├── NetworkEpisode.kt │ │ │ │ │ │ └── NetworkMediaUnit.kt │ │ │ │ │ └── user/ │ │ │ │ │ ├── FavoriteNetworkDataSource.kt │ │ │ │ │ ├── ProfileLinkNetworkDataSource.kt │ │ │ │ │ ├── UserNetworkDataSource.kt │ │ │ │ │ ├── api/ │ │ │ │ │ │ ├── FavoriteApi.kt │ │ │ │ │ │ ├── ProfileLinkApi.kt │ │ │ │ │ │ ├── UserApi.kt │ │ │ │ │ │ └── UserImageUploadApi.kt │ │ │ │ │ └── model/ │ │ │ │ │ ├── NetworkFavorite.kt │ │ │ │ │ ├── NetworkRatingSystemPreference.kt │ │ │ │ │ ├── NetworkSfwFilterPreference.kt │ │ │ │ │ ├── NetworkTitleLanguagePreference.kt │ │ │ │ │ ├── NetworkUser.kt │ │ │ │ │ ├── NetworkUserImageUpload.kt │ │ │ │ │ ├── profilelinks/ │ │ │ │ │ │ ├── NetworkProfileLink.kt │ │ │ │ │ │ └── NetworkProfileLinkSite.kt │ │ │ │ │ └── stats/ │ │ │ │ │ ├── NetworkAmountConsumedPercentiles.kt │ │ │ │ │ ├── NetworkUserStats.kt │ │ │ │ │ ├── NetworkUserStatsData.kt │ │ │ │ │ └── NetworkUserStatsKind.kt │ │ │ │ └── utils/ │ │ │ │ └── InvalidatingPagingSourceFactory.kt │ │ │ ├── di/ │ │ │ │ ├── AppModule.kt │ │ │ │ ├── DataModule.kt │ │ │ │ ├── DatabaseModule.kt │ │ │ │ ├── DomainModule.kt │ │ │ │ ├── NetworkModule.kt │ │ │ │ └── ViewModelModule.kt │ │ │ ├── domain/ │ │ │ │ ├── algolia/ │ │ │ │ │ ├── FilterCollection.kt │ │ │ │ │ └── SearchProvider.kt │ │ │ │ ├── auth/ │ │ │ │ │ ├── IsUserLoggedInUseCase.kt │ │ │ │ │ ├── LogInUserUseCase.kt │ │ │ │ │ ├── LogOutUserUseCase.kt │ │ │ │ │ ├── LoginResult.kt │ │ │ │ │ ├── RefreshAccessTokenIfExpiredUseCase.kt │ │ │ │ │ ├── RefreshAccessTokenUseCase.kt │ │ │ │ │ └── RefreshResult.kt │ │ │ │ ├── library/ │ │ │ │ │ ├── FetchLibraryEntriesForWidgetUseCase.kt │ │ │ │ │ ├── GetLibraryEntriesWithModificationsPagerUseCase.kt │ │ │ │ │ ├── LibraryEntryUpdateResult.kt │ │ │ │ │ ├── SearchLibraryEntriesWithLocalModificationsPagerUseCase.kt │ │ │ │ │ ├── SynchronizeLocalLibraryModificationsUseCase.kt │ │ │ │ │ ├── UpdateLibraryEntryProgressUseCase.kt │ │ │ │ │ ├── UpdateLibraryEntryRatingUseCase.kt │ │ │ │ │ └── UpdateLibraryEntryUseCase.kt │ │ │ │ ├── user/ │ │ │ │ │ ├── GetLocalUserIdUseCase.kt │ │ │ │ │ └── UpdateLocalUserUseCase.kt │ │ │ │ └── work/ │ │ │ │ └── UpdateLibraryWidgetUseCase.kt │ │ │ ├── notification/ │ │ │ │ ├── NotificationChannels.kt │ │ │ │ └── Notifications.kt │ │ │ ├── preference/ │ │ │ │ ├── CategoryPrefWrapper.kt │ │ │ │ ├── KitsunePref.kt │ │ │ │ └── StartPagePref.kt │ │ │ ├── ui/ │ │ │ │ ├── adapter/ │ │ │ │ │ ├── AbstractMediaRecyclerViewAdapter.kt │ │ │ │ │ ├── CharacterAdapter.kt │ │ │ │ │ ├── MediaCharacterAdapter.kt │ │ │ │ │ ├── MediaMappingsAdapter.kt │ │ │ │ │ ├── MediaRecyclerViewAdapter.kt │ │ │ │ │ ├── MediaRelationshipRecyclerViewAdapter.kt │ │ │ │ │ ├── MediaRelationshipViewHolder.kt │ │ │ │ │ ├── MediaViewHolder.kt │ │ │ │ │ ├── OnItemClickListener.kt │ │ │ │ │ ├── StreamingLinkAdapter.kt │ │ │ │ │ └── paging/ │ │ │ │ │ ├── AnimeAdapter.kt │ │ │ │ │ ├── CharacterPagingAdapter.kt │ │ │ │ │ ├── LibraryEntriesAdapter.kt │ │ │ │ │ ├── MangaAdapter.kt │ │ │ │ │ ├── MediaPagingAdapter.kt │ │ │ │ │ ├── MediaSearchPagingAdapter.kt │ │ │ │ │ ├── MediaUnitPagingAdapter.kt │ │ │ │ │ └── ResourceLoadStateAdapter.kt │ │ │ │ ├── authentication/ │ │ │ │ │ ├── AuthenticationActivity.kt │ │ │ │ │ ├── LoggedInUserView.kt │ │ │ │ │ ├── LoginFormState.kt │ │ │ │ │ ├── LoginResultUi.kt │ │ │ │ │ └── LoginViewModel.kt │ │ │ │ ├── base/ │ │ │ │ │ ├── BaseActivity.kt │ │ │ │ │ ├── BaseDialogFragment.kt │ │ │ │ │ ├── BaseFragment.kt │ │ │ │ │ └── BasePreferenceFragment.kt │ │ │ │ ├── component/ │ │ │ │ │ ├── CustomNumberSpinner.kt │ │ │ │ │ ├── ExpandableLayout.kt │ │ │ │ │ ├── ExploreSection.kt │ │ │ │ │ ├── LayoutResourceLoadingLoadState.kt │ │ │ │ │ ├── LoadStateSpanSizeLookup.kt │ │ │ │ │ ├── MediaItemCard.kt │ │ │ │ │ ├── NestedScrollableHost.kt │ │ │ │ │ ├── PhotoViewNestedScrollView.kt │ │ │ │ │ ├── ResponsiveGridLayoutManager.kt │ │ │ │ │ ├── UniqueStateRecyclerView.kt │ │ │ │ │ ├── algolia/ │ │ │ │ │ │ ├── SeasonListPresenter.kt │ │ │ │ │ │ └── range/ │ │ │ │ │ │ ├── CustomFilterRangeConnectionFilterState.kt │ │ │ │ │ │ ├── CustomFilterRangeConnector.kt │ │ │ │ │ │ ├── CustomNumberRangeConnectionView.kt │ │ │ │ │ │ ├── CustomNumberRangeView.kt │ │ │ │ │ │ └── IntNumberRangeView.kt │ │ │ │ │ └── chart/ │ │ │ │ │ ├── BarChartStyle.kt │ │ │ │ │ ├── BaseChartStyle.kt │ │ │ │ │ ├── CustomPercentFormatter.kt │ │ │ │ │ ├── NonZeroLargeValueFormatter.kt │ │ │ │ │ ├── PieChartStyle.kt │ │ │ │ │ └── StepAxisValueFormatter.kt │ │ │ │ ├── details/ │ │ │ │ │ ├── DetailsFragment.kt │ │ │ │ │ ├── DetailsViewModel.kt │ │ │ │ │ ├── ManageLibraryBottomSheet.kt │ │ │ │ │ ├── MediaMappingsBottomSheet.kt │ │ │ │ │ ├── characters/ │ │ │ │ │ │ ├── CharacterDetailsBottomSheet.kt │ │ │ │ │ │ ├── CharacterDetailsViewModel.kt │ │ │ │ │ │ ├── CharacterFilterAdapter.kt │ │ │ │ │ │ ├── CharactersFragment.kt │ │ │ │ │ │ └── CharactersViewModel.kt │ │ │ │ │ └── episodes/ │ │ │ │ │ ├── EpisodesFragment.kt │ │ │ │ │ ├── EpisodesViewModel.kt │ │ │ │ │ └── MediaUnitDetailsBottomSheet.kt │ │ │ │ ├── library/ │ │ │ │ │ ├── LibraryFragment.kt │ │ │ │ │ ├── LibraryViewModel.kt │ │ │ │ │ ├── RatingBottomSheet.kt │ │ │ │ │ └── editentry/ │ │ │ │ │ ├── LibraryEditEntryFragment.kt │ │ │ │ │ └── LibraryEditEntryViewModel.kt │ │ │ │ ├── main/ │ │ │ │ │ ├── HomeExploreFragment.kt │ │ │ │ │ ├── HomeExploreViewPagerAdapter.kt │ │ │ │ │ ├── MainActivity.kt │ │ │ │ │ ├── MainActivityViewModel.kt │ │ │ │ │ ├── MainFragment.kt │ │ │ │ │ └── MainFragmentViewModel.kt │ │ │ │ ├── medialist/ │ │ │ │ │ ├── MediaListFragment.kt │ │ │ │ │ └── MediaListViewModel.kt │ │ │ │ ├── onboarding/ │ │ │ │ │ ├── OnboardingActivity.kt │ │ │ │ │ ├── OnboardingUiState.kt │ │ │ │ │ ├── OnboardingViewModel.kt │ │ │ │ │ ├── components/ │ │ │ │ │ │ ├── CustomDialog.kt │ │ │ │ │ │ ├── ImagePresenter.kt │ │ │ │ │ │ ├── ImageSlideshow.kt │ │ │ │ │ │ ├── OnboardingNavigationControls.kt │ │ │ │ │ │ └── PreferenceCard.kt │ │ │ │ │ └── pages/ │ │ │ │ │ ├── LoginPage.kt │ │ │ │ │ ├── SetupPage.kt │ │ │ │ │ └── WelcomePage.kt │ │ │ │ ├── permissions/ │ │ │ │ │ └── NotificationPermission.kt │ │ │ │ ├── photoview/ │ │ │ │ │ └── PhotoViewActivity.kt │ │ │ │ ├── profile/ │ │ │ │ │ ├── ProfileFragment.kt │ │ │ │ │ ├── ProfileStatsAdapter.kt │ │ │ │ │ ├── ProfileViewModel.kt │ │ │ │ │ └── editprofile/ │ │ │ │ │ ├── CharacterSearchResultAdapter.kt │ │ │ │ │ ├── EditProfileFragment.kt │ │ │ │ │ ├── EditProfileLinkBottomSheet.kt │ │ │ │ │ ├── EditProfileViewModel.kt │ │ │ │ │ └── SelectProfileLinkSiteBottomSheet.kt │ │ │ │ ├── search/ │ │ │ │ │ ├── SearchFragment.kt │ │ │ │ │ ├── SearchViewModel.kt │ │ │ │ │ ├── categories/ │ │ │ │ │ │ ├── CategoriesDialogFragment.kt │ │ │ │ │ │ ├── CategoriesViewModel.kt │ │ │ │ │ │ └── CategoryViewHolder.kt │ │ │ │ │ └── filter/ │ │ │ │ │ ├── FacetFragment.kt │ │ │ │ │ └── FilterFacetListViewHolder.kt │ │ │ │ ├── settings/ │ │ │ │ │ ├── AppLogsFragment.kt │ │ │ │ │ ├── AppLogsViewModel.kt │ │ │ │ │ ├── AppearanceFragment.kt │ │ │ │ │ ├── OSLibrariesFragment.kt │ │ │ │ │ ├── SettingsFragment.kt │ │ │ │ │ ├── SettingsViewModel.kt │ │ │ │ │ └── ThemePickerPreference.kt │ │ │ │ ├── theme/ │ │ │ │ │ ├── MdcThemeAdapter.kt │ │ │ │ │ └── Theme.kt │ │ │ │ ├── webview/ │ │ │ │ │ └── WebViewFragment.kt │ │ │ │ └── widget/ │ │ │ │ ├── KitsuneWidgetReceiver.kt │ │ │ │ ├── KitsuneWidgetTheme.kt │ │ │ │ ├── LibraryAppWidget.kt │ │ │ │ └── WidgetUtils.kt │ │ │ ├── util/ │ │ │ │ ├── DataUtil.kt │ │ │ │ ├── DateUtil.kt │ │ │ │ ├── ItemClickListener.kt │ │ │ │ ├── KitsuUrlReplacer.kt │ │ │ │ ├── LogCatReader.kt │ │ │ │ ├── LogUtil.kt │ │ │ │ ├── SaveImage.kt │ │ │ │ ├── TimeUtil.kt │ │ │ │ ├── extensions/ │ │ │ │ │ ├── ActivityExtensions.kt │ │ │ │ │ ├── FragmentExtensions.kt │ │ │ │ │ └── OtherExtensions.kt │ │ │ │ ├── json/ │ │ │ │ │ ├── AlgoliaFacetValueDeserializer.kt │ │ │ │ │ ├── AlgoliaNumericValueDeserializer.kt │ │ │ │ │ ├── IgnoreParcelablePropertyMixin.kt │ │ │ │ │ └── NullableIntSerializer.kt │ │ │ │ ├── network/ │ │ │ │ │ ├── AuthenticationInterceptor.kt │ │ │ │ │ ├── ResponseData.kt │ │ │ │ │ └── UserAgentInterceptor.kt │ │ │ │ ├── rating/ │ │ │ │ │ ├── RatingFrequenciesUtil.kt │ │ │ │ │ └── RatingSystemUtil.kt │ │ │ │ └── ui/ │ │ │ │ ├── BindingAdapter.kt │ │ │ │ ├── DateValidatorPointBetween.kt │ │ │ │ ├── ProfileSiteLogo.kt │ │ │ │ ├── RoundBitmapDrawable.kt │ │ │ │ ├── SnackbarUtils.kt │ │ │ │ └── WindowInsetsUtil.kt │ │ │ └── work/ │ │ │ ├── SyncLibraryEntriesForWidgetWorker.kt │ │ │ └── UpdateLibraryWidgetWorker.kt │ │ └── res/ │ │ ├── anim/ │ │ │ ├── slide_down.xml │ │ │ └── slide_up.xml │ │ ├── animator/ │ │ │ ├── scale_enter_anim.xml │ │ │ ├── scale_exit_anim.xml │ │ │ ├── scale_pop_enter_anim.xml │ │ │ └── scale_pop_exit_anim.xml │ │ ├── color/ │ │ │ ├── subtype_badge_background.xml │ │ │ ├── translucent_overlay.xml │ │ │ └── translucent_status_bar.xml │ │ ├── drawable/ │ │ │ ├── animated_favorite.xml │ │ │ ├── badge_background.xml │ │ │ ├── bottom_edge_fade.xml │ │ │ ├── bottom_edge_fade_surface.xml │ │ │ ├── cover_placeholder.xml │ │ │ ├── explore_section_divider.xml │ │ │ ├── ic_add_24.xml │ │ │ ├── ic_add_a_photo_24.xml │ │ │ ├── ic_amazon.xml │ │ │ ├── ic_animelab.xml │ │ │ ├── ic_arrow_back_24.xml │ │ │ ├── ic_arrow_drop_down_24.xml │ │ │ ├── ic_arrow_forward_24.xml │ │ │ ├── ic_bar_chart_16.xml │ │ │ ├── ic_battle_net.xml │ │ │ ├── ic_bookmark_added_24.xml │ │ │ ├── ic_cake_24.xml │ │ │ ├── ic_calendar_24.xml │ │ │ ├── ic_calendar_month_24.xml │ │ │ ├── ic_cancel_presentation_24.xml │ │ │ ├── ic_check_24.xml │ │ │ ├── ic_close_24.xml │ │ │ ├── ic_cloud_off_16.xml │ │ │ ├── ic_code_24.xml │ │ │ ├── ic_contv.xml │ │ │ ├── ic_crunchyroll.xml │ │ │ ├── ic_dailymotion.xml │ │ │ ├── ic_delete_24.xml │ │ │ ├── ic_deviantart.xml │ │ │ ├── ic_discord.xml │ │ │ ├── ic_done_24.xml │ │ │ ├── ic_dribbble.xml │ │ │ ├── ic_edit_24.xml │ │ │ ├── ic_emoji_events_24.xml │ │ │ ├── ic_facebook.xml │ │ │ ├── ic_favorite_24.xml │ │ │ ├── ic_favorite_border_24.xml │ │ │ ├── ic_filter_24.xml │ │ │ ├── ic_funimation.xml │ │ │ ├── ic_github.xml │ │ │ ├── ic_google_plus.xml │ │ │ ├── ic_heart_broken_24.xml │ │ │ ├── ic_hidive.xml │ │ │ ├── ic_home_24.xml │ │ │ ├── ic_hulu.xml │ │ │ ├── ic_imdb.xml │ │ │ ├── ic_incomplete_circle_24.xml │ │ │ ├── ic_insert_photo_48.xml │ │ │ ├── ic_instagram.xml │ │ │ ├── ic_keyboard_arrow_down_24.xml │ │ │ ├── ic_kickstarter.xml │ │ │ ├── ic_lastfm.xml │ │ │ ├── ic_launcher_foreground.xml │ │ │ ├── ic_letterboxd.xml │ │ │ ├── ic_location_24.xml │ │ │ ├── ic_medium.xml │ │ │ ├── ic_mobcrush.xml │ │ │ ├── ic_more_vert.xml │ │ │ ├── ic_netflix.xml │ │ │ ├── ic_notification_icon.xml │ │ │ ├── ic_open_in_browser_24.xml │ │ │ ├── ic_open_in_new_24.xml │ │ │ ├── ic_osu.xml │ │ │ ├── ic_outline_bookmarks_24.xml │ │ │ ├── ic_outline_explore_24.xml │ │ │ ├── ic_outline_home_24.xml │ │ │ ├── ic_outline_info_24.xml │ │ │ ├── ic_outline_person_24.xml │ │ │ ├── ic_outline_view_list_24.xml │ │ │ ├── ic_patreon.xml │ │ │ ├── ic_person_24.xml │ │ │ ├── ic_player_me.xml │ │ │ ├── ic_raptr.xml │ │ │ ├── ic_reddit.xml │ │ │ ├── ic_remove_24.xml │ │ │ ├── ic_restore_24.xml │ │ │ ├── ic_save_24.xml │ │ │ ├── ic_save_alt_24.xml │ │ │ ├── ic_schedule_24.xml │ │ │ ├── ic_search_24.xml │ │ │ ├── ic_settings_24.xml │ │ │ ├── ic_share_24.xml │ │ │ ├── ic_shortcut_library_24.xml │ │ │ ├── ic_shortcut_search_24.xml │ │ │ ├── ic_shortcut_settings_24.xml │ │ │ ├── ic_soundcloud.xml │ │ │ ├── ic_splashscreen.xml │ │ │ ├── ic_star_24.xml │ │ │ ├── ic_star_outline_24.xml │ │ │ ├── ic_steam.xml │ │ │ ├── ic_sync_24.xml │ │ │ ├── ic_trakt.xml │ │ │ ├── ic_tubitv.xml │ │ │ ├── ic_tumblr.xml │ │ │ ├── ic_twitch.xml │ │ │ ├── ic_twitter.xml │ │ │ ├── ic_view_list_24.xml │ │ │ ├── ic_vimeo.xml │ │ │ ├── ic_vrv.xml │ │ │ ├── ic_watch_later_24.xml │ │ │ ├── ic_website.xml │ │ │ ├── ic_youtube.xml │ │ │ ├── onboarding_login_logo.xml │ │ │ ├── profile_picture_placeholder.xml │ │ │ ├── progress_horizontal.xml │ │ │ ├── radial_edge_fade.xml │ │ │ ├── rectangle_background.xml │ │ │ ├── selectable_item_background.xml │ │ │ ├── selector_home.xml │ │ │ ├── selector_library.xml │ │ │ ├── selector_profile.xml │ │ │ ├── selector_search.xml │ │ │ ├── top_edge_fade.xml │ │ │ ├── top_edge_fade_surface.xml │ │ │ ├── translucent_background.xml │ │ │ └── widget_rounded_rect.xml │ │ ├── drawable-night/ │ │ │ └── progress_horizontal.xml │ │ ├── layout/ │ │ │ ├── activity_authentication.xml │ │ │ ├── activity_main.xml │ │ │ ├── activity_photo_view.xml │ │ │ ├── custom_edit_text_preference.xml │ │ │ ├── custom_number_spinner.xml │ │ │ ├── custom_preference_switch.xml │ │ │ ├── fragment_app_logs.xml │ │ │ ├── fragment_categories.xml │ │ │ ├── fragment_characters.xml │ │ │ ├── fragment_details.xml │ │ │ ├── fragment_edit_library_entry.xml │ │ │ ├── fragment_edit_profile.xml │ │ │ ├── fragment_filter_facet.xml │ │ │ ├── fragment_home_explore.xml │ │ │ ├── fragment_library.xml │ │ │ ├── fragment_main.xml │ │ │ ├── fragment_media_list.xml │ │ │ ├── fragment_os_libraries.xml │ │ │ ├── fragment_preference.xml │ │ │ ├── fragment_profile.xml │ │ │ ├── fragment_search.xml │ │ │ ├── fragment_web_view.xml │ │ │ ├── item_category_node.xml │ │ │ ├── item_character.xml │ │ │ ├── item_character_filter.xml │ │ │ ├── item_character_search_result.xml │ │ │ ├── item_details_info_row.xml │ │ │ ├── item_dropdown.xml │ │ │ ├── item_episode.xml │ │ │ ├── item_facet.xml │ │ │ ├── item_library_entry.xml │ │ │ ├── item_library_status_separator.xml │ │ │ ├── item_list_option.xml │ │ │ ├── item_media.xml │ │ │ ├── item_media_mapping.xml │ │ │ ├── item_network_state.xml │ │ │ ├── item_profile_site_chip.xml │ │ │ ├── item_profile_stats.xml │ │ │ ├── item_single_character.xml │ │ │ ├── item_streamer.xml │ │ │ ├── item_theme_option.xml │ │ │ ├── layout_resource_loading.xml │ │ │ ├── layout_search_provider_loading.xml │ │ │ ├── layout_theme_picker_preference.xml │ │ │ ├── section_details_description.xml │ │ │ ├── section_details_info.xml │ │ │ ├── section_details_stats.xml │ │ │ ├── section_details_trailer.xml │ │ │ ├── section_main_explore.xml │ │ │ ├── sheet_character_details.xml │ │ │ ├── sheet_edit_profile_link.xml │ │ │ ├── sheet_library_rating.xml │ │ │ ├── sheet_manage_library.xml │ │ │ ├── sheet_media_mappings.xml │ │ │ ├── sheet_media_unit_details.xml │ │ │ └── sheet_select_profile_link_site.xml │ │ ├── layout-w600dp/ │ │ │ └── activity_main.xml │ │ ├── menu/ │ │ │ ├── category_dialog_menu.xml │ │ │ ├── details_menu.xml │ │ │ ├── filter_facet_menu.xml │ │ │ ├── library_menu.xml │ │ │ ├── logs_menu.xml │ │ │ ├── main_nav_menu.xml │ │ │ ├── profile_menu.xml │ │ │ └── webview_menu.xml │ │ ├── mipmap-anydpi-v26/ │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── navigation/ │ │ │ ├── main_nav_graph.xml │ │ │ └── settings_nav_graph.xml │ │ ├── resources.properties │ │ ├── values/ │ │ │ ├── MdcThemeAdapter.xml │ │ │ ├── arrays.xml │ │ │ ├── attr.xml │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── integers.xml │ │ │ ├── preference_keys.xml │ │ │ ├── strings.xml │ │ │ ├── styles.xml │ │ │ └── themes.xml │ │ ├── values-af/ │ │ │ └── strings.xml │ │ ├── values-de/ │ │ │ └── strings.xml │ │ ├── values-es/ │ │ │ └── strings.xml │ │ ├── values-fr/ │ │ │ └── strings.xml │ │ ├── values-it/ │ │ │ └── strings.xml │ │ ├── values-land/ │ │ │ └── dimens.xml │ │ ├── values-night/ │ │ │ ├── colors.xml │ │ │ └── themes.xml │ │ ├── values-pt/ │ │ │ └── strings.xml │ │ ├── values-pt-rBR/ │ │ │ └── strings.xml │ │ ├── values-ru/ │ │ │ └── strings.xml │ │ ├── values-ta/ │ │ │ └── strings.xml │ │ ├── values-tr/ │ │ │ └── strings.xml │ │ ├── values-v31/ │ │ │ └── styles.xml │ │ ├── values-vi/ │ │ │ └── strings.xml │ │ ├── values-w1240dp/ │ │ │ └── dimens.xml │ │ ├── values-zh-rCN/ │ │ │ └── strings.xml │ │ ├── xml/ │ │ │ ├── app_preferences.xml │ │ │ ├── appearance_preferences.xml │ │ │ ├── backup_rules.xml │ │ │ ├── backup_rules_sdk31.xml │ │ │ ├── filepaths.xml │ │ │ └── library_widget_info.xml │ │ └── xml-v25/ │ │ └── shortcuts.xml │ └── test/ │ ├── java/ │ │ └── io/ │ │ └── github/ │ │ └── drumber/ │ │ └── kitsune/ │ │ ├── archunit/ │ │ │ └── ArchUnitTest.kt │ │ ├── data/ │ │ │ ├── mapper/ │ │ │ │ ├── AuthMapperTest.kt │ │ │ │ ├── CharacterMapperTest.kt │ │ │ │ ├── MediaMapperTest.kt │ │ │ │ └── UserMapperTest.kt │ │ │ ├── presentation/ │ │ │ │ └── model/ │ │ │ │ ├── library/ │ │ │ │ │ ├── LibraryEntryModificationTest.kt │ │ │ │ │ └── LibraryEntryWithModificationTest.kt │ │ │ │ └── media/ │ │ │ │ └── MediaTest.kt │ │ │ ├── repository/ │ │ │ │ ├── AccessTokenRepositoryTest.kt │ │ │ │ ├── AlgoliaKeyRepositoryTest.kt │ │ │ │ ├── AppUpdateRepositoryTest.kt │ │ │ │ ├── LibraryRepositoryTest.kt │ │ │ │ └── UserRepositoryTest.kt │ │ │ └── source/ │ │ │ ├── local/ │ │ │ │ ├── auth/ │ │ │ │ │ └── LocalAccessTokenTest.kt │ │ │ │ └── library/ │ │ │ │ └── model/ │ │ │ │ └── LocalLibraryEntryModificationTest.kt │ │ │ └── network/ │ │ │ └── PageDataTest.kt │ │ ├── domain/ │ │ │ ├── auth/ │ │ │ │ ├── LogInUserUseCaseTest.kt │ │ │ │ ├── LogOutUserUseCaseTest.kt │ │ │ │ ├── RefreshAccessTokenIfExpiredUseCaseTest.kt │ │ │ │ └── RefreshAccessTokenUseCaseTest.kt │ │ │ ├── library/ │ │ │ │ └── SynchronizeLocalLibraryModificationsUseCaseTest.kt │ │ │ └── user/ │ │ │ └── UpdateLocalUserUseCaseTest.kt │ │ ├── testutils/ │ │ │ ├── AndroidLoggerMock.kt │ │ │ ├── FakeCharacter.kt │ │ │ ├── FakeImage.kt │ │ │ ├── FakeLibraryEntry.kt │ │ │ ├── FakeLibraryEntryModification.kt │ │ │ ├── FakeMedia.kt │ │ │ ├── FakeUser.kt │ │ │ ├── KoinTestModules.kt │ │ │ ├── SuspendFunctionHelper.kt │ │ │ └── network/ │ │ │ ├── FakeHttpException.kt │ │ │ └── NoOpAuthenticationInterceptor.kt │ │ └── util/ │ │ ├── DateUtilTest.kt │ │ └── rating/ │ │ └── RatingFrequenciesUtilTest.kt │ └── resources/ │ └── mockito-extensions/ │ └── org.mockito.plugins.MockMaker ├── build.gradle.kts ├── docs/ │ └── hidden-actions.md ├── fastlane/ │ ├── Appfile │ ├── Fastfile │ ├── README.md │ ├── Workflow.md │ └── metadata/ │ └── android/ │ ├── en-US/ │ │ ├── changelogs/ │ │ │ ├── 25.txt │ │ │ ├── 26.txt │ │ │ ├── 27.txt │ │ │ ├── 28.txt │ │ │ ├── 29.txt │ │ │ ├── 30.txt │ │ │ ├── 31.txt │ │ │ ├── 32.txt │ │ │ ├── 33.txt │ │ │ ├── 34.txt │ │ │ ├── 35.txt │ │ │ ├── 36.txt │ │ │ ├── 37.txt │ │ │ ├── 38.txt │ │ │ └── 39.txt │ │ ├── full_description.txt │ │ ├── short_description.txt │ │ ├── title.txt │ │ └── video.txt │ └── zh-CN/ │ ├── full_description.txt │ ├── short_description.txt │ └── title.txt ├── gradle/ │ ├── libs.versions.toml │ └── wrapper/ │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradle.properties ├── gradlew ├── gradlew.bat ├── plugin/ │ ├── .gitignore │ ├── build.gradle.kts │ ├── settings.gradle.kts │ └── src/ │ └── main/ │ └── java/ │ └── io/ │ └── github/ │ └── drumber/ │ └── plugin/ │ ├── CustomPlugin.kt │ ├── ExtractLocalesTask.kt │ └── ReplaceShortcutsPackageTask.kt └── settings.gradle.kts
Condensed preview — 740 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,321K chars).
[
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yml",
"chars": 1920,
"preview": "name: Bug Report\ndescription: Create a report for bugs or other issues you've encountered.\nlabels: [ bug ]\nbody:\n - typ"
},
{
"path": ".github/ISSUE_TEMPLATE/feature_request.yml",
"chars": 575,
"preview": "name: Feature Request\ndescription: Suggest new features or improvements for the app.\nlabels: [ enhancement ]\nbody:\n - t"
},
{
"path": ".github/workflows/build.yml",
"chars": 1169,
"preview": "name: Build app\n\non:\n workflow_dispatch:\n inputs:\n buildVariant:\n description: 'App build variant'\n "
},
{
"path": ".github/workflows/reproducible-build.yml",
"chars": 1341,
"preview": "name: Verify reproducible build\n\non:\n workflow_dispatch:\n inputs:\n releaseTag:\n description: Tag of the "
},
{
"path": ".github/workflows/test.yml",
"chars": 405,
"preview": "name: Test app\n\non: [push, pull_request]\n\npermissions:\n contents: read\n\njobs:\n test:\n runs-on: ubuntu-latest\n st"
},
{
"path": ".gitignore",
"chars": 1568,
"preview": "# Built application files\n*.apk\n*.aar\n*.ap_\n*.aab\n\n# Files for the ART/Dalvik VM\n*.dex\n\n# Java class files\n*.class\n\n# Ge"
},
{
"path": ".idea/.gitignore",
"chars": 213,
"preview": "# Default ignored files\n/shelf/\n/workspace.xml\n/androidTestResultsUserPreferences.xml\n/deploymentTargetSelector.xml\n/ins"
},
{
"path": ".idea/AndroidProjectSystem.xml",
"chars": 212,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"AndroidProjectSystem\">\n <option name="
},
{
"path": ".idea/codeStyles/Project.xml",
"chars": 3799,
"preview": "<component name=\"ProjectCodeStyleConfiguration\">\n <code_scheme name=\"Project\" version=\"173\">\n <option name=\"OTHER_IN"
},
{
"path": ".idea/codeStyles/codeStyleConfig.xml",
"chars": 142,
"preview": "<component name=\"ProjectCodeStyleConfiguration\">\n <state>\n <option name=\"USE_PER_PROJECT_SETTINGS\" value=\"true\" />\n "
},
{
"path": ".idea/compiler.xml",
"chars": 169,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"CompilerConfiguration\">\n <bytecodeTar"
},
{
"path": ".idea/kotlinc.xml",
"chars": 176,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"KotlinJpsPluginSettings\">\n <option na"
},
{
"path": "CODE_OF_CONDUCT.md",
"chars": 5508,
"preview": "\n# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nWe as members, contributors, and leaders pledge to make particip"
},
{
"path": "CONTRIBUTING.md",
"chars": 2003,
"preview": "# Contributing to Kitsune\nThank you for your interest in contributing to Kitsune! Any support is greatly appreciated.\n\n#"
},
{
"path": "Gemfile",
"chars": 46,
"preview": "source \"https://rubygems.org\"\n\ngem \"fastlane\"\n"
},
{
"path": "LICENSE",
"chars": 11357,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "README.md",
"chars": 2096,
"preview": "<div align=\"center\">\n<img src=\"./media/kitsune-logo.svg\">\n<h1>Kitsune</h1>\n</div>\n\nUnofficial android app for [Kitsu](ht"
},
{
"path": "app/.gitignore",
"chars": 15,
"preview": "/build\n/release"
},
{
"path": "app/build.gradle.kts",
"chars": 7911,
"preview": "import org.jetbrains.kotlin.gradle.dsl.JvmTarget\nimport org.jetbrains.kotlin.gradle.dsl.KotlinVersion\n\nplugins {\n ali"
},
{
"path": "app/gradle.properties",
"chars": 104,
"preview": "# set to 'true' to apply blur effect to images (note: build target must be 'debug')\nscreenshotMode=false"
},
{
"path": "app/proguard-rules.pro",
"chars": 2033,
"preview": "# Add project specific ProGuard rules here.\n# You can control the set of applied configuration files using the\n# proguar"
},
{
"path": "app/schemas/io.github.drumber.kitsune.data.source.local.LocalDatabase/1.json",
"chars": 37385,
"preview": "{\n \"formatVersion\": 1,\n \"database\": {\n \"version\": 1,\n \"identityHash\": \"9ffeea6c7e014697eeeb8de0dbec5a99\",\n \"e"
},
{
"path": "app/schemas/io.github.drumber.kitsune.data.source.local.LocalDatabase/2.json",
"chars": 37583,
"preview": "{\n \"formatVersion\": 1,\n \"database\": {\n \"version\": 2,\n \"identityHash\": \"21e2d33c7212c6e12b735dc22bf563f5\",\n \"e"
},
{
"path": "app/schemas/io.github.drumber.kitsune.data.source.local.LocalDatabase/3.json",
"chars": 22570,
"preview": "{\n \"formatVersion\": 1,\n \"database\": {\n \"version\": 3,\n \"identityHash\": \"7979a798f0004298608e29c0014d940d\",\n \"e"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/fastlane/CaptureScreenshots.kt",
"chars": 6127,
"preview": "package io.github.drumber.kitsune.fastlane\n\nimport android.net.Uri\nimport androidx.appcompat.app.AppCompatDelegate\nimpor"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/navigation/NavigationTest.kt",
"chars": 9332,
"preview": "package io.github.drumber.kitsune.navigation\n\nimport android.net.Uri\nimport androidx.navigation.findNavController\nimport"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/utils/OkHttpIdlingResource.kt",
"chars": 820,
"preview": "package io.github.drumber.kitsune.utils\n\nimport androidx.test.espresso.IdlingResource\nimport okhttp3.Dispatcher\nimport o"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/utils/SearchViewActions.kt",
"chars": 821,
"preview": "package io.github.drumber.kitsune.utils\n\nimport android.view.View\nimport androidx.appcompat.widget.SearchView\nimport and"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/utils/ViewActions.kt",
"chars": 1207,
"preview": "package io.github.drumber.kitsune.utils\n\nimport android.view.View\nimport androidx.test.espresso.UiController\nimport andr"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/utils/WaitForView.kt",
"chars": 1718,
"preview": "package io.github.drumber.kitsune.utils\n\nimport android.view.View\nimport androidx.annotation.IdRes\nimport androidx.test."
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/utils/filter/RequiresScreenshotMode.kt",
"chars": 269,
"preview": "package io.github.drumber.kitsune.utils.filter\n\nimport androidx.test.filters.CustomFilter\n\n@Retention(AnnotationRetentio"
},
{
"path": "app/src/androidTest/java/io/github/drumber/kitsune/utils/filter/ScreenshotModeCustomFilter.kt",
"chars": 490,
"preview": "package io.github.drumber.kitsune.utils.filter\n\nimport androidx.test.filters.AbstractFilter\nimport io.github.drumber.kit"
},
{
"path": "app/src/debug/AndroidManifest.xml",
"chars": 684,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n xmlns:tools=\"http://schemas.android.com/tools\">"
},
{
"path": "app/src/instrumented/AndroidManifest.xml",
"chars": 684,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n xmlns:tools=\"http://schemas.android.com/tools\">"
},
{
"path": "app/src/main/AndroidManifest.xml",
"chars": 3562,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n xmlns:to"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/KitsuneApplication.kt",
"chars": 4483,
"preview": "package io.github.drumber.kitsune\n\nimport android.app.Application\nimport androidx.appcompat.app.AppCompatDelegate\nimport"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/KitsuneGlideModule.kt",
"chars": 2261,
"preview": "package io.github.drumber.kitsune\n\nimport android.content.Context\nimport android.graphics.Bitmap\nimport com.bumptech.gli"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/AppTheme.kt",
"chars": 566,
"preview": "package io.github.drumber.kitsune.constants\n\nimport androidx.annotation.StyleRes\nimport io.github.drumber.kitsune.R\n\nenu"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/Defaults.kt",
"chars": 358,
"preview": "package io.github.drumber.kitsune.constants\n\nobject Defaults {\n\n /** The minimum of required fields to display resour"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/GitHub.kt",
"chars": 137,
"preview": "package io.github.drumber.kitsune.constants\n\nobject GitHub {\n\n const val API_URL = \"https://api.github.com/repos/drum"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/IntentAction.kt",
"chars": 471,
"preview": "package io.github.drumber.kitsune.constants\n\nobject IntentAction {\n // Actions for app shortcuts\n const val SHORTC"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/Kitsu.kt",
"chars": 578,
"preview": "package io.github.drumber.kitsune.constants\n\nobject Kitsu {\n\n const val DEFAULT_PAGE_OFFSET = 0\n const val DEFAULT"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/LibraryWidget.kt",
"chars": 103,
"preview": "package io.github.drumber.kitsune.constants\n\nobject LibraryWidget {\n const val MAX_ITEM_COUNT = 10\n}"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/MediaItemSize.kt",
"chars": 445,
"preview": "package io.github.drumber.kitsune.constants\n\nimport androidx.annotation.DimenRes\nimport io.github.drumber.kitsune.R\n\nenu"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/Repository.kt",
"chars": 106,
"preview": "package io.github.drumber.kitsune.constants\n\nobject Repository {\n\n const val MAX_CACHED_ITEMS = 600\n\n}\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/SortFilter.kt",
"chars": 1288,
"preview": "package io.github.drumber.kitsune.constants\n\nimport io.github.drumber.kitsune.R\n\nenum class SortFilter(val queryParam: S"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/constants/StreamingLogo.kt",
"chars": 570,
"preview": "package io.github.drumber.kitsune.constants\n\nimport androidx.annotation.DrawableRes\nimport io.github.drumber.kitsune.R\n\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/Filter.kt",
"chars": 1559,
"preview": "package io.github.drumber.kitsune.data.common\n\nimport io.github.drumber.kitsune.constants.Kitsu\n\ndata class Filter(val o"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/Image.kt",
"chars": 760,
"preview": "package io.github.drumber.kitsune.data.common\n\ndata class Image(\n val tiny: String?,\n val small: String?,\n val "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/Titles.kt",
"chars": 377,
"preview": "package io.github.drumber.kitsune.data.common\n\ntypealias Titles = Map<String, String?>\n\nval Titles.en get() = get(\"en\")\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/exception/InvalidDataException.kt",
"chars": 120,
"preview": "package io.github.drumber.kitsune.data.common.exception\n\nclass InvalidDataException(message: String): Exception(message)"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/exception/NoDataException.kt",
"chars": 172,
"preview": "package io.github.drumber.kitsune.data.common.exception\n\nclass NoDataException : Exception {\n constructor() : super()"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/exception/NotFoundException.kt",
"chars": 164,
"preview": "package io.github.drumber.kitsune.data.common.exception\n\nclass NotFoundException(message: String? = null, cause: Throwab"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/exception/ResourceUpdateFailed.kt",
"chars": 177,
"preview": "package io.github.drumber.kitsune.data.common.exception\n\nclass ResourceUpdateFailed : Exception {\n constructor() : su"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/exception/SearchProviderUnavailableException.kt",
"chars": 142,
"preview": "package io.github.drumber.kitsune.data.common.exception\n\nclass SearchProviderUnavailableException(message: String? = nul"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/library/LibraryEntryKind.kt",
"chars": 116,
"preview": "package io.github.drumber.kitsune.data.common.library\n\nenum class LibraryEntryKind {\n All,\n Anime,\n Manga\n}"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/media/AgeRating.kt",
"chars": 107,
"preview": "package io.github.drumber.kitsune.data.common.media\n\nenum class AgeRating {\n G,\n PG,\n R,\n R18\n}"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/media/AnimeSubtype.kt",
"chars": 140,
"preview": "package io.github.drumber.kitsune.data.common.media\n\nenum class AnimeSubtype {\n ONA,\n OVA,\n TV,\n Movie,\n "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/media/MangaSubtype.kt",
"chars": 159,
"preview": "package io.github.drumber.kitsune.data.common.media\n\nenum class MangaSubtype {\n Doujin,\n Manga,\n Manhua,\n Ma"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/media/MediaType.kt",
"chars": 98,
"preview": "package io.github.drumber.kitsune.data.common.media\n\nenum class MediaType {\n Anime,\n Manga\n}"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/media/RatingFrequencies.kt",
"chars": 494,
"preview": "package io.github.drumber.kitsune.data.common.media\n\ndata class RatingFrequencies(\n val r2: String?,\n val r3: Stri"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/media/ReleaseStatus.kt",
"chars": 146,
"preview": "package io.github.drumber.kitsune.data.common.media\n\nenum class ReleaseStatus {\n Current,\n Finished,\n TBA,\n "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/common/user/UserThemePreference.kt",
"chars": 103,
"preview": "package io.github.drumber.kitsune.data.common.user\n\nenum class UserThemePreference {\n Dark, Light\n}\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/AlgoliaMapper.kt",
"chars": 5075,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.common.Image\nimport io.github.drumb"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/AppUpdateMapper.kt",
"chars": 351,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.presentation.model.appupdate.AppRel"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/AuthMapper.kt",
"chars": 479,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.source.local.auth.model.LocalAccess"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/CharacterMapper.kt",
"chars": 3308,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.mapper.MediaMapper.toMedia\nimport i"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/ImageMapper.kt",
"chars": 1960,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.common.Image\nimport io.github.drumb"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/LibraryMapper.kt",
"chars": 13198,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.mapper.ImageMapper.toImage\nimport i"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/MapperUtils.kt",
"chars": 244,
"preview": "package io.github.drumber.kitsune.data.mapper\n\ninternal inline fun <reified T> T?.require(): T {\n return this ?: thro"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/MappingMapper.kt",
"chars": 375,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.presentation.model.mapping.Mapping\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/MediaMapper.kt",
"chars": 11176,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.common.media.AnimeSubtype\nimport io"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/MediaUnitMapper.kt",
"chars": 1322,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.presentation.model.media.unit.Chapt"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/ProfileLinksMapper.kt",
"chars": 855,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.mapper.UserMapper.toUser\nimport io."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/UserMapper.kt",
"chars": 7905,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.mapper.CharacterMapper.toCharacter\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/mapper/UserStatsMapper.kt",
"chars": 2974,
"preview": "package io.github.drumber.kitsune.data.mapper\n\nimport io.github.drumber.kitsune.data.presentation.model.user.stats.Amoun"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/LocalRatingSystemPreference.kt",
"chars": 499,
"preview": "package io.github.drumber.kitsune.data.presentation\n\nimport io.github.drumber.kitsune.R\nimport io.github.drumber.kitsune"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/dto/CharacterDto.kt",
"chars": 979,
"preview": "package io.github.drumber.kitsune.data.presentation.dto\n\nimport android.os.Parcelable\nimport io.github.drumber.kitsune.d"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/dto/ImageDto.kt",
"chars": 1892,
"preview": "package io.github.drumber.kitsune.data.presentation.dto\n\nimport android.os.Parcelable\nimport io.github.drumber.kitsune.d"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/dto/MediaDto.kt",
"chars": 3787,
"preview": "package io.github.drumber.kitsune.data.presentation.dto\n\nimport android.os.Parcelable\nimport io.github.drumber.kitsune.d"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/dto/MediaUnitDto.kt",
"chars": 2690,
"preview": "package io.github.drumber.kitsune.data.presentation.dto\n\nimport android.os.Parcelable\nimport io.github.drumber.kitsune.d"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/algolia/AlgoliaKey.kt",
"chars": 136,
"preview": "package io.github.drumber.kitsune.data.presentation.model.algolia\n\ndata class AlgoliaKey(\n val key: String,\n val i"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/algolia/AlgoliaKeyCollection.kt",
"chars": 247,
"preview": "package io.github.drumber.kitsune.data.presentation.model.algolia\n\ndata class AlgoliaKeyCollection(\n val users: Algol"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/algolia/SearchType.kt",
"chars": 395,
"preview": "package io.github.drumber.kitsune.data.presentation.model.algolia\n\nenum class SearchType(private val algoliaKey: (Algoli"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/appupdate/AppRelease.kt",
"chars": 138,
"preview": "package io.github.drumber.kitsune.data.presentation.model.appupdate\n\ndata class AppRelease(\n val version: String,\n "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/appupdate/UpdateCheckResult.kt",
"chars": 296,
"preview": "package io.github.drumber.kitsune.data.presentation.model.appupdate\n\nsealed class UpdateCheckResult {\n data object No"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/character/Character.kt",
"chars": 534,
"preview": "package io.github.drumber.kitsune.data.presentation.model.character\n\nimport io.github.drumber.kitsune.data.common.Image\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/character/CharacterSearchResult.kt",
"chars": 280,
"preview": "package io.github.drumber.kitsune.data.presentation.model.character\n\nimport io.github.drumber.kitsune.data.common.Image\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/character/MediaCharacter.kt",
"chars": 245,
"preview": "package io.github.drumber.kitsune.data.presentation.model.character\n\nimport io.github.drumber.kitsune.data.presentation."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/character/MediaCharacterRole.kt",
"chars": 559,
"preview": "package io.github.drumber.kitsune.data.presentation.model.character\n\nimport androidx.annotation.StringRes\nimport io.gith"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryEntry.kt",
"chars": 595,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nimport io.github.drumber.kitsune.data.presentation.mo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryEntryFilter.kt",
"chars": 1138,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nimport io.github.drumber.kitsune.data.common.Filter\ni"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryEntryModification.kt",
"chars": 3542,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\ndata class LibraryEntryModification(\n val id: Stri"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryEntryUiModel.kt",
"chars": 335,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nsealed class LibraryEntryUiModel {\n data class Sta"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryEntryWithModification.kt",
"chars": 2190,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nimport io.github.drumber.kitsune.util.rating.RatingSy"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryModificationState.kt",
"chars": 146,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nenum class LibraryModificationState {\n SYNCHRONIZI"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/LibraryStatus.kt",
"chars": 940,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nimport io.github.drumber.kitsune.R\n\nenum class Librar"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/library/ReactionSkip.kt",
"chars": 135,
"preview": "package io.github.drumber.kitsune.data.presentation.model.library\n\nenum class ReactionSkip {\n Unskipped,\n Skipped,"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/mapping/Mapping.kt",
"chars": 1578,
"preview": "package io.github.drumber.kitsune.data.presentation.model.mapping\n\nimport io.github.drumber.kitsune.constants.Kitsu\n\ndat"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/Anime.kt",
"chars": 2158,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media\n\nimport io.github.drumber.kitsune.data.common.Image\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/Manga.kt",
"chars": 1884,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media\n\nimport io.github.drumber.kitsune.data.common.Image\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/Media.kt",
"chars": 7876,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media\n\nimport android.content.Context\nimport androidx.annotati"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/MediaSelector.kt",
"chars": 599,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media\n\nimport android.os.Parcelable\nimport io.github.drumber.k"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/category/Category.kt",
"chars": 276,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.category\n\ndata class Category(\n val id: String,\n v"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/category/CategoryNode.kt",
"chars": 266,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.category\n\ndata class CategoryNode(\n val category: Cat"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/production/AnimeProduction.kt",
"chars": 191,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.production\n\ndata class AnimeProduction(\n val id: Stri"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/production/AnimeProductionRole.kt",
"chars": 149,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.production\n\nenum class AnimeProductionRole {\n Licenso"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/production/Casting.kt",
"chars": 360,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.production\n\nimport io.github.drumber.kitsune.data.presen"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/production/Person.kt",
"chars": 244,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.production\n\nimport io.github.drumber.kitsune.data.common"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/production/Producer.kt",
"chars": 164,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.production\n\ndata class Producer(\n val id: String,\n "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/relationship/MediaRelationship.kt",
"chars": 261,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.relationship\n\nimport io.github.drumber.kitsune.data.pres"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/relationship/MediaRelationshipRole.kt",
"chars": 1541,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.relationship\n\nimport androidx.annotation.StringRes\nimpor"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/streamer/Streamer.kt",
"chars": 144,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.streamer\n\ndata class Streamer(\n val id: String,\n v"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/streamer/StreamingLink.kt",
"chars": 231,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.streamer\n\ndata class StreamingLink(\n val id: String,\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/unit/Chapter.kt",
"chars": 756,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.unit\n\nimport io.github.drumber.kitsune.R\nimport io.githu"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/unit/Episode.kt",
"chars": 788,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.unit\n\nimport io.github.drumber.kitsune.R\nimport io.githu"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/media/unit/MediaUnit.kt",
"chars": 1642,
"preview": "package io.github.drumber.kitsune.data.presentation.model.media.unit\n\nimport android.content.Context\nimport androidx.ann"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/Favorite.kt",
"chars": 203,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user\n\ndata class Favorite(\n val id: String,\n val favRank"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/User.kt",
"chars": 967,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user\n\nimport io.github.drumber.kitsune.data.common.Image\nimpor"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/profilelinks/ProfileLink.kt",
"chars": 276,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user.profilelinks\n\nimport io.github.drumber.kitsune.data.prese"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/profilelinks/ProfileLinkSite.kt",
"chars": 238,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user.profilelinks\n\nimport android.os.Parcelable\nimport kotlinx"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/stats/AmountConsumedPercentiles.kt",
"chars": 177,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user.stats\n\ndata class AmountConsumedPercentiles(\n val medi"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/stats/UserStats.kt",
"chars": 178,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user.stats\n\ndata class UserStats(\n val id: String,\n val "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/stats/UserStatsData.kt",
"chars": 499,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user.stats\n\nsealed class UserStatsData {\n data class Catego"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/presentation/model/user/stats/UserStatsKind.kt",
"chars": 303,
"preview": "package io.github.drumber.kitsune.data.presentation.model.user.stats\n\nenum class UserStatsKind {\n AnimeActivityHistor"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/AccessTokenRepository.kt",
"chars": 3839,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.mapper.AuthMapper.toLocalAccess"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/AlgoliaKeyRepository.kt",
"chars": 691,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.mapper.AlgoliaMapper.toAlgoliaK"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/AnimeRepository.kt",
"chars": 2121,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport androidx.paging.Pager\nimport androidx.paging.PagingConfig\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/AppUpdateRepository.kt",
"chars": 3414,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.mapper.AppUpdateMapper.toAppRel"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/CastingRepository.kt",
"chars": 1014,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport androidx.paging.Pager\nimport androidx.paging.PagingConfig\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/CategoryRepository.kt",
"chars": 759,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.mapper.MediaMapper.toCategory\ni"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/CharacterRepository.kt",
"chars": 607,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.mapper.CharacterMapper.toCharac"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/FavoriteRepository.kt",
"chars": 2104,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.common.media.MediaType\nimport i"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/LibraryChangeListener.kt",
"chars": 1573,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport android.content.Context\nimport io.github.drumber.kitsune.data."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/LibraryEntryRemoteMediator.kt",
"chars": 7066,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport androidx.paging.ExperimentalPagingApi\nimport androidx.paging.L"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/LibraryRepository.kt",
"chars": 15935,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport androidx.lifecycle.LiveData\nimport androidx.lifecycle.map\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/MangaRepository.kt",
"chars": 2002,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport androidx.paging.Pager\nimport androidx.paging.PagingConfig\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/MappingRepository.kt",
"chars": 829,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.mapper.MappingMapper.toMapping\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/MediaUnitRepository.kt",
"chars": 1541,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport androidx.paging.Pager\nimport androidx.paging.PagingConfig\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/ProfileLinkRepository.kt",
"chars": 2146,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.data.common.Filter\nimport io.github."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/repository/UserRepository.kt",
"chars": 3794,
"preview": "package io.github.drumber.kitsune.data.repository\n\nimport io.github.drumber.kitsune.constants.Defaults\nimport io.github."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/LocalDatabase.kt",
"chars": 1705,
"preview": "package io.github.drumber.kitsune.data.source.local\n\nimport android.app.Application\nimport androidx.room.Database\nimport"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/auth/AccessTokenLocalDataSource.kt",
"chars": 310,
"preview": "package io.github.drumber.kitsune.data.source.local.auth\n\nimport io.github.drumber.kitsune.data.source.local.auth.model."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/auth/AccessTokenPreference.kt",
"chars": 2146,
"preview": "package io.github.drumber.kitsune.data.source.local.auth\n\nimport android.content.Context\nimport androidx.core.content.ed"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/auth/model/LocalAccessToken.kt",
"chars": 483,
"preview": "package io.github.drumber.kitsune.data.source.local.auth.model\n\nimport com.fasterxml.jackson.annotation.JsonProperty\n\nda"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/character/LocalCharacter.kt",
"chars": 696,
"preview": "package io.github.drumber.kitsune.data.source.local.character\n\nimport io.github.drumber.kitsune.data.common.Image\nimport"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/LibraryLocalDataSource.kt",
"chars": 8971,
"preview": "package io.github.drumber.kitsune.data.source.local.library\n\nimport androidx.paging.PagingSource\nimport androidx.room.wi"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/LocalLibraryConverters.kt",
"chars": 4682,
"preview": "package io.github.drumber.kitsune.data.source.local.library\n\nimport androidx.room.TypeConverter\nimport com.fasterxml.jac"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/dao/LibraryEntryDao.kt",
"chars": 4064,
"preview": "package io.github.drumber.kitsune.data.source.local.library.dao\n\nimport androidx.lifecycle.LiveData\nimport androidx.pagi"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/dao/LibraryEntryModificationDao.kt",
"chars": 1944,
"preview": "package io.github.drumber.kitsune.data.source.local.library.dao\n\nimport androidx.lifecycle.LiveData\nimport androidx.room"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/dao/LibraryEntryWithModificationDao.kt",
"chars": 1448,
"preview": "package io.github.drumber.kitsune.data.source.local.library.dao\n\nimport androidx.lifecycle.LiveData\nimport androidx.room"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/dao/RemoteKeyDao.kt",
"chars": 1309,
"preview": "package io.github.drumber.kitsune.data.source.local.library.dao\n\nimport androidx.room.Dao\nimport androidx.room.Insert\nim"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalImage.kt",
"chars": 731,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nimport androidx.room.Embedded\n\ndata class LocalImage("
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalLibraryEntry.kt",
"chars": 722,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nimport androidx.room.Embedded\nimport androidx.room.En"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalLibraryEntryModification.kt",
"chars": 2043,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nimport androidx.room.Entity\nimport androidx.room.Prim"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalLibraryEntryWithModification.kt",
"chars": 374,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nimport androidx.room.Embedded\nimport androidx.room.Re"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalLibraryMedia.kt",
"chars": 1591,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nimport androidx.room.Embedded\nimport io.github.drumbe"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalLibraryModificationState.kt",
"chars": 151,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nenum class LocalLibraryModificationState {\n SYNCHR"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalLibraryStatus.kt",
"chars": 198,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nenum class LocalLibraryStatus(val orderId: Int) {\n "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/LocalReactionSkip.kt",
"chars": 140,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nenum class LocalReactionSkip {\n Unskipped,\n Ski"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/library/model/RemoteKeyEntity.kt",
"chars": 452,
"preview": "package io.github.drumber.kitsune.data.source.local.library.model\n\nimport androidx.room.ColumnInfo\nimport androidx.room."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/user/UserLocalDataSource.kt",
"chars": 254,
"preview": "package io.github.drumber.kitsune.data.source.local.user\n\nimport io.github.drumber.kitsune.data.source.local.user.model."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/user/UserPreferences.kt",
"chars": 1555,
"preview": "package io.github.drumber.kitsune.data.source.local.user\n\nimport android.content.Context\nimport androidx.core.content.ed"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/user/model/LocalRatingSystemPreference.kt",
"chars": 204,
"preview": "package io.github.drumber.kitsune.data.source.local.user.model\n\nenum class LocalRatingSystemPreference {\n // 0.5, 1.."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/user/model/LocalSfwFilterPreference.kt",
"chars": 153,
"preview": "package io.github.drumber.kitsune.data.source.local.user.model\n\nenum class LocalSfwFilterPreference {\n SFW,\n NSFW_"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/user/model/LocalTitleLanguagePreference.kt",
"chars": 149,
"preview": "package io.github.drumber.kitsune.data.source.local.user.model\n\nenum class LocalTitleLanguagePreference {\n Canonical,"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/local/user/model/LocalUser.kt",
"chars": 1831,
"preview": "package io.github.drumber.kitsune.data.source.local.user.model\n\nimport io.github.drumber.kitsune.data.common.Image\nimpor"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/BasePagingDataSource.kt",
"chars": 1333,
"preview": "package io.github.drumber.kitsune.data.source.network\n\nimport androidx.paging.PagingSource\nimport androidx.paging.Paging"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/PageData.kt",
"chars": 650,
"preview": "package io.github.drumber.kitsune.data.source.network\n\nimport android.net.Uri\nimport com.github.jasminb.jsonapi.JSONAPID"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/AlgoliaKeyNetworkDataSource.kt",
"chars": 574,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia\n\nimport io.github.drumber.kitsune.data.source.network.algo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/api/AlgoliaKeyApi.kt",
"chars": 308,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.api\n\nimport io.github.drumber.kitsune.data.source.network."
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/model/NetworkAlgoliaKey.kt",
"chars": 146,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.model\n\ndata class NetworkAlgoliaKey(\n val key: String?,"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/model/NetworkAlgoliaKeyCollection.kt",
"chars": 291,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.model\n\ndata class NetworkAlgoliaKeyCollection(\n val use"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/model/search/AlgoliaCharacterSearchResult.kt",
"chars": 337,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.model.search\n\nimport kotlinx.serialization.Serializable\n\n@"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/model/search/AlgoliaImage.kt",
"chars": 746,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.model.search\n\nimport kotlinx.serialization.Serializable\n\n@"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/model/search/AlgoliaMediaSearchKind.kt",
"chars": 282,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.model.search\n\nimport kotlinx.serialization.SerialName\nimpo"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/algolia/model/search/AlgoliaMediaSearchResult.kt",
"chars": 457,
"preview": "package io.github.drumber.kitsune.data.source.network.algolia.model.search\n\nimport io.github.drumber.kitsune.data.common"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/appupdate/AppReleaseNetworkDataSource.kt",
"chars": 544,
"preview": "package io.github.drumber.kitsune.data.source.network.appupdate\n\nimport io.github.drumber.kitsune.data.source.network.ap"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/appupdate/api/GitHubApi.kt",
"chars": 296,
"preview": "package io.github.drumber.kitsune.data.source.network.appupdate.api\n\nimport io.github.drumber.kitsune.data.source.networ"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/appupdate/model/NetworkGitHubRelease.kt",
"chars": 328,
"preview": "package io.github.drumber.kitsune.data.source.network.appupdate.model\n\nimport com.fasterxml.jackson.annotation.JsonPrope"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/auth/AccessTokenNetworkDataSource.kt",
"chars": 999,
"preview": "package io.github.drumber.kitsune.data.source.network.auth\n\nimport io.github.drumber.kitsune.data.source.network.auth.ap"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/auth/api/AuthenticationApi.kt",
"chars": 660,
"preview": "package io.github.drumber.kitsune.data.source.network.auth.api\n\nimport io.github.drumber.kitsune.data.source.network.aut"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/auth/model/NetworkAccessToken.kt",
"chars": 637,
"preview": "package io.github.drumber.kitsune.data.source.network.auth.model\n\nimport com.fasterxml.jackson.annotation.JsonProperty\n\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/auth/model/ObtainAccessToken.kt",
"chars": 335,
"preview": "package io.github.drumber.kitsune.data.source.network.auth.model\n\nimport com.fasterxml.jackson.annotation.JsonProperty\n\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/auth/model/RefreshAccessToken.kt",
"chars": 294,
"preview": "package io.github.drumber.kitsune.data.source.network.auth.model\n\nimport com.fasterxml.jackson.annotation.JsonProperty\n\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/character/CharacterNetworkDataSource.kt",
"chars": 646,
"preview": "package io.github.drumber.kitsune.data.source.network.character\n\nimport io.github.drumber.kitsune.data.source.network.ch"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/character/api/CharacterApi.kt",
"chars": 508,
"preview": "package io.github.drumber.kitsune.data.source.network.character.api\n\nimport com.github.jasminb.jsonapi.JSONAPIDocument\ni"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/character/model/NetworkCharacter.kt",
"chars": 847,
"preview": "package io.github.drumber.kitsune.data.source.network.character.model\n\nimport com.github.jasminb.jsonapi.annotations.Id\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/character/model/NetworkMediaCharacter.kt",
"chars": 498,
"preview": "package io.github.drumber.kitsune.data.source.network.character.model\n\nimport com.github.jasminb.jsonapi.annotations.Id\n"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/character/model/NetworkMediaCharacterRole.kt",
"chars": 333,
"preview": "package io.github.drumber.kitsune.data.source.network.character.model\n\nimport com.fasterxml.jackson.annotation.JsonPrope"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/library/LibraryEntryPagingDataSource.kt",
"chars": 684,
"preview": "package io.github.drumber.kitsune.data.source.network.library\n\nimport io.github.drumber.kitsune.data.source.network.Base"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/library/LibraryNetworkDataSource.kt",
"chars": 1918,
"preview": "package io.github.drumber.kitsune.data.source.network.library\n\nimport com.github.jasminb.jsonapi.JSONAPIDocument\nimport "
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/library/api/LibraryEntryApi.kt",
"chars": 1466,
"preview": "package io.github.drumber.kitsune.data.source.network.library.api\n\nimport com.github.jasminb.jsonapi.JSONAPIDocument\nimp"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/library/model/NetworkLibraryEntry.kt",
"chars": 3418,
"preview": "package io.github.drumber.kitsune.data.source.network.library.model\n\nimport com.fasterxml.jackson.annotation.JsonPropert"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/library/model/NetworkLibraryStatus.kt",
"chars": 374,
"preview": "package io.github.drumber.kitsune.data.source.network.library.model\n\nimport com.fasterxml.jackson.annotation.JsonPropert"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/library/model/NetworkReactionSkip.kt",
"chars": 289,
"preview": "package io.github.drumber.kitsune.data.source.network.library.model\n\nimport com.fasterxml.jackson.annotation.JsonPropert"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/mapping/MappingNetworkDataSource.kt",
"chars": 874,
"preview": "package io.github.drumber.kitsune.data.source.network.mapping\n\nimport io.github.drumber.kitsune.data.source.network.mapp"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/mapping/api/MappingApi.kt",
"chars": 715,
"preview": "package io.github.drumber.kitsune.data.source.network.mapping.api\n\nimport com.github.jasminb.jsonapi.JSONAPIDocument\nimp"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/mapping/model/NetworkMapping.kt",
"chars": 305,
"preview": "package io.github.drumber.kitsune.data.source.network.mapping.model\n\nimport com.github.jasminb.jsonapi.annotations.Id\nim"
},
{
"path": "app/src/main/java/io/github/drumber/kitsune/data/source/network/media/AnimeNetworkDataSource.kt",
"chars": 1269,
"preview": "package io.github.drumber.kitsune.data.source.network.media\n\nimport io.github.drumber.kitsune.data.source.network.PageDa"
}
]
// ... and 540 more files (download for full content)
About this extraction
This page contains the full source code of the Drumber/Kitsune GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 740 files (2.0 MB), approximately 582.0k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.