Skip to content

利用CapsLock键的工具箱 / Toolbox using CapsLock key

License

Notifications You must be signed in to change notification settings

for-the-zero/CapsTools

Repository files navigation

CapsTools

中/EN

一个利用大写锁定键(Caps Lock)触发的工具箱


视频:哔哩哔哩

功能

进入大写锁定状态打开工具箱面板

面板分为两个区域:自定义工具、默认工具

默认工具有:

  • 截图
  • 翻译:一键传递文本语言到网页,支持Google Deepl Bing Tencent(Transmart) Baidu
  • 剪贴板和快捷输入

自定义工具:

  • 用户自定义工具
    • 命令:满足条件执行命令
    • 网页(伪pwa)
  • cjs插件:从cjs中获取工具(安全性需要自己检查)

用户自定义工具可以自定义图标,支持svg(字符串)、svg/png/ico路径或url,网页支持获取网页的favicon(配置填写meta

大部分界面使用Material You(虽然我写死了主题色但是我有一个大胆的想法,每次提交都会修改主题色为上一次提交的hash的前6位

感谢

许可证

MIT

安装

Windows

  1. 打开release页面下载最新版压缩包/安装包
  2. 解压/安装

MacOS/Linux

  1. git clone
  2. npm install
  3. 按需修改package.json
  4. npm run build


EN

A toolbox Using Caps Lock


Features

Open the panel when CapsLock is on

The panel is divided into two areas: Custom Tools and Default Tools

The default tools are:

  • Screenshot
  • Translation: One-click transfer text language to web page, support Google Deepl Bing Tencent(Transmart) Baidu
  • Clipboard and Quick Input

Custom Tools:

  • User-defined tools
    • Command: Execute command that meets the conditions
    • Web page (pseudo-pwa)
  • cjs plugin: Get tools from cjs (security needs to be checked by yourself)

User-defined tools can customize icons, support svg (string), svg/png/ico path or url, web page supports getting the favicon of the web page (configured to fill in meta)

Most of the interface uses Material You (although I wrote the theme color~~ but I have a bold idea, every time I commit it will modify the theme color to the previous hash of the first 6 strings~~)

Acknowledgements

License

MIT

Install

Windows

  1. Go to the release page and download the latest compressed package/installer
  2. Unzip/install

MacOS/Linux

  1. git clone
  2. npm install
  3. Modify package.json as needed
  4. npm run build