refactor: 部分应用优化 (#686)

This commit is contained in:
wanghe
2023-12-07 16:10:55 +08:00
committed by GitHub
parent 0adce85a27
commit 1646270042
18 changed files with 129 additions and 321 deletions
+8 -1
View File
@@ -48,4 +48,11 @@ additionalProperties: #固定参数
labelZh: 端口
required: true
rule: paramPort
type: number
type: number
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
+4 -4
View File
@@ -1,10 +1,11 @@
version: "3.1"
version: '3'
services:
koishi:
image: koishijs/koishi:v1.12.2
container_name: ${CONTAINER_NAME}
restart: always
environment:
- TZ=Asia/Shanghai
- TZ=${TIME_ZONE}
networks:
- 1panel-network
ports:
@@ -13,7 +14,6 @@ services:
- ./data:/koishi
labels:
createdBy: "Apps"
restart: always
networks:
1panel-network:
external: true
external: true
+2 -33
View File
@@ -1,19 +1,6 @@
<div align="center">
<a href="https://koishi.chat/" target="_blank">
<img width="160" src="https://koishi.chat/logo.png" alt="logo">
</a>
<h1 id="koishi"><a href="https://koishi.chat/" target="_blank">Koishi</a></h1>
# Koishi
[![Codecov](https://img.shields.io/codecov/c/github/koishijs/koishi?style=flat-square)](https://codecov.io/gh/koishijs/koishi)
[![downloads](https://img.shields.io/npm/dm/koishi?style=flat-square)](https://www.npmjs.com/package/koishi)
[![npm](https://img.shields.io/npm/v/koishi?style=flat-square)](https://www.npmjs.com/package/koishi)
[![GitHub](https://img.shields.io/github/license/koishijs/koishi?style=flat-square)](https://github.com/koishijs/koishi/blob/master/LICENSE)
</div>
Koishi 是一个跨平台、可扩展、高性能的聊天机器人框架。
它的名字和图标设计来源于来源于东方 Project 中的角色古明地恋 (Komeiji Koishi)。古明地恋是一个会做出无意识举动的角色,取这个名字既象征着聊天机器人的主题,也蕴含了开发者为之倾注的热爱。
**Koishi** 是一个跨平台、可扩展、高性能的聊天机器人框架。
## 特性
@@ -36,21 +23,3 @@ Koishi 更为开发者准备了众多专业功能,使插件开发者得以在
- 类型支持:Koishi 完全基于 TypeScript 开发,拥有顶级的类型支持,丰富的代码提示让你在编写代码的时候甚至无需查看文档
- 单元测试:所有核心功能均已经通过单元测试,既确保了可靠性,也为开发者提供了一套测试插件和定位问题的最佳实践
- 模块热重载:开发 Koishi 插件时,只需轻点保存即可热重载,无需频繁重启机器人,如同前端开发一样丝滑顺畅
## 快速起步
[前往文档](https://koishi.chat/manual/starter/)
## 许可证
Koishi 完全使用 [MIT](./LICENSE) 协议开源,维护良好的开源生态从我做起 (*>ω<)φ
Copyright © 2019-2023, Shigma
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkoishijs%2Fkoishi.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkoishijs%2Fkoishi?ref=badge_large)
## 更多
- [贡献指南](./CONTRIBUTING.md)
- [参与讨论](https://koishi.chat/about/contact.html)
- [支持作者](https://afdian.net/a/shigma)
+20 -13
View File
@@ -1,13 +1,20 @@
additionalProperties: #固定参数
key: koishi #应用的 key ,仅限英文,用于在 Linux 创建文件夹
name: Koishi #应用名称
tags:
- Tool #应用标签,可以有多个,请参照下方的标签列表
shortDescZh: 跨平台、可扩展、高性能的聊天机器人框架 #应用中文描述,不要超过30个字
shortDescEn: Cross-platform, extensive, high-performance chatbot framework #应用英文描述
type: tool #应用类型,区别于应用分类,只能有一个,请参照下方的类型列表
crossVersionUpdate: true #是否可以跨大版本升级
limit: 0 #应用安装数量限制,0 代表无限制
website: https://koishi.chat #官网地址
github: https://github.com/koishijs/koishi #github 地址
document: https://koishi.chat #文档地址
name: Koishi
tags:
- 实用工具
title: 跨平台、可扩展、高性能的聊天机器人框架
type: 实用工具
description: 跨平台、可扩展、高性能的聊天机器人框架
additionalProperties:
key: koishi
name: Koishi
tags:
- Tool
shortDescZh: 跨平台、可扩展、高性能的聊天机器人框架
shortDescEn: Cross-platform, extensive, high-performance chatbot framework
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://koishi.chat
github: https://github.com/koishijs/koishi
document: https://koishi.chat/zh-CN/manual/introduction.html