You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/web/plugins
moonrailgun ffc70bc164 refactor(sentry): sentry report ignore file too large error 2 years ago
..
com.msgbyte.bbcode perf: beautify url tag style 2 years ago
com.msgbyte.biggerfont chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.draw chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.env.rn feat: add device version display in settings 2 years ago
com.msgbyte.filepizza chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.filesend chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.filesfm chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.genshin style: update manifest icon 2 years ago
com.msgbyte.integration chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.intro chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.mdpanel feat: add mdpanel plugin. then we can create markdown panel in group 2 years ago
com.msgbyte.miaolang chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.music chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.notify style: hide not support notify in mobile 2 years ago
com.msgbyte.openapi chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.posthog chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.sentry refactor(sentry): sentry report ignore file too large error 2 years ago
com.msgbyte.snapdrop chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.theme.genshin chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.theme.miku chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.toolwa chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.user.location chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.webview fix: fix url which without protocol will not been correct parse 2 years ago
com.msgbyte.wenshushu chore: add registry config for fe and add i18n support for plugin 2 years ago
com.msgbyte.wormhole chore: add registry config for fe and add i18n support for plugin 2 years ago
.eslintrc.js
README.md feat: 消息通知插件增加开关允许禁用内置的提示音 2 years ago

README.md

如何创建一个插件

内部插件

内部插件是指随 tailchat 分发而提供的插件

在web目录执行:

pnpm ministar createPlugin 

插件名请准守反域名模式, 如: com.msgbyte.xxx

设置tsconfig.json如下:

{
  "compilerOptions": {
    "baseUrl": "./src",
    "esModuleInterop": true,
    "jsx": "react",
    "paths": {
      "@capital/*": ["../../../src/plugin/*"],
    }
  }
}

创建一个manifest.json文件

示例:

{
  "label": "网页面板插件",
  "name": "com.msgbyte.webview",
  "url": "/plugins/com.msgbyte.webview/index.js",
  "version": "0.0.0",
  "author": "msgbyte",
  "description": "为群组提供创建网页面板的功能",
  "requireRestart": false
}