{"id":22588919,"url":"https://github.com/simple-robot/simbot4-multiplatform-component-template","last_synced_at":"2025-04-10T21:45:10.331Z","repository":{"id":219410614,"uuid":"744413569","full_name":"simple-robot/simbot4-multiplatform-component-template","owner":"simple-robot","description":"simbot4 基于 Kotlin Multiplatform 的组件/插件开发模板项目","archived":false,"fork":false,"pushed_at":"2024-10-23T08:37:07.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T21:45:01.282Z","etag":null,"topics":["bot","kotlin","kotlin-multiplatform","simbot","simbot4"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simple-robot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ForteScarlet","patreon":"ForteScarlet","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-01-17T08:51:31.000Z","updated_at":"2024-10-23T08:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"a42d9502-7cf0-4640-9570-5364eb768a0d","html_url":"https://github.com/simple-robot/simbot4-multiplatform-component-template","commit_stats":null,"previous_names":["simple-robot/simbot4-multiplatform-component-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fsimbot4-multiplatform-component-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fsimbot4-multiplatform-component-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fsimbot4-multiplatform-component-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-robot%2Fsimbot4-multiplatform-component-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simple-robot","download_url":"https://codeload.github.com/simple-robot/simbot4-multiplatform-component-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248305881,"owners_count":21081562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","kotlin","kotlin-multiplatform","simbot","simbot4"],"created_at":"2024-12-08T08:11:33.813Z","updated_at":"2025-04-10T21:45:10.284Z","avatar_url":"https://github.com/simple-robot.png","language":"Kotlin","funding_links":["https://github.com/sponsors/ForteScarlet","https://patreon.com/ForteScarlet"],"categories":[],"sub_categories":[],"readme":"# Simbot4 Multiplatform component template\n\n这是一个基于 simbot4 的**组件库开发**项目模板。\n\n再强调一下这是组件库开发，不是普通应用开发。\n\n此模板基于 Kotlin/Multiplatform，你也可以简单的将其更替为 Kotlin/JVM。\n\n## 参考内容\n\n请参考 `src/commonMain/kotlin` 中的源代码大部分详细信息都会使用注释说明。\n\n### FooComponent\n\n一个实例组件的**组件标识**，算是实现一个组件库的最初工作，不过在一些极为简单的场景下也可以不实现。\n\n### FooPlugin\n\n一个实例组件的**插件**，一般用于提供一些简单的、或与 bot 功能无关的内容。\n如果功能与 bot 相关，更建议参考 `FooBotManager` 相关内容。\n\n### FooBotManager、FooBot \n\n在包路径 `com.example.component.foo.bot` 下，\n\n是一些与 bot 相关功能的实现示例。\n\n### FooEvent\n\n在包路径 `com.example.component.foo.event` 下，\n\n是一些组件库中实现标准事件类型的示例。\n\n## 移除不需要内容\n\n当你准备移除一些你不需要的内容时，\n记得也要去\n`jvmMain/resources/META-INF/services/xxx`\n中对应的文件中删除对应的引用。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimple-robot%2Fsimbot4-multiplatform-component-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimple-robot%2Fsimbot4-multiplatform-component-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimple-robot%2Fsimbot4-multiplatform-component-template/lists"}