Rebrand fork as Mihon BookMod and migrate update feed
Release / Extract tag name (push) Has been cancelled
Update website / update_website (release) Has been cancelled
Release / Build (push) Has been cancelled
Release / Build (FOSS) (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled
Build & Test / Build & Test App (push) Has been cancelled

This commit is contained in:
BookOasis Reader
2026-10-20 08:38:52 +09:00
parent 2b85ae9b8e
commit e2ad380b55
7 changed files with 100 additions and 24 deletions
+8
View File
@@ -10,6 +10,14 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
- `Fixed` - for any bug fixes.
- `Other` - for technical stuff.
## [Mihon BookMod v0.21.2.1-r16] - 2026-10-20
### Changed
- Renamed the Gitea repository and app display name from Mihon BookOasis to Mihon BookMod.
- Moved release checks and downloads to the mihon-bookmod Gitea repository.
- Updated release parsing to support legacy BookOasis version tags and new BookMod version tags.
- Bumped the Android version code, preserving the existing application ID and signing configuration.
- Retained BookOasis server and extension compatibility (BookOasis is an external service name).
## [Unreleased]
### Added
- Add experimental high quality reader renderer (Settings → Advanced → Use high quality renderer) with better image scaling, page transition animations, dual page view and display cutout handling ([@wwww-wwww](https://github.com/wwww-wwww)) ([#3388](https://github.com/mihonapp/mihon/pull/3388))
+20 -15
View File
@@ -1,28 +1,33 @@
<div align="center">
<a href="https://mihon.app">
<img src="./.github/assets/logo.png" alt="Mihon logo" title="Mihon logo" width="80"/>
<a href="https://gitea.derekkoo.win/javara999/mihon-bookmod">
<img src="./.github/assets/logo.png" alt="Mihon BookMod" title="Mihon BookMod" width="80"/>
</a>
# Mihon [App](#)
# Mihon BookMod
### Full-featured reader
Discover and read manga, webtoons, comics, and more – easier than ever on your Android device.
### Mihon-based Android reader with BookOasis support and text-to-speech
[![Discord server](https://img.shields.io/discord/1195734228319617024.svg?label=&labelColor=6A7EC2&color=7389D8&logo=discord&logoColor=FFFFFF)](https://discord.gg/mihon)
[![GitHub downloads](https://img.shields.io/github/downloads/mihonapp/mihon/total?label=downloads&labelColor=27303D&color=0D1117&logo=github&logoColor=FFFFFF&style=flat)](https://mihon.app/download)
[![CI](https://img.shields.io/github/actions/workflow/status/mihonapp/mihon/build.yml?labelColor=27303D)](https://github.com/mihonapp/mihon/actions/workflows/build_push.yml)
[![License: Apache-2.0](https://img.shields.io/github/license/mihonapp/mihon?labelColor=27303D&color=0877d2)](/LICENSE)
[![Translation status](https://img.shields.io/weblate/progress/mihon?labelColor=27303D&color=946300)](https://hosted.weblate.org/engage/mihon/)
[Releases](https://gitea.derekkoo.win/javara999/mihon-bookmod/releases) · [Source code](https://gitea.derekkoo.win/javara999/mihon-bookmod) · [Upstream Mihon](https://github.com/mihonapp/mihon)
## Download
[![Mihon Stable](https://img.shields.io/github/release/mihonapp/mihon.svg?maxAge=3600&label=Stable&labelColor=06599d&color=043b69)](https://mihon.app/download)
[![Mihon Beta](https://img.shields.io/github/v/release/mihonapp/mihon-preview.svg?maxAge=3600&label=Beta&labelColor=2c2c47&color=1c1c39)](https://mihon.app/download)
**Install from [Mihon BookMod releases](https://gitea.derekkoo.win/javara999/mihon-bookmod/releases).** BookMod updates are published to this Gitea repository, not the original Mihon release page.
*Requires Android 8.0 or higher.*
## BookMod additions
* BookOasis integration for opening supported text documents (EPUB, TXT), PDFs, and archives.
* Text-viewer typography, side margins, and word/character wrapping options.
* Background TTS with playback controls, speed and voice settings, and spoken-text highlighting.
* In-app update checks against the BookMod Gitea release feed.
BookOasis is the name of the compatible server/source integration and remains unchanged.
The Android application ID and signing configuration are retained for upgrades from earlier BookOasis-branded builds.
This is an independent fork of [Mihon](https://github.com/mihonapp/mihon), not an official Mihon release.
## Features
<div align="left">
@@ -44,10 +49,10 @@ Discover and read manga, webtoons, comics, and more – easier than ever on your
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Before reporting a new issue, take a look at the [FAQ](https://mihon.app/docs/faq/general), the [changelog](https://mihon.app/changelogs/) and the already opened [issues](https://github.com/mihonapp/mihon/issues); if you got any questions, join our [Discord server](https://discord.gg/mihon).
For BookMod-specific issues, use the [BookMod issue tracker](https://gitea.derekkoo.win/javara999/mihon-bookmod/issues). For upstream behavior, consult the [Mihon FAQ](https://mihon.app/docs/faq/general) and [upstream issues](https://github.com/mihonapp/mihon/issues).
### Repositories
### Upstream Mihon repositories
[![mihonapp/website - GitHub](https://github-stats-extended.vercel.app/api/pin/?username=mihonapp&repo=website&bg_color=161B22&text_color=c9d1d9&title_color=0877d2&icon_color=0877d2&border_radius=8&hide_border=true&description_lines_count=2)](https://github.com/mihonapp/website/)
[![mihonapp/bitmap.kt - GitHub](https://github-stats-extended.vercel.app/api/pin/?username=mihonapp&repo=bitmap.kt&bg_color=161B22&text_color=c9d1d9&title_color=0877d2&icon_color=0877d2&border_radius=8&hide_border=true&description_lines_count=2)](https://github.com/mihonapp/bitmap.kt/)
+2 -2
View File
@@ -37,8 +37,8 @@ android {
defaultConfig {
applicationId = "app.mihon"
versionCode = 38
versionName = "0.21.2-bookoasis-r15"
versionCode = 39
versionName = "0.21.2.1-bookmod-r16"
buildConfigField("boolean", "TELEMETRY_INCLUDED", "${Config.includeTelemetry}")
buildConfigField("boolean", "UPDATER_ENABLED", "${Config.enableUpdater}")
@@ -26,7 +26,7 @@ class AppUpdateChecker(
isNightlyBuildType,
BuildConfig.COMMIT_COUNT.toInt(),
BuildConfig.VERSION_NAME,
BOOKOASIS_REPO,
BOOKMOD_REPO,
forceCheck,
),
)
@@ -36,8 +36,8 @@ class AppUpdateChecker(
}
}
const val BOOKOASIS_REPO = "javara999/mihon-bookoasis"
const val BOOKMOD_REPO = "javara999/mihon-bookmod"
val RELEASE_TAG = "v${BuildConfig.VERSION_NAME}"
val RELEASE_URL = "https://gitea.derekkoo.win/$BOOKOASIS_REPO/releases/tag/$RELEASE_TAG"
val RELEASE_URL = "https://gitea.derekkoo.win/$BOOKMOD_REPO/releases/tag/$RELEASE_TAG"
@@ -45,7 +45,7 @@ class GetApplicationRelease(
if (newPart != oldPart) return newPart > oldPart
}
return latest.bookOasisRevision > current.bookOasisRevision
return latest.forkRevision > current.forkRevision
}
private fun parseReleaseVersion(value: String): ReleaseVersion? {
@@ -59,7 +59,7 @@ class GetApplicationRelease(
private data class ReleaseVersion(
val components: List<Int>,
val bookOasisRevision: Int,
val forkRevision: Int,
)
data class Arguments(
@@ -73,7 +73,7 @@ class GetApplicationRelease(
companion object {
private val RELEASE_VERSION_REGEX =
"""(?:^|v)(\d+(?:\.\d+)+)(?:-bookoasis-r(\d+))?""".toRegex(RegexOption.IGNORE_CASE)
"""^v?(\d+(?:\.\d+)+)(?:-(?:bookmod|bookoasis)-r(\d+))?$""".toRegex(RegexOption.IGNORE_CASE)
}
sealed interface Result {
@@ -73,6 +73,69 @@ class GetApplicationReleaseTest {
).release
}
@Test
fun `Old BookOasis release detects first BookMod update`() = runTest {
val release = Release(
"v0.21.2.1-bookmod-r16",
"info",
"https://example.com/release",
"https://example.com/bookmod.apk",
)
coEvery { releaseService.latest(any()) } returns release
val result = getApplicationRelease.await(
GetApplicationRelease.Arguments(
isFoss = false,
isNightly = false,
commitCount = 0,
versionName = "0.21.2-bookoasis-r15",
repository = "javara999/mihon-bookmod",
),
)
result shouldBe GetApplicationRelease.Result.NewUpdate(release)
}
@Test
fun `Installed BookMod release does not prompt for same version`() = runTest {
val release = Release(
"v0.21.2.1-bookmod-r16",
"info",
"https://example.com/release",
"https://example.com/bookmod.apk",
)
coEvery { releaseService.latest(any()) } returns release
val result = getApplicationRelease.await(
GetApplicationRelease.Arguments(
isFoss = false,
isNightly = false,
commitCount = 0,
versionName = "0.21.2.1-bookmod-r16",
repository = "javara999/mihon-bookmod",
),
)
result shouldBe GetApplicationRelease.Result.NoNewUpdate
}
@Test
fun `BookMod revision comparison accepts old naming`() = runTest {
val release = Release(
"v0.21.2-bookmod-r16",
"info",
"https://example.com/release",
"https://example.com/bookmod.apk",
)
coEvery { releaseService.latest(any()) } returns release
val result = getApplicationRelease.await(
GetApplicationRelease.Arguments(
isFoss = false,
isNightly = false,
commitCount = 0,
versionName = "0.21.2-bookoasis-r15",
repository = "javara999/mihon-bookmod",
),
)
result shouldBe GetApplicationRelease.Result.NewUpdate(release)
}
@Test
fun `When has no update expect no new update`() = runTest {
val release = Release(
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name" translatable="false">Mihon</string>
<string name="app_name" translatable="false">Mihon BookMod</string>
<!-- Generic strings -->
<string name="on">On</string>