All Projects → Saren-Arterius → Google Chinese Handwriting Ime

Saren-Arterius / Google Chinese Handwriting Ime

Licence: cc0-1.0
Written in Electron for Linux.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Google Chinese Handwriting Ime

Docs Examples
Open in Cloud Shell Examples for the Google provider docs
Stars: ✭ 50 (-13.79%)
Mutual labels:  google
Mhddos
Best DDoS Attack Script Python3, Cyber Attack With 36 Method
Stars: ✭ 55 (-5.17%)
Mutual labels:  attack
Laravel Google Ads
Google Ads API for Laravel
Stars: ✭ 56 (-3.45%)
Mutual labels:  google
Keyring
Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
Stars: ✭ 52 (-10.34%)
Mutual labels:  google
Google Assistant Java Demo
A simple Google Assistant Client in Java
Stars: ✭ 53 (-8.62%)
Mutual labels:  google
Ska
Simple Karma Attack
Stars: ✭ 55 (-5.17%)
Mutual labels:  attack
Mobius
Scripts to extract data from the COVID-19 Google Community Mobility Reports
Stars: ✭ 47 (-18.97%)
Mutual labels:  google
Google Auth Library Nodejs
🔑 Google Auth Library for Node.js
Stars: ✭ 1,094 (+1786.21%)
Mutual labels:  google
Mapit
An easy way to embed google maps in your site.
Stars: ✭ 54 (-6.9%)
Mutual labels:  google
Espresso
🚚 Espresso is an express delivery tracking app designed with Material Design style, built on MVP(Model-View-Presenter) architecture with RxJava2, Retrofit2, Realm database and ZXing
Stars: ✭ 1,084 (+1768.97%)
Mutual labels:  google
Gphotos Sync
Google Photos and Albums backup with Google Photos Library API
Stars: ✭ 1,066 (+1737.93%)
Mutual labels:  google
Eddsa Fault Attack
Fault attack agaisnt EdDSA demonstrated on an Arduino Nano board, allowing for partial key recovery and fake signatures.
Stars: ✭ 53 (-8.62%)
Mutual labels:  attack
Caranimation
A sample project about car animation in a route
Stars: ✭ 55 (-5.17%)
Mutual labels:  google
Cloud Trace Java
Stars: ✭ 51 (-12.07%)
Mutual labels:  google
Ctfsubmitter
A flag submitter service with distributed attackers for attack/defense CTF games.
Stars: ✭ 56 (-3.45%)
Mutual labels:  attack
Shellphish
Phishing Tool for 18 social media: Instagram, Facebook, Snapchat, Github, Twitter, Yahoo, Protonmail, Spotify, Netflix, Linkedin, Wordpress, Origin, Steam, Microsoft, InstaFollowers, Gitlab, Pinterest
Stars: ✭ 1,037 (+1687.93%)
Mutual labels:  google
Skip Ad
A simple lightweight Chrome extension that automatically skips YouTube Ads.
Stars: ✭ 54 (-6.9%)
Mutual labels:  google
Pega Helm Charts
Orchestrate a Pega Platform™ deployment by using Docker, Kubernetes, and Helm to take advantage of Pega Platform Cloud Choice flexibility.
Stars: ✭ 58 (+0%)
Mutual labels:  google
Netcore Postgres Oauth Boiler
A basic .NET Core website boilerplate using PostgreSQL for storage, Adminer for db management, Let's Encrypt for SSL certificates and NGINX for routing.
Stars: ✭ 57 (-1.72%)
Mutual labels:  google
Linux On Pixel C
Documentation on how to run a Linux Distro on the Google Pixel C (2015)
Stars: ✭ 55 (-5.17%)
Mutual labels:  google

Google Chinese Handwriting IME

A Chinese IME that works by exploiting Google Translate using Electron. This application aims to solve my friend's Chinese input problem when using Linux desktop. Therefore, this application is for Linux desktops only.

MacOS-style laptop touchpad input support is recently added.

Why?

  • Google input tool works only inside Chrom{e, ium}
  • My friend said that all Chinese handwriting IMEs in Linux suck, and I promised to my friend that I will make this for him
  • I could do a better touchpad support that benefits laptop users.

Installation

  1. Ensure xdotool, python3, gconf and latest node and yarn installed.
  • For touchpad support, evtest and xorg-xinput are also required.
  • Ensure that you are using X instead of Wayland.
  1. $ git clone https://github.com/Saren-Arterius/google-chinese-handwriting-ime.git && cd google-chinese-handwriting-ime
  2. $ yarn
  3. # pip3 install pyperclip or equivalent package from your distro.
  4. # usermod -a -G input $(whoami)

Config for touchpad

  1. Open config.js with your text editor
  2. Run $ evtest, select your touchpad. Now touch your touchpad and move your finger to right bottom, observe the maximum ABS_X and ABS_Y value between the flashing messages.
  • Change touchpad_support.touchpad_coords.max.x and touchpad_support.touchpad_coords.max.y to the values you observed.
  • Repeat for minimum ABS_X and ABS_Y and apply to touchpad_support.touchpad_coords.min.x touchpad_support.touchpad_coords.min.y for the left top corner.
  1. If the cursor went outside of the drawing area when writing, or if there is too much padding, adjust the config above and find the best values.
  2. If your touchpad is not autodetected, run $ xinput list and $ evtest to find corresponding device IDs for your touchpad. Optionally you may add a new entry into device_blacklist to avoid interference.

Running

  1. $ cd google-chinese-handwriting-ime
  2. $ yarn start

Screenshot

Screenshot

See it in action

Known problems

  • No wayland support!
  • xdotool type reliability and performance
    • Slow performance on GNOME
    • Some text input maybe missing
  • use_clipboard could work better for GNOME and more reliable, but it may not work on some applications
    • The use of clipboard hack may make the text input unresponsive if you copied an image to clipboard
    • If the image inside clipboard is no longer needed, copy some text to clean the clipboard before text input
  • For KDE Plasma, need to set "Focus Stealing Prevention" to "none" steal prevention

Tested on

  • XPS 9360
    • Arch Linux
    • KDE Plasma 5.14 / GNOME 3.30
  • Fujishu SH572
    • Arch Linux
    • KDE Plasma 5.14

Terms

This application is licensed under Creative Commons Zero v1.0 Universal which is basically a "do whatever you want" license. Google Translate itself is covered by Google Terms of Service and Provacy Policies.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].