Skip to content

Commit

Permalink
⚡ feat:完善大部分基本Api
Browse files Browse the repository at this point in the history
  • Loading branch information
sj817 committed Apr 11, 2024
1 parent 8347c69 commit ba6e91a
Show file tree
Hide file tree
Showing 8 changed files with 460 additions and 300 deletions.
35 changes: 35 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
tab_width = 2
insert_final_newline = true
end_of_line = lf
trim_trailing_whitespace = true
max_line_length = off
ij_any_space_before_colon = true
ij_any_space_after_colon = true
ij_any_keep_indents_on_empty_lines = false

[{*.cjs,*.js}]
ij_javascript_align_imports = false
ij_javascript_use_semicolon_after_statement = false
ij_javascript_use_double_quotes = false
ij_javascript_enforce_trailing_comma = keep
ij_javascript_space_before_method_parentheses = true
ij_javascript_spaces_within_object_literal_braces = true
ij_javascript_indent_chained_calls = true
ij_javascript_if_brace_force = if_multiline

[{*.json,*.json5}]
ij_json_keep_trailing_comma = false
ij_json_keep_blank_lines_in_code = 0
ij_json_keep_indents_on_empty_lines = false
ij_json_space_after_colon = true
ij_json_space_after_comma = true
ij_json_space_before_colon = false
ij_json_space_before_comma = false
ij_json_spaces_within_braces = false
ij_json_spaces_within_brackets = false
6 changes: 5 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"ldcf4.jumpprotobuf",
"zxh404.vscode-proto3",
"christian-kohler.path-intellisense",
"formulahendry.code-runner"
]
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
- [x] 外置[puppeteer](https://github.com/KarinJS/karin-plugin-puppeteer)
- [ ] 支持redis集群

> 关于`puppeteer`,由于内置的chrome过于臃肿,将会移除内置的pupppeteer,分开搭建或使用远程、作为插件等方式使用puppeteer。
> 关于`puppeteer`,由于内置的chrome过于臃肿,将会移除内置的pupppeteer,分开搭建或使用远程、作为插件等方式使用puppeteer。
> [karin-plugin-puppeteer](https://github.com/KarinJS/karin-plugin-puppeteer)
### 感谢

Expand Down
7 changes: 3 additions & 4 deletions config/defSet/config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# 日志等级:trace,debug,info,warn,fatal,mark,error,off
# mark时只显示执行命令,不显示聊天记录
log_level: info

# 日志保留天数
log_daysToKeep: 7

# HTTP服务器端口
http_port: 7000

# WebSocket请求超时时间 单位:秒
ws_timeout: 5

# 主人列表
master:

Expand Down
Loading

0 comments on commit ba6e91a

Please sign in to comment.