Flow Input · macOS 14+

Raw letters in.
中英混排 out.

Nerva Input is a global typing layer for your Mac. Put your cursor in any text field, press ⌥Space, and type plain English letters. Nerva decodes them into mixed Chinese-and-English text in real time — with whole-segment rewrites, all without ever leaving the keyboard.

No input source to install One permission Local & cloud engines
Chat — 林一帆 Flow Input active
实验跑完了吗?昨天那版分词改动
跑完了,我把对比贴一下
好,主要看跟 baseline 的差距
zhongwenshurubudiyu baseline zhongyinghunpaixianzhuyouyu baseline DeepSeek V4 Flash
Decode · 候选 raw letters → 中英混排 active group
1 中文输入不低于 baseline,中英混排显著优于 baseline
2 中文输入不低于 baseline,中英混排显著由于 baseline 0.74
3 中文输入部第于 baseline,中英混排显著优于 baseline 0.61
Rewrite · 改写 polish the top decode Tab
1 中文输入的效果不低于基线水平,中英混排的效果显著优于基线。 润色
提交首选 Rewrite Tab切换组 15选择 esc取消

How it works

Three keystrokes from cursor to text.

Nerva never takes over your keyboard. It waits for ⌥Space, reads the field you're already in, and hands the result straight back.

01

Place your cursor

In any app — chat, editor, browser, terminal. Nerva reads the focused field through Accessibility.

林一帆 ›
02

Type raw letters

Press ⌥Space and type plain English. Nerva segments pinyin and English words live as you go.

zhongwenshuru baseline
03

Pick & commit

Choose a Decode or Rewrite candidate with a number key, hit Enter, and it's pasted at your cursor.

中文输入不低于 baseline

Two layers of intelligence

Decode what you typed. Rewrite what you meant.

Every Flow session gives you two candidate groups. Switch between them with Tab — decode for fidelity, rewrite for polish.

Decode · Rerank

Raw letters → 中英混排

Nerva splits your stream into Chinese pinyin and English words, then ranks the most likely mixed-text reading. The top result is your default — restrained, not a giant card.

1中文输入不低于 baseline,中英混排显著优于 baseline
2中文输入不低于 baseline,中英混排显著由于 baseline
Rewrite

Polish the whole segment

Hit ⌘Enter and Nerva rewrites the top decode into cleaner, more structured prose — expand, condense, or translate, your choice.

1中文输入的效果不低于基线水平,中英混排的效果显著优于基线。
2在纯中文输入下表现持平 baseline,在中英混排场景下显著超越 baseline

Built like a tool, not a toy

Everything where your hands already are.

Keyboard-first

Number keys select, Tab switches groups, Enter commits. The mouse is optional and the panel never steals focus.

Works in any app

One Accessibility permission lets Nerva read the focused field and paste back — no per-app setup, no system input source.

Local & cloud engines

Run fully on-device, or point Nerva at DeepSeek, Ollama, or LM Studio. Falls back to local when offline.

Whole-segment rewrite

Beyond character correction — restructure, condense, expand, or translate an entire passage in one pass.

Mixed 中英 in one stream

Type Chinese and English in a single run of letters. Nerva keeps the boundaries straight so you don't switch modes.

Private by default

Raw letters and candidates live in memory only. Nothing is logged, and on-device decoding never leaves your Mac.

Engines

Your model. Your machine. Your call.

Pick the backend that decodes and rewrites your text. Switch any time from the menu bar.

Local · Bundled
on-device pinyin decode
Running
DeepSeek V4 Flash
cloud · low-latency rewrite
Connected
Ollama
localhost:11434 · qwen2.5
Detected
LM Studio
localhost:1234
Available

Keyboard model

Five keys do everything.

SpaceEnter Flow Input from any field
Commit the primary decode
Commit the top rewrite
TabSwitch Decode ⇄ Rewrite
15Select any candidate by number
escCancel and restore your cursor

One permission

Accessibility. Nothing more.

Nerva asks for a single macOS permission. There's no input-source list to wrangle and no kernel extension — just the standard Accessibility grant that lets a productivity tool see your focused field and type back into it.

Accessibility
Privacy & Security › Accessibility
Granted
01Read the focused text field and locate your cursor.
02Position the Flow overlay on the correct screen edge.
03Paste the chosen text back where you were typing.

Stop switching
input sources.

Install Nerva, grant one permission, and press ⌥Space. That's the whole setup.

macOS 14.0+ Apple Silicon arm64 Python wheel SHA256SUMS

Community & support · 社区与支持

Get builds, get help,
keep it going.

Releases ship on GitHub. Join the WeChat group for feedback and updates — and if Nerva saves you time, you can support the work.

Releases on GitHub
Download v0.1.0 for macOS arm64, plus wheel and checksums.
github.com/Airine/nerva-input ↗
Nerva Input 微信交流群二维码
微信交流群 · WeChat group
扫码加入,反馈问题与接收更新。
支持作者收款码
支持作者 · Support
觉得好用?扫码请作者喝杯咖啡。