This commit is contained in:
2026-04-25 16:36:34 +08:00
commit db90e7579b
1876 changed files with 189777 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,12 @@
{
"label": "Tool frog!",
"label.zh-CN": "工具哇!",
"name": "com.msgbyte.toolwa",
"url": "/plugins/com.msgbyte.toolwa/index.js",
"icon": "/plugins/com.msgbyte.toolwa/assets/icon.png",
"version": "0.0.0",
"author": "msgbyte",
"description": "Tool frog —— online tools",
"description.zh-CN": "工具哇 —— 在线小工具",
"requireRestart": false
}

View File

@@ -0,0 +1,8 @@
{
"name": "@plugins/com.msgbyte.toolwa",
"main": "src/index.tsx",
"version": "0.0.0",
"private": true,
"dependencies": {
}
}

View File

@@ -0,0 +1,16 @@
import { regCustomPanel } from '@capital/common';
import { Webview } from '@capital/component';
import React from 'react';
import { Translate } from './translate';
const PLUGIN_NAME = 'com.msgbyte.toolwa';
regCustomPanel({
name: `${PLUGIN_NAME}/personPanel`,
position: 'personal',
label: Translate.panelName,
icon: 'openmoji:frog',
render: () => (
<Webview className="w-full h-full bg-white" url="https://toolwa.com/" />
),
});

View File

@@ -0,0 +1,5 @@
import { localTrans } from '@capital/common';
export const Translate = {
panelName: localTrans({ 'zh-CN': '工具哇!', 'en-US': 'Toolwa!' }),
};

View File

@@ -0,0 +1,9 @@
{
"compilerOptions": {
"esModuleInterop": true,
"jsx": "react",
"paths": {
"@capital/*": ["../../src/plugin/*"],
}
}
}