A macOS auxiliary app to choose results from cloud input methods

Overview

CloudInputAssist

Introduction 介绍

一个 macOS 辅助应用程序,用于使用云输入法(例如谷歌云输入法)API 提供辅助的候选词结果。

Motivation 动机

使用不联网的本地输入法时,长句的候选词往往不太理想,尤其是使用双拼输入时。这种情况下,借助一些输入法的云计算 API,可以获得较为准确的候选词。

Usage 使用方法

虽然工具使用了图形化界面,但是并不是一个标准的 macOS app,而是一个命令行程序(因为这样无需签名即可分发)。暂时没有任何第三方依赖,直接编译运行即可(macOS 12 及以上可用)。

swift run

运行后,当你输入中文时,程序会记录你的按键,尝试同步你的输入缓冲区内容,并在左下角展示 API 返回的计算结果。目前,只支持小鹤双拼键位,只接入了谷歌云输入法和百度云输入法的 API(目前默认为百度云输入法),上屏快捷键为 F12(某些情况下可能与 Chrome 开发者工具呼出快捷键冲突)。注意,你需要打开通过 Caps Lock 键切换中英文的功能(目前有三种方式清空输入法自身的缓冲区:Escape, Caps Lock, Delete,其中 Caps Lock 较为“温和”,与其他软件产生冲突的可能性较小)。

2022-02-10.22.14.43.mov

Known issues 已知问题

  • Safari 由于苹果限制,无法模拟按键(但是内容会到剪切板,可自行 Eascape 清空输入法缓冲区后粘贴)
  • Chrome Web 控件可能会出现内容已上屏,但是输入法缓冲区仍在的问题(可自行 Eascape 清空输入法缓冲区)
  • 基于 Electron 开发的应用拦截 CGEvent 做快捷键,可能与模拟按键冲突
You might also like...
Stock is a MacOS menu bar app that helps you quickly save a web link, a file link, or a text by using drag and drop
Stock is a MacOS menu bar app that helps you quickly save a web link, a file link, or a text by using drag and drop

Stock is a MacOS menu bar app that helps you quickly save a web link, a file link, or a text by using drag and drop

iOS app that detects LaTeX symbols from drawings. Built using PencilKit, SwiftUI, Combine and CoreML for iOS 14 and macOS 11.

DeTeXt Finding the symbol you want to use in LaTeX can be hard since you can't memorize all the possible commands and packages for every symbol you mi

Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App
Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App

Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App Follow the tutorial at alfianlosari.com Features Filter image using predefin

Exposing macOS Services through a Catalyst app
Exposing macOS Services through a Catalyst app

CatalystServices This is a simple example to show how you can implement the macOS Services system in your Catalyst app. The services you expose are pr

Informant is a macOS menu bar app that lets you inspect files with a single click. 🔍
Informant is a macOS menu bar app that lets you inspect files with a single click. 🔍

Informant Inspect files with a single click. Introduction Welcome! If you're not sure what Informant is or what it does please check out informant-app

Grid-based app for macOS Catalyst (Mac Idiom) with navigation stack
Grid-based app for macOS Catalyst (Mac Idiom) with navigation stack

Catalyst Grid App Simple Catalyst example (Mac idiom) of a grid-based app with a push/pop navigation stack. Includes back button in toolbar that auto-

Window preview app for MacOS (on the dock) using AltTab.

DockAltTab The #1 Window manager/Task switcher & Companion for AltTab v1.1 download link https://github.com/steventheworker/DockAltTab/releases/downlo

A native SoundCloud app for macOS, written in SwiftUI
A native SoundCloud app for macOS, written in SwiftUI

Nuage A native SoundCloud app for macOS, written in SwiftUI About Nuage is an independent and open-source project to build a native SoundCloud client

A Quick macOS app that will check a website's sitemap.xml against a new domain
A Quick macOS app that will check a website's sitemap.xml against a new domain

Migrator Quick and dirty native macOS app that will check a website's sitemap.xml against a new domain. When you're developing your new website and wa

Owner
JJAYCHEN
A Lifelong Learner. M.S. Student(CS) in ECNU.
JJAYCHEN
Simple SwiftUI app that can to patch _UPC methods to ACPI Source Language files.

Simple SwiftUI app that can to patch _UPC methods to ACPI Source Language files.

null 1 Dec 21, 2022
Warning pushNotification - Using push notification with Firebase Cloud Messaging

재난문자 푸시 알림 구현 1) 구현 기능 2) 기본 개념 (1) Remote Notification 불시에 발생한 업데이트 불특정 시간 예측 불

null 0 Jan 24, 2022
Firebase Cloud Firestore support library for iOS. 🧢

?? Ballcap-iOS Ballcap is a database schema design framework for Cloud Firestore. Why Ballcap Cloud Firestore is a great schema-less and flexible data

1amageek 229 Jan 2, 2023
A simple and lightweight Swift package which provides a SwiftUI view for interactive geo coordinates input!

LocationPicker for SwiftUI LocationPicker for SwiftUI is a very simple and lightweight Swift package which provides you a SwiftUI view for interactive

Alessio Rubicini 17 Dec 7, 2022
macOS application written in SwiftUI that downloads installer pkgs for the Install macOS Big Sur application.

Download Full Installer This is a Swift UI implementation of my fetch-installer-pkg script. It will list the full macOS Big Sur (and later) installer

Armin Briegel 654 Dec 31, 2022
"Podman for macOS" is a macOS frontend for Podman.

Podman for macOS "Podman for macOS" is a macOS frontend for Podman. It can be used to start and stop both the Podman Machine and its running container

Victor Gama 573 Jan 5, 2023
The app provides additional actions for the Shortcuts app on macOS and iOS.

Actions Supercharge your shortcuts The app provides additional actions for the Shortcuts app on macOS and iOS. Submit action idea (Submit an issue bef

Sindre Sorhus 1.2k Dec 29, 2022
BeezyLight.app✦ tiny macOS app to control a usb-connected light

BeezyLight.app✦ tiny macOS app to control a usb-connected light

null 2 Jul 11, 2022
This To-Do app was developed using Swift and SwiftUI and works on iOS, MacOS (Apple Silicon) and WatchOS. The tasks are kept on storage even when the app is restarted.

ToDo-SwiftUI This app has a lot of sentimental value for me, given that it helped me a lot to understand the process of doing an iOS app and became th

Augusto Galindo Ali 6 Jul 12, 2022
SwiftUI MovieDB prototype app built with Xcode 11 Beta & macOS 10.15 Catalina

SwiftUI MovieDB iOS 13 App SwiftUI MovieDB prototype app built with Xcode 11 Beta & macOS 10.15 Catalina Requirements macOS 10.15 Catalina Xcode 11 Be

Alfian Losari 297 Dec 17, 2022