登录 注册

PeopleInSpace

去点 Star
开发者工具数据分析与数据处理AI 应用与 AI Agent androidcompose-desktopcompose-ioscompose-multiplatformcompose-webios
3,440
Stars
315
Forks
35
Watchers
3
Open Issues
Apache-2.0
许可证
Kotlin
语言
2019-12-22
创建时间
2026-11-11
最近更新

项目能做什么

Kotlin Multiplatform 示例项目,涵盖各平台 UI 及 Ktor 后端。
来源:基于仓库元数据 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# PeopleInSpace

![kotlin-version](https://img.shields.io/badge/kotlin-2.4.0-blue?logo=kotlin)

**Kotlin Multiplatform** project with SwiftUI, Jetpack Compose, Compose for Wear OS, Compose for Desktop and Compose for Web clients along with Ktor backend. Currently running on
* Android (Jetpack Compose)
* Android App Widget (Compose based Glance API - contributed by https://github.com/yschimke)
* Wear OS (Compose for Wear OS - primarily developed by https://github.com/yschimke)  
* iOS (SwiftUI)
* Desktop (Compose for Desktop)
* Web (Compose for Web - Wasm based)
* Windows (WinUI 3)
* JVM (small Ktor back end service + `Main.kt` in `common` module)
* MCP server (using same shared KMP code)

The people data comes from [The Space Devs API](https://thespacedevs.com/llapi) (names, bios and images of the people
currently in space) and the position of the International Space Station from the
[Where the ISS at? API](https://wheretheiss.at/w/developer), both served through this
project's own small Ktor backend (see `backend` module below).

The project is included as sample in the official [Kotlin Multiplatform docs](https://kotlinlang.org/docs/multiplatform-samples.html) and also the [Google Dev Library](https://devlibrary.withgoogle.com/products/android)

### Architecture

All of the clients are thin UI layers over the same `common` module: the shared view models expose
`StateFlow`s of UI state, backed by a single repository that treats the local SQLDelight database as
the source of truth and refreshes it from the network.

```mermaid
flowchart TB
    subgraph clients["Clients"]
        direction LR
        android["<b>app</b><br/>Android · Jetpack Compose<br/>+ Glance / Remote Compose widgets"]
        wear["<b>wearApp</b><br/>Wear OS · Compose + Tile"]
        ios["<b>PeopleInSpaceSwiftUI</b><br/>iOS · SwiftUI (Swift Export)"]
        desktop["<b>compose-desktop</b><br/>JVM · Compose for Desktop"]
        web["<b>compose-web</b><br/>Kotlin/Wasm · Compose"]
        winui["<b>windows/WinUiApp</b><br/>.NET · WinUI 3"]
        mcp["<b>mcp-server</b><br/>JVM · Kotlin MCP SDK"]
    end

    subgraph common["common (Kotlin Multiplatform)"]
        direction TB
        cmpui["Compose Multiplatform UI<br/><i>PersonList / ISSPosition / ISSMapView</i><br/>(expect/actual map per platform)"]
        vm["View models<br/><i>PersonListViewModel · ISSPositionViewModel</i><br/>StateFlow&lt;UiState&gt;"]
        winclient["PeopleInSpaceClient<br/><i>mingwX64, exported via NuGet</i><br/>(no Koin / AndroidX)"]
        repo["<b>PeopleInSpaceRepository</b><br/>offline-first: DB is source of truth,<br/>ISS position polled every 10s"]
        db[("SQLDelight<br/>PeopleInSpaceDatabase")]
        api["Ktor client APIs<br/><i>PeopleInSpaceApi · AstroviewerApi</i>"]
        koin{{"Koin DI<br/>(annotations + compiler plugin)"}}

        cmpui --> vm
        vm --> repo
        winclient --> repo
        repo --> db
        repo --> api
        koin -.-> repo
    end

    subgraph r
阅读完整原文

商业机会分析 规则生成(AI 未配置)

综合评分 42.6 分。该项目在“个人可实施性”维度得 40 分,“付费可能性”维度得 20.0 分,差异化空间 70.0 分(评分依据见评分卡)。

面向细分需求的二次开发产品

产品构想基于 PeopleInSpace 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。
目标用户该细分场景用户
难度/周期中 · 2~6 周
收费模式买断制 / 订阅制 / 广告
竞争风险细分需求规模需验证
依据 AI 推测:基于项目主题标签的判断
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
joreilly/peopleinspace-lib 中文介绍暂未生成
Example Kotlin Multiplatform library that provides API to re
10 Kotlin
joreilly/PeopleInSpacePackage 中文介绍暂未生成
Swift Package for https://github.com/joreilly/PeopleInSpace.
5 Objective-C
joreilly/PeopleInSpaceGraphQLServer 中文介绍暂未生成
Cloud Run based GraphQL backend for PeopleInSpace supporting
5 Kotlin
akashkahalkar/PeopleInSpace 中文介绍暂未生成
Gives List of people currently in space.
4 Swift
jstuder/MMM-peopleinspace 中文介绍暂未生成
howmanypeopleareinspacerightnow module for MagicMirror2
3 JavaScript
bertrik/peopleinspacenow 中文介绍暂未生成
Indicates the number of people currently in space (> 100 km
2 C++
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2019-12-22,近 30 天仍在推送
社区活跃Star 3,440 / Fork 315 / Issue 3(数据支持,可自行核实)
许可证Apache-2.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/joreilly/PeopleInSpace.git
cd PeopleInSpace
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。