@ginlink/guwazi-core
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Guwazi

guwazi是一个跨平台翻译软件,通过 electron 构建

灵感来源于 PicgoBob

插件

示例插件格式

import { Guwazi } from '..'

const myPlugin = {
  register: (ctx: Guwazi) => {
    ctx.helper.beforeTransformPlugins.register('xxx', {
      handle(ctx) {
        console.log('[我是打印插件,我正在执行中]:')
        // console.log(ctx.output)
      }
    })
  }
}

export default myPlugin

进度

  • [x] 插件系统
  • [ ] GUI配置插件原型、UI、功能
  • [x] 翻译UI
  • [ ] 主界面原型、UI
  • [ ] 动态表单

/@ginlink/guwazi-core/

    Package Sidebar

    Install

    npm i @ginlink/guwazi-core

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    261 kB

    Total Files

    81

    Last publish

    Collaborators

    • ginlink