koishi-bootstrap

7.7.1 • Public • Published

Koishi Bootstrap

Koishi bootstrap script, for Docker.

Docker

The docker image is at git-registry.mycard.moe/3rdeye/koishi-bootstrap.

Mount your config file, either koishi.config.yml or koishi.config.js, to /app , and run it.

Auto plugin install

This Docker image will auto install every plugin mentioned in Koishi config file, whose config includes $install variable`.

$install variable could be as follows.

  • true for latest version.

  • a specific version name, eg. ^4.0.0-beta.1.

Config example

port: 8080

logger:
  root: logs

allowWrite: false

plugins:
  act:
    $install: latest
    $community: true # Will prefer koishi-plugin-act over @koishijs/plugin-act
  adapter-onebot:
    $install: true # Will always install the latest version
    bots:
      - protocol: 'ws'
        endpoint: 'wss://example.com'
        selfId: '1111111111'
        token: 'token'
  verifer:
    $install: '1.0.0-beta.0' # Will install this version. NPM format is also supported.

Readme

Keywords

none

Package Sidebar

Install

npm i koishi-bootstrap

Weekly Downloads

1

Version

7.7.1

License

MIT

Unpacked Size

32.3 kB

Total Files

36

Last publish

Collaborators

  • nanahira