Skip to content

Tomoyo is a Kotlin Compose Multiplatform app that is a sample for for common functionalities such as navigation, socket (for chat), video, audio, and db

License

Notifications You must be signed in to change notification settings

AsterCass/Tomoyo

Repository files navigation

Tomoyo App

Introduction

Tomoyo is a Kotlin Multiplatform app. On one hand, it is a functional copy of the website, enabling some of its features to be implemented on mobile and desktop platforms. On the other hand, it serves as a sample for common functionalities such as navigation, socket (for chat), video, audio, and db in Kotlin Multiplatform.

Tomoyo是一个Kotlin Multiplatform 应用程序 一方面它是一个对于该网站的功能拷贝,让其中一些功能可以在移动端和桌面端实现。 另一方面它是一个Kotlin Multiplatform下导航,socket,视频,音频,存储等常用功能的使用用例

WIP

Please note that this project is still under development and some features may not work as expected.

请注意,此项目仍在开发中,某些功能可能无法按预期工作

Platforms Support

Android IOS Desktop/JVM Web
×

Documents

Music playback solution in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下音乐播放解决方案

Implementing HTTP requests in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下实现HTTP请求

Navigation solution in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下导航解决方案

Building cross-platform client interfaces/构建跨平台的客户端界面

Global Notification Component Construction in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下全局通知组件构建

Custom Fonts in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下自定义字体

Global Notification Component Construction in Kotlin Compose Multiplatform (Part II)/Kotlin Compose Multiplatform下全局通知组件构建(续篇)

Data Persistence Solutions in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下数据持久化解决方案

Socket Solutions in Kotlin Compose Multiplatform/Kotlin Compose Multiplatform下Socket解决方案

Screenshots

Android

Desktop

IOS

Run Project

Android

Open project in Android Studio and run

在Android Studio打开直接运行即可

Desktop

Run command ./gradlew :composeApp:run

执行命令./gradlew :composeApp:run

IOS

Run your application on iOS

TIPS

  • If you encounter nw_proxy_resolver_create_parsed_array [C5.1 proxy pac] Evaluation error: NSURLErrorDomain: -1004, please disable the proxy on your iPhone or the computer where the simulator is running.

  • 如果遇到nw_proxy_resolver_create_parsed_array [C5.1 proxy pac] Evaluation error: NSURLErrorDomain: -1004请关闭苹果手机代理或者模拟器所在电脑的代理

Tech Stack