Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cage1016/alfred-opencc

Open Chinese Convert 開放中文轉換
https://github.com/cage1016/alfred-opencc

alfred-workflow alfred-workflow-go alfred4-workflow alfred5 golang opencc tools

Last synced: about 1 month ago
JSON representation

Open Chinese Convert 開放中文轉換

Awesome Lists containing this project

README

        

# Open Chinese Convert 開放中文轉換

[![Release](https://github.com/cage1016/alfred-opencc/actions/workflows/release.yml/badge.svg)](https://github.com/cage1016/alfred-opencc/actions/workflows/release.yml)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
![GitHub all releases](https://img.shields.io/github/downloads/cage1016/alfred-opencc/total)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/cage1016/alfred-opencc)

## Introduction

由於 MacOS 在 12.3 終於移除對 Python2 的支援,導至 Alfred 4 版本中原先使用的 [amowu/alfred-chinese-converter](https://github.com/amowu/alfred-chinese-converter) 已經無法再使,作者也沒有更新。所以透過 Golang 自己造一個也省去了對 Python 的依賴。

## Prerequisite

- Alfred 5 & Powerpack

## Installation

訪問 [Releases · cage1016/alfred-opencc](https://github.com/cage1016/alfred-opencc/releases) 以獲取最新版本

PS. Please download [Release v0.3.0](https://github.com/cage1016/alfred-opencc/releases/tag/v0.3.0) if you are using Alfred 4 and want to disable auto check for update ([How to disable the auto update check · Issue #4](https://github.com/cage1016/alfred-opencc/issues/4))
## Usage

使用關鍵字 `occ` 輸入需要作簡繁轉換的詞句

![](./screenshots/opencc.jpg)

總共支援 8 種轉換模式,可以自行設定啟用或關閉

- 簡體到繁體
- 繁體到簡體
- 簡體到臺灣正體
- 臺灣正體到簡體
- 簡體到香港繁體
- 香港繁體到簡體
- 簡體到繁體(臺灣正體標準)並轉換爲臺灣常用詞彙
- 繁體(臺灣正體標準)到簡體並轉換爲中國大陸常用詞彙

指定一種轉換模式並透過 `qocc` 直接轉換並複製到剪貼簿

![](./screenshots/configure.jpg)

## Contribute
If you find any bug or want to propose a new feature, please open an issue to discuss it.

## Third Party Library

- [longbridgeapp/opencc](https://github.com/longbridgeapp/opencc) Apache License
- [cage1016/opencc: Pure Go version OpenCC 繁簡轉換](https://github.com/cage1016/opencc) Apache License

## Change Log
### v1.1.0
- Code Sign and Notarize support
-
### v1.0.0
- Migrate to Alfred5
- Add `qocc` command to convert directly and copy to clipboard

### v0.2.1
- fix multiline text support

### v0.2.0
- change opencc golang library
- update opencc to 1.1.4

## License
This repository contains free software released under the MIT Licence. Please check out the [LICENSE](./LICENSE) file for details.