Skip to content

Parajulibkrm/macos-nepali-input-tool

Repository files navigation

Google Input Tools for macOS

Build Status

A english-nepali transliteration cloud input method that uses Google Input Tools as engine for macOS.

How to use

  1. Install Xcode 12.5.0+.

  2. 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

  1. Open System Preferences -> Keyboard -> Input Sources, click + to add a new input method, choose English -> Google Input Tools.

  2. 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

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published