skydoves/sandwich
说明与用途
**简短介绍**
Sandwich 是一个适应性强、轻量级的封闭 API 库,用于处理 Retrofit、Ktor 和 Kotlin Multiplatform 的 API 响应和异常。它使开发者能够快速部署 API 服务、重用后端基础架构并标准化服务模式。
**价值**
Sandwich 的价值在于它帮助开发者重用服务基础设施,避免重复构建常见的后端组件。通过使用 Sandwich,开发者可以节省时间和资源,提高开发效率。
**典型接入方式**
Sandwich 支持多个接入方式,包括:
- Retrofit:一个用于 Android 和 Java 的 HTTP 客户端库。
- Ktor:一个用于 Kotlin 的异步 HTTP 客户端库。
- Kotlin Multiplatform:一个用于 Kotlin 的跨平台开发框架。
**生产可用性**
Sandwich 的生产可用性很高,因为它有活跃的维护者、强大的社区支持和良好的代码质量。它的 GitHub 星数达到 1761,fork 数达到 113,最近的更新时间为 2026-07-14。
实际用途
skydoves/sandwich helps teams reuse service infrastructure instead of rebuilding common backend pieces.
- ship API services faster
- reuse backend infrastructure
- standardize service patterns
限制与审查说明
High for an OSS candidate: recent activity, adoption, and ecosystem signals are strong enough for a serious pilot.
- 来源: github
- 语言: Kotlin
- 记录日期: 2026-09-05T17:32:07.747Z