Skip to content
algoprogPublic

About

Small grey words that swim ahead of your cursor: word suggestions and typo fixes in any program, in about 200 languages, on your own computer.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Grayling: a text cursor with a small grey fish ahead of it

Grayling

Autocomplete for every app on your computer.
As you type, the rest of the word and the next one appear in grey. Press Tab to take them.

macOS · Windows · Linux · about 200 languages · runs offline · free and open source

A mail being written: the rest of each word shows in grey and Tab takes it. A word typed wrong gets a dotted line and the right word on a label. Then the same in Japanese and Greek, and a word put inside a finished sentence.

Why Grayling

  • One app, every text box. Gmail, Slack, Chrome, Safari, Notes, Notepad: the suggestions follow you, in each program's own font.
  • Less typing. Its one grey word saves 45% of the keys in English, more than the first suggestion of any keyboard or system we tested (see below).
  • Typos caught as you go. A word typed wrong gets a dotted line, and Tab puts the right one in.
  • Private. It runs on your computer and nothing you type is sent anywhere. No keyboard hook, no key log (privacy).
  • Light. About 20 ms a key and under 0.5 GB of memory on an ordinary laptop processor, with no graphics card (speed and memory).
  • It learns how you write: your names, terms and phrases, on your computer only. You can read and delete what it keeps, or turn learning off.

Saves more typing

The same sentences typed key by key into each program, as it comes. The share of the keys that its first suggestion saves:

English 8 other languages
Grayling 45% 35%
iPhone keyboard (QuickType bar) 35% 31%
macOS text candidates 34% 4%
Gboard (Android) 28% 27%
macOS word completions 25% 3%
Windows text suggestions 25%
iPhone inline predictions (grey text) 16%
Microsoft Edge text prediction (grey text) 10% 0%

Sentences of FLORES-200 that Grayling never saw in training, in English and in Spanish, German, French, Portuguese, Italian, Greek, Polish and Turkish; Grayling with both its models (computers with 8 GB of memory or more; the small model alone saves 31% and 20%). Phone keyboards also show a strip of three words: counting a tap on any of them, the iPhone keyboard saves 47% and 39%, Gboard 38% and 37%. Windows' strip was read from screenshots, in English only. Every program, with intervals and how each was driven; Grayling beside other autocomplete apps.

Get it

macOS 12 or later brew install --cask algoprog/grayling/grayling, or the download for Apple silicon or Intel
Windows 10 and 11 The setup program for x64 or Arm. It is not signed yet, so Windows asks first: More info → Run anyway
Linux with IBus x64: deb, rpm or AppImage. Arm: deb, rpm or AppImage

The first start downloads its models once: 0.3 GB, or 1.1 GB with the larger one on computers with 8 GB of memory or more. After that it keeps itself up to date.

For developers

The engine behind the app is a library too, and every program on a computer that uses it shares one engine:

Web pages and Node.js npm install grayling · guide
Python pip install grayling · guide
Rust cargo add grayling · guide
Anything else grayling http, a small HTTP API on your own computer · guide
from grayling import Engine, download

engine = Engine.load(download())
engine.suggest(text="Please let me know if you have any ques")["word"]   # 'tions.'

Hydor is built on it.

Learn more

Licence

AGPL-3.0-only, with the additional terms in its NOTICE; contributions come in under the contributor agreement.

About

Small grey words that swim ahead of your cursor: word suggestions and typo fixes in any program, in about 200 languages, on your own computer.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages