https://github.com/koishijs/koishi-plugin-glot
使用 https://glot.io 执行代码
https://github.com/koishijs/koishi-plugin-glot
code execution glot koishi plugin
Last synced: 11 months ago
JSON representation
使用 https://glot.io 执行代码
- Host: GitHub
- URL: https://github.com/koishijs/koishi-plugin-glot
- Owner: koishijs
- License: mit
- Created: 2022-03-01T17:43:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-03T16:35:49.000Z (about 2 years ago)
- Last Synced: 2025-06-01T13:34:53.984Z (about 1 year ago)
- Topics: code, execution, glot, koishi, plugin
- Language: TypeScript
- Size: 12.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# koishi-plugin-glot
[](https://www.npmjs.com/package/koishi-plugin-glot)
在 Koishi 中使用 [glot.io](https://glot.io) 执行代码。
## 配置项
### apiToken
- 类型: `string`
申请到的 API 令牌。
### defaultLanguage
- 类型: `string`
- 默认值: `'javascript'`
默认的执行语言。
## 指令: glot
支持的语言:
assembly, ats, bash, c, clojure, cobol, coffeescript, cpp, crystal, csharp, d, elixir,
elm, erlang, fsharp, go, groovy, haskell, idris, java, javascript, julia, kotlin, lua,
mercury, nim, nix, ocaml, perl, php, python, raku, ruby, rust, scala, swift, typescript
- 基本语法: `glot `
- 选项列表:
- -l, --language \ 语言
- -s, --stdin \ 标准输入