Apache License 2.0

项目介绍

joreilly/FantasyPremierLeague 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,采用 Apache License 2.0 许可证,目前获得 604 个 Star、62 次 Fork。

仓库全名
joreilly/FantasyPremierLeague
开源许可证
Apache License 2.0
Star 数
604
Fork 数
62
未关闭 Issue
3

README 摘要

Fantasy Premier League Compose Multiplatform project running on following Android iOS Desktop Also includes AI agent built with Koog (Gemini + tool calling, running in shared KMP code) Kotlin Notebook MCP Server It also currently makes use of the following Jetpack libraries ViewModel Navigation 3 Room DataStore Related posts: Using Realm persistence library in a Kotlin Multiplatform project Using new Swift Async…

完整内容见 GitHub 原始 README 或本页 。

常见问题

FantasyPremierLeague 用什么语言开发?

主要使用 Jupyter Notebook 编写,采用 Apache License 2.0 许可证,目前有 604 个 Star。

FantasyPremierLeague 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 FantasyPremierLeague 的源码?

可以直接克隆仓库:git clone https://github.com/joreilly/FantasyPremierLeague.git,默认分支为 main;安装与运行步骤见仓库 README。

FantasyPremierLeague 最近还在维护吗?

仓库最近一次更新为 2 天前,当前有 3 个未关闭 Issue;Star 数为 604,可作为社区活跃度的参考。

关于

Fantasy Premier League Kotlin/Compose Multiplatform sample

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Jupyter Notebook
Kotlin
Swift

README

Fantasy Premier League

kotlin-version

Compose Multiplatform project running on following

  • Android
  • iOS
  • Desktop

Also includes

  • AI agent built with Koog (Gemini + tool calling, running in shared KMP code)
  • Kotlin Notebook
  • MCP Server

It also currently makes use of the following Jetpack libraries

  • ViewModel
  • Navigation 3
  • Room
  • DataStore

Related posts:

Running the app

  • Android: open the project in Android Studio and run the app configuration
  • iOS: open ios/FantasyPremierLeague/FantasyPremierLeague.xcodeproj in Xcode and run
  • Desktop: ./gradlew :compose-desktop:run
  • MCP Server: ./gradlew :mcp-server:shadowJar (see MCP Server section below)

Note: to use the AI agent you need a Gemini API key — set apiKeyGoogle in FantasyPremierLeagueAgent.

Screenshots

Android

Screenshot_20251101_204058

iOS

Simulator Screenshot - iPhone 17 Pro - 2025-11-01 at 20 37 58

Desktop

Screenshot 2025-11-01 at 20 38 24

Kotlin Notebook

Screenshot 2024-04-06 at 11 03 15 Screenshot 2024-04-06 at 11 03 36

MCP Server

The mcp-server module uses the Kotlin MCP SDK to expose an MCP tools endpoint (returning player/fixture info) that can for example be plugged in to Claude Desktop as shown below. That module uses same KMP shared code.

Screenshot 2025-07-16 at 21 17 33

To integrate the MCP server with Claude Desktop for example you need to firstly run gradle shadowJar task and then select “Edit Config” under Developer Settings and add something like the following (update with your path)

{
  "mcpServers": {
    "fantasy-premier-league": {
      "command": "java",
      "args": [
        "-jar",
        "/Users/john.oreilly/github/FantasyPremierLeague/mcp-server/build/libs/serverAll.jar",
        "--stdio"
      ]
    }
  }
}

UI tests

There’s a Maestro UI test flow shared by the Android and iOS clients, run by CI on an emulator and a simulator (e.g. maestro test -e APP_ID=dev.johnoreilly.fantasypremierleague maestro/FantasyPremierLeague.flow).

Full set of Kotlin Multiplatform/Compose/SwiftUI samples

评论

暂无评论