https://github.com/parajulibkrm/macos-nepali-input-tool
https://github.com/parajulibkrm/macos-nepali-input-tool
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/parajulibkrm/macos-nepali-input-tool
- Owner: Parajulibkrm
- License: gpl-3.0
- Created: 2024-01-04T04:23:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-04T13:04:57.000Z (over 1 year ago)
- Last Synced: 2025-03-26T02:42:54.641Z (about 1 month ago)
- Language: Swift
- Size: 362 KB
- Stars: 50
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Input Tools for macOS
[](https://github.com/ParajuliBkrm/macos-nepali-input-tool/actions/workflows/build.yml?query=branch%3Amain)
A english-nepali transliteration *cloud* input method that uses [Google Input Tools](https://www.google.com/inputtools/) 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`
3. Open `System Preferences` -> `Keyboard` -> `Input Sources`, click `+` to add a new input method, choose `English` -> `Google Input Tools`.
4. 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
- [x] Basic input handling logic
- [x] `Space` key to commit current highlighted candidate and add a space.
- [x] `Return` key to commit current highlighted candidate.
- [x] Number keys (`1`-`9`) to select candidate and commit
- [x] Continue to show new candidates after partial matched candidate is selected and committed
- [x] `Backspace` key to remove last composing letter
- [x] `Esc` key to cancel composing
- [x] Bypass modifier keys (`Shift`, `Option`, `Command`, `Control`)
- [x] `-` and `=` keys to page up and page down candidate list respectively
- [ ] Handle Purnabiram `|` and Devnagari Numbers `०`-`९`
- [x] System UI
- [x] Basic custom UI
- [x] Numbered candidates
- [x] 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
- [x] Cloud engine
- [ ] Cancel previous unnecessary web requests to speed up (Not tested Properly)