A teleprompter for your code. Write it once, "type" it live.
TypeGhost replays pre-written code in your editor with human-like typing β irregular rhythm, thinking pauses, even typos that get noticed and fixed. Perfect for conference talks, screencasts, YouTube tutorials and classroom demos: no more typos in front of 300 people, no more "wait, what did I mistype?".
βΆ Try the live demo in your browser β no install needed.
Press play. Your code types itself at a human pace while you narrate. Pause anytime, or drop checkpoints in your script so playback stops exactly where you want to talk.
You mash any keys β the real script comes out. Your hands are genuinely moving, the rhythm is genuinely yours, and you physically cannot make a typo. This is the most convincing illusion for live presentations.
- Install TypeGhost from the Marketplace β or search "TypeGhost" in the Extensions view (
Ctrl/Cmd+Shift+X). - Copy your prepared code, open the file you'll "write" in front of your audience.
- Run
TypeGhost: Play From Clipboardβ orTypeGhost: Hacker Mode From Clipboardand start mashing.
| Command | What it does |
|---|---|
TypeGhost: Play From Clipboard / File⦠|
Auto-types the script at the cursor |
TypeGhost: Hacker Mode From Clipboard / File⦠|
Your keystrokes type the script |
TypeGhost: Pause / Resume (ctrl/cmd+alt+T) |
Also continues past checkpoints |
TypeGhost: Stop (ctrl/cmd+alt+backspace) |
Instantly hands the keyboard back |
Settings: typing speed, typo simulation on/off and rate, characters per keystroke in hacker mode.
The same two modes and the same directives, powered by a Kotlin port of the engine β one plugin covers every IntelliJ-based IDE (2024.2+).
Install from the JetBrains Marketplace β or search "TypeGhost" in Settings β Plugins. Commands live under Tools β TypeGhost (alt+shift+T to pause/resume, alt+shift+backspace to stop).
Any comment with a ~ glued to the comment marker is a TypeGhost directive. It is stripped from what gets typed:
function fibonacci(n) {
if (n <= 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
//~ pause 800
//~ checkpoint explain-recursion
console.log(fibonacci(10));//~ pause 800β extra pause (ms) before the next character.//~ checkpoint <name>β auto playback stops here until you resume. Talk to your audience, then hitctrl/cmd+alt+T.- Works in any language:
#~(Python, shell),--~(SQL, Lua, Haskell),;;~(Lisp),%~(LaTeX, Erlang).
| TypeGhost | vscode-hacker-typer | doitlive | demo-magic | |
|---|---|---|---|---|
| Target | Editors (VS Code, JetBrains IDEs, web) | VS Code | Terminal | Terminal |
| Auto mode with human-like typing | β typos, rhythm, thinking pauses | β | partial | partial |
| Hacker mode (mash keys) | β | β | β | β |
| Checkpoints / pauses in script | β | ~ | β | β |
| Editor-agnostic core library | β
typeghost-core |
β | β | β |
| Maintained | β | β (archived-ish, last push 2023) | β | ~ |
Terminal demos? Use the excellent doitlive. Editor demos? That's what TypeGhost is for.
packages/
core/ typeghost-core β the typing engine (pure TS, tested, no editor deps)
vscode-extension/ the VS Code extension
web-demo/ the Monaco-based browser playground
jetbrains-plugin/ the IntelliJ Platform plugin (Kotlin port of the engine, Gradle)
npm install
npm run build
npm test # engine test suite
npm run dev:web # playground on http://127.0.0.1:8123The engine's golden rule, enforced by tests: whatever the simulation does β typos, corrections, pauses β the final buffer is byte-identical to your script. Your demo cannot derail.
- Publish the extension to the VS Code Marketplace
- Publish the engine to npm:
typeghost-core - Publish the extension to Open VSX (VSCodium, Gitpod, Cursorβ¦)
- Record mode β code it once for real, TypeGhost captures and replays the session
- Multi-file scenarios (open file, jump to line, edit in the middle)
- JetBrains plugin (IntelliJ IDEA, PhpStorm, WebStorm, PyCharm, GoLand, Riderβ¦)
- Checkpoint control from a presentation remote / foot pedal
-
//~ speed 30directive for per-section pacing
Contributions welcome β see CONTRIBUTING.md.
Is this⦠cheating? It's a teleprompter. Newscasters use them, keynote speakers use them, and half the conference circuit already fakes terminal demos. Your audience came to learn, not to watch you hunt for a missing semicolon.
Does hacker mode work with the Vim extension?
Not simultaneously β both need to own the type command. TypeGhost tells you instead of failing silently.
MIT Β© Papa Sidy Mactar TraorΓ©
