A typing bot for Monkeytype · guest only

Type like
a ghost.

ghostkeys drives a real browser through Monkeytype tests and hits the stats you ask for: speed, raw, accuracy and consistency, with a warm-up and fatigue curve that looks like a person typing.

±5%typical WPM error30s+ tests
251WPM hit for a 250 target99% accuracy
6stats you controlplus 5 presets
0accounts touchedfresh guest browser
Demo

Set the numbers.
Watch it type.

This runs a simulation of the bot in your browser, with the same pacing, typo and consistency logic the real one uses. Nothing here connects to Monkeytype.

● simulated · no network, no bot
time 30 · simulated
0.0s
0wpm
target —
—
Raw speedtarget —
—
Accuracytarget —
—
Consistencytarget —
0
Keystrokes0 typos
~/ghostkeys demoready
press start typing below
raw wpm per second0 words left with errors

I.Profile

How fast, how clean, how human.

Speed range
Accuracy
Consistency
Raw gap
Warm-up
Fatigue

II.Test

A short test so you don't wait long.

mode
length

The real bot also does quotes, punctuation, numbers and any Monkeytype language, and runs from a local control panel just like this one.

results are simulated
How it works

Four numbers,
one feedback loop.

I.

Real keystrokes

Playwright opens a fresh Chromium, reads the active word and its index from the page in a single call, and sends trusted key events. Reading them separately raced the page and retyped words.

II.

WPM on target

Keystrokes run on a clock, and a feedback loop compares counted characters to where they should be, so typo overhead and browser latency don't drag the score down.

III.

Consistency

Monkeytype's consistency formula is inverted to find the speed variation it implies. A per-second speed profile with warm-up and fatigue is scaled to exactly that, minus the jitter per-key timing already adds.

IV.

Accuracy & raw

An error budget decides when to hit a neighbouring key, pause, and backspace it. Raw above WPM comes from occasionally leaving a word wrong, which counts for raw but not WPM.

Measured

Target vs. actual.

Real runs against monkeytype.com in guest mode. The number after the slash is what was asked for.

Short tests swing more: a 50-word run overshot by 7%. 30s+ tests usually land within about 5%.
Run it yourself

Local by design.

The bot needs a real browser on your machine, so it runs locally instead of on this site. Setup takes a minute.

  • 01Every run uses a fresh guest browser, so nothing is saved to an account or sent to a leaderboard.
  • 02The control panel keeps one Monkeytype window open between runs, and Stop only stops the typing.
  • 03Every result is appended to results.jsonl.
# get it
git clone https://github.com/beastb728/ghostkeys
cd ghostkeys
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/playwright install chromium

# control panel → http://127.0.0.1:8765
.venv/bin/python panel.py

# or the command line
.venv/bin/python ghostkeys.py --preset fast --mode "time 30"