Google Input Tools for macOS
A english-nepali transliteration cloud input method that uses Google Input Tools as engine for macOS.
How to use
-
Install Xcode 12.5.0+.
-
Clone and build the project.
git clone https://github.com/ParajuliBkrm/macos-nepali-input-tool.git
cd macos-nepali-input-tool
./build.sh
if you get this error
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
then run this command
sudo xcode-select -r
The output will be
Users/[username]/Library/Input\ Methods/GoogleInputTools.app
-
Open
System Preferences
->Keyboard
->Input Sources
, click+
to add a new input method, chooseEnglish
->Google Input Tools
. -
If you want to remove it, simply run below command.
rm -rf ~/Library/Input\ Methods/GoogleInputTools.app
rm -rf ~/Library/Input\ Methods/GoogleInputTools.swiftmodule
Screenshot
Progress
- Basic input handling logic
-
Space
key to commit current highlighted candidate and add a space. -
Return
key to commit current highlighted candidate. - Number keys (
1
–9
) to select candidate and commit - Continue to show new candidates after partial matched candidate is selected and committed
-
Backspace
key to remove last composing letter -
Esc
key to cancel composing - Bypass modifier keys (
Shift
,Option
,Command
,Control
) -
-
and=
keys to page up and page down candidate list respectively - Handle Purnabiram
|
and Devnagari Numbers०
–९
-
- System UI
- Basic custom UI
- Numbered candidates
- Highlight current selected candidate
- Arrow keys to switch between highlighted candidate
- Group candidates into multiple pages, each page with at most
10
candidates - Page up and page down button
- Draggable candidate window
- Cloud engine
- Cancel previous unnecessary web requests to speed up (Not tested Properly)