From 05c7ecb785c22f415fc24f25d97241add53b5637 Mon Sep 17 00:00:00 2001 From: TomBen Date: Wed, 12 Oct 2022 14:31:34 +0800 Subject: [PATCH] initial commit --- LICENSE | 21 ++++++++++++ README.md | 51 ++++++++++++++++++++++++++++ autocorrect-popclip/Config.plist | 31 +++++++++++++++++ autocorrect-popclip/autocorrect.png | Bin 0 -> 11069 bytes autocorrect-popclip/autocorrect.sh | 1 + 5 files changed, 104 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 autocorrect-popclip/Config.plist create mode 100644 autocorrect-popclip/autocorrect.png create mode 100644 autocorrect-popclip/autocorrect.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a1ac44a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Tom Ben + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f3ded2 --- /dev/null +++ b/README.md @@ -0,0 +1,51 @@ +# AutoCorrect Extension for PopClip + +基于 [AutoCorrect](https://github.com/huacnlee/autocorrect) 的 PopClip 插件,用于「自动纠正」或「检查并建议」文案,给 CJK(中文、日语、韩语)与英文混写的场景,补充正确的空格,纠正单词,同时尝试以安全的方式自动纠正标点符号等等。 + +## 安装 + +1. **安装 PopClip** + + - 前往 [官网](https://pilotmoon.com/popclip/) 下载,可以免费试用 + - 或在 [Mac App Store](https://apps.apple.com/app/popclip/id445189367) 中购买,售价 $14.99(¥98.00) + +2. **安装 AutoCorrect** + +通过 [Homebrew](https://brew.sh/) 安装: + +```shell +brew install autocorrect +``` + +或者使用 [Curl](https://curl.se/) 安装: + +```shell +curl -sSL https://git.io/JcGER | bash +``` + +3. **安装 AutoCorrect Extension for PopClip** + +鼠标选中下方 6 行 YAML 代码块后,PopClip 开启状态下会自动弹出提示 `Install Extension "AutoCorrect"`,点击即可安装。在 M* 芯片的 Mac 上,使用 Homebrew 安装的 AutoCorrect 路径为 `/opt/homebrew/bin/autocorrect`。如果 AutoCorrect 在你的 Mac 中不是此路径,请在终端中输入 `which autocorrect`,然后用输出结果替换下方的 `/opt/homebrew/bin/autocorrect`。请注意,可执行的文件的路径不可省略。 + +```yaml +# popclip AutoCorrect +name: AutoCorrect +title: CJK Formatting +icon: square CJK +applescript: do shell script "export LANG='en_US.UTF-8' && /bin/echo '{popclip text}' | /opt/homebrew/bin/autocorrect --stdin" +after: paste-result +``` + +或者下载 + +## 使用效果 + +![demo](https://p15.p3.n0.cdn.getcloudapp.com/items/5zuPjPbb/f877d3ec-3d4a-4e2d-a07f-8716f80c23e9.gif) + +## 相关项目 + +- [盘古之白 PopClip 插件](https://github.com/mousepotato/pangu-space.popclipext) + +## License + +[MIT license](LICENSE) diff --git a/autocorrect-popclip/Config.plist b/autocorrect-popclip/Config.plist new file mode 100644 index 0000000..c10f1d0 --- /dev/null +++ b/autocorrect-popclip/Config.plist @@ -0,0 +1,31 @@ + + + + + Actions + + + After + paste-result + Image File + autocorrect.png + Requirements + + copy + + Shell Script File + autocorrect.sh + Stoppable + + Title + Formatting CJK + + + Extension Identifier + com.tomben.autocorrect.extension + Extension Name + AutoCorrect + Extension Description + Improve copywriting, correct spaces, words, punctuations between CJK (Chinese, Japanese, Korean). + + diff --git a/autocorrect-popclip/autocorrect.png b/autocorrect-popclip/autocorrect.png new file mode 100644 index 0000000000000000000000000000000000000000..a46677fdd37c69cfa8320210f3a12aadcb3267d4 GIT binary patch literal 11069 zcmeHtXH=8hwkU*vp{O+J9RdP@kRVk`q<0i40qIqQ0MeuhL_kG)2c=3AiS&*@l%h02 zx^zLhAW{WH?icqyXYYH?xnsN^@BMk>hLP`ES!>R@=9*>Ax#lABx}N%Z3Kj|?BBJw} z8Y%`vM8xrgFN6%}32l??175^l2I@*gWgpnqfFE5BXiZ05T_Pc%4Iv^UrX?aFfB=6) z#4JRlzuQDa#>A}uY+Djv{u2fSz#xc#C($L~>-fl-2>d5}5b!26VT8v&-q)S|99%Ir z-tL}U*FD|2#6`tK5x_V&9{igIJ&7Pq%1;A7J=kK zAY`w|$VwoI9Ei@I14HB<8m3-EM54TeFR@>tqAw8*w{;Np z!*~!V5y|<<0!@sAw+)vc#?{SB)=!@2H-s$ECUnDjxPF6pyU6pPb+21q!z3eGiF< z_^)fKTr>0|-kkB@h8p?c?^1g>PCUAQF5$9tRk#J1jGCPxft`#gk<(PjA@K=+rR^_7 zWJpJP6|R8x6|zz&mE?i+WeVG9iq*&3$)R6CJ;=~@(Gywg57@bOZT-W*nevm_z^#_K zvh}%gtG2Dcfurf*Z$5K}O@T2IOw=eMV(|a}kK4i(j#H$j7qBYeu|(-J%`Ta)#rviU zCl%3frnsbSKmb@qvv0?3JUUx$8J-2`DrewNtc%>Lh56|NXB?5h-2(m(IFRj|q zuNZx*Ba7q)`XV8)cxiR_9>LRbE4vm!8oReD^FAPNo0izHbL5nn3Aeu<-#ms!cIiz( zxI$4oAQx>iVSAmm_w6zJE8X=(T$-ukhfukp%{(d#N^yqU$Kv; zTnV=yd|UuPIg`5zeOBPLd!o+n)^}0s!bX9reoY~z2iV}4AwKw*fF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2ZDS`>_QzkfzG5{e2WZqd=0>0CyO*D024RiEpx8+;2)QuO&^f-M8p&5_)~OsU(>^bY}~P1#zxZDQL-ABw2Wn~C2F zjGm!vQVzcagbqG9jn`mr81$~YwxF`@w#MI zj9VMulpPCb&xecRex1LEqerxbAi~m6hoit{$HWbMfYg{N`>xGhFd1Wmj+Xb~9hi`?N=vx_ literal 0 HcmV?d00001 diff --git a/autocorrect-popclip/autocorrect.sh b/autocorrect-popclip/autocorrect.sh new file mode 100644 index 0000000..62f4add --- /dev/null +++ b/autocorrect-popclip/autocorrect.sh @@ -0,0 +1 @@ +export LANG='en_US.UTF-8' && /bin/echo -n "$POPCLIP_TEXT" | /opt/homebrew/bin/autocorrect --stdin \ No newline at end of file