一个开源免费的长毛象客户端 https://quanquan.space/viewtopic.php?t=2276
  • Kotlin 87.3%
  • Swift 9.5%
  • Python 1.7%
  • JavaScript 1%
  • Shell 0.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
hibobmaster 0bc49346f4
All checks were successful
Android CI / release (push) Has been skipped
Android CI / verify (push) Successful in 4m38s
QuanToot Website / website (push) Successful in 20s
feat(web): build the QuanToot site and deploy it with Forgejo CI
2026-11-19 16:53:01 +08:00
.audit feat: redesign the QuanToot interface and integrate the official logo 2026-11-18 14:21:56 +08:00
.forgejo/workflows feat(web): build the QuanToot site and deploy it with Forgejo CI 2026-11-19 16:53:01 +08:00
.github/workflows chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
androidApp chore(release): bump version to 0.6.8 2026-11-19 16:06:57 +08:00
ci/android build(ci): cache Gradle dependencies with the Forgejo Runner 2026-11-19 15:06:11 +08:00
docs docs: record verified 0.6.5 package and pending device connection 2026-11-18 02:41:34 +08:00
gradle build: patch Gradle dependencies and add Android ABI splits 2026-11-18 21:27:00 +08:00
iosApp chore(release): bump version to 0.6.8 2026-11-19 16:06:57 +08:00
scripts feat: verify client refinements and prepare 0.6.2 2026-11-17 18:27:53 +08:00
shared fix: reveal buffered posts when timelines return to the top 2026-11-19 16:29:29 +08:00
website feat(web): build the QuanToot site and deploy it with Forgejo CI 2026-11-19 16:53:01 +08:00
.editorconfig chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
.gitignore chore: ignore UI audit screenshots 2026-11-19 00:26:00 +08:00
build.gradle.kts build: patch Gradle dependencies and add Android ABI splits 2026-11-18 21:27:00 +08:00
gradle.properties chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
gradlew chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
gradlew.bat chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
PRIVACY_POLICY.md chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
README.md chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00
settings.gradle.kts chore: snapshot the Kotlin Multiplatform client baseline 2026-11-17 13:43:04 +08:00

QuanToot

QuanToot 是使用 Kotlin Multiplatform 和 Compose Multiplatform 重构的 Mastodon 客户端。Android 和 iOS 共用界面、网络、账户状态与业务逻辑。

用户自行选择实例。应用支持公开浏览、OAuth 登录、多账户、时间线、搜索、通知、发帖、媒体、投票、个人资料和账户设置。

开发环境

  • JDK 17。
  • Android SDK 37。
  • macOS 和 Xcode,用于构建 iOS。最低 iOS 版本为 15.0。
  • Android 最低版本为 API 26。

仓库固定 Kotlin 2.4.21、Compose Multiplatform 1.12.2、AGP 9.3.3 和 Gradle 9.5.0。版本定义位于 gradle/libs.versions.toml。

版本依据为 Kotlin 发布记录、Compose 兼容性说明和 AGP 9.3 发布说明。

构建 Android

将 ANDROID_HOME 指向 Android SDK,或者在未提交的 local.properties 中配置 sdk.dir。

./gradlew :shared:testAndroidHostTest :androidApp:assembleDebug

调试 APK 输出到 androidApp/build/outputs/apk/debug/androidApp-debug.apk。在 Android Studio 中打开仓库,选择 androidApp 运行。

发布包需要配置自己的签名。仓库不包含签名密钥,也不为 release 构建使用 debug 签名。

构建 iOS

打开 iosApp/QuanToot.xcodeproj,选择 QuanToot scheme 和 iOS 模拟器,然后运行。构建阶段会自动调用 Gradle 生成共享 framework。

xcodebuild -project iosApp/QuanToot.xcodeproj \
  -scheme QuanToot -destination 'generic/platform=iOS Simulator' \
  CODE_SIGNING_ALLOWED=NO build

真机运行需要在 Xcode 中设置自己的开发团队。修改 iosApp/project.yml 后,运行 xcodegen generate --spec iosApp/project.yml 更新工程。

验证

./scripts/verify.sh
./scripts/verify.sh --ios

共享测试检查 OAuth、账户隔离、分页、媒体处理、响应限制和时间线状态。原生测试还检查 Android Keystore、iOS Keychain 及旧 Flutter 凭据的迁移。

迁移覆盖和验证边界见 迁移记录。模块职责见 架构说明。