Local Chinese-input analytics for Windows

DuckType · 码字鸭

It sits quietly in your tray and counts only the Chinese characters your IME actually commits. Pinyin, English and digits are never stored, your data stays on your machine, and scattered keystrokes turn into rhythm, vocabulary, reports and replay.

On-commit only
counts after the IME commits
Local-first
a SQLite file on your PC
Reviewable
reports, long images, lexicons, replay

A real dashboard

Turn “how much did I write today” into a rhythm you can read at a glance

Headline metrics, daily trends, active hours, per-app breakdowns, top characters and words, parts of speech, a contribution heatmap and full reports all live in one local window. Since 0.3.0 there is also a vocabulary-growth curve, per-app typing speed and a weekday-vs-weekend rhythm; below-the-fold panels load as you scroll, so the first paint is faster. Load the demo data to preview, or let it record quietly from today.

DuckType dashboard screenshot Click to enlarge
Light dashboard: characters, speed, active time, edit ratio and goal progress over the last 7 days.

Features

A local dashboard built for Chinese writers

  • Local-firstdata stays on your PC
  • On-commitno keystrokes, no pinyin
  • Newvocabulary growth
  • Newper-app efficiency
  • Newweekday / weekend rhythm
  • day review · collected records
  • daily / weekly / monthly goals
  • open source · MIT

Committed-character counting

It watches the characters your IME actually commits, not keyboard presses. Your Chinese “word count” finally approaches what you really wrote.

Privacy by design

No pinyin, English, digits or ordinary shortcuts are stored. Password fields are skipped; app blacklist, pause and a retention window are all yours to set.

Reports & long images

Daily, weekly, monthly and yearly reports translate the numbers into prose, and export as a share card or a long image with trends, insights and word frequencies.

Tracked terms & lexicons

Names, codenames, catchphrases and custom lexicons are counted exactly — perfect for watching long-term themes and habits the segmenter would miss.

Input sequence

Replay your real committed fragments on a timeline, filter by app and keyword, and export to TXT, CSV or JSON for further analysis.

The mini duck

A floating, always-on-top counter shows your typing speed on a gauge, with a speed sparkline, session count, daily goal and a clock — no need to open the full dashboard while writing.

Vocabulary growth 0.3.0

Every distinct word and character you have ever written, accumulated by the day it first appeared — an ever-rising curve that shows your vocabulary getting bigger.

Efficiency & rhythm 0.3.0

A per-app typing-speed ranking plus a weekday-vs-weekend average — see where you write fastest and whether your output leans toward weekdays or weekends.

Why it’s different

Counting “keys” and counting “characters actually written” are not the same thing

Ordinary key counting
≈ 12keys

Typing pinyin, paging, picking candidates — every action counts as “input”, inflating the number so it tells you nothing about real output.

DuckType counts on commit
3characters

Counted only the moment the IME commits a character. Pinyin, paging, English and digits don’t count — this is what you actually wrote.

Local-first

Track your own writing without becoming spyware

DuckType’s core data is each committed character, its timestamp and the app at the time. Everything stays in a data folder you choose; backup, migration and deletion are all under your control.

  • Never uploads your input.
  • Never stores pinyin, English or digits.
  • Large pastes are ignored.
  • Common password managers are blacklisted by default.
  • Export the whole database as a .duckpack backup.

Who it’s for

Anyone who writes in Chinese long-term wants to see their own rhythm

Students & researchers

See real progress through papers, notes, proposals and revisions.

Content creators

Use weekly reports and word frequencies to review themes and output.

Novelists & long-form writers

Turn daily goals, streaks and project vocabulary into long-term feedback.

Heavy note-takers

Know which apps you write most in, and when you’re in flow.

DuckType mini duck illustration

Floating window

While writing, keep just the mini duck

The full dashboard is for review; the mini duck is for the moment you’re writing. A gauge needle shows your typing speed, alongside a one-minute speed sparkline, this session, today’s count, goal progress and a live clock. Toggle it with a global hotkey; closing it returns to the main dashboard.

See quick start

Open & ahead

Making local writing review even better

DuckType stays open source and local-first. What’s next is making review smoother and retrospectives warmer — finer dimensions, better exports, kinder onboarding.

01

Day review, collected records, daily/weekly/monthly goals and Markdown weekly reports (shipped in v0.2.9).

02

Vocabulary growth, per-app efficiency, weekday/weekend rhythm and lazy-loaded board panels (shipped in v0.3.0).

03

Project dimensions, more retrospective views and optional local encrypted backups.

FAQ

A few things to know before downloading

Is it spyware? Does it upload my content?

No. DuckType never connects to the network and never uploads any input. It only records, on your machine, “each committed character + time + the app at the time.” All data lives in a folder you choose; deletion, backup and migration are up to you.

Does it record my passwords or exactly what I typed?

Pinyin, English and digits are never stored; large pastes are ignored; common password managers are blacklisted by default and password fields are skipped. You can blacklist more apps or pause anytime.

Which IMEs and systems are supported?

Windows only for now. It hooks into the system Text Services Framework (TSF) to capture committed characters, so mainstream pinyin / wubi IMEs work; classic edit controls have a fallback path too.

Antivirus / SmartScreen warns me — what do I do?

The build is currently unsigned, so Windows SmartScreen may show “Windows protected your PC / unknown publisher.” That doesn’t mean it’s malware — it just hasn’t bought a code-signing certificate or built download reputation yet. To run it: click “More info → Run anyway.” To verify integrity, compare the SHA-256 shipped with each release (Get-FileHash .\DuckType.exe -Algorithm SHA256) and only download from the official Releases page. You can also build from source.

Can I take my data to a new computer?

Yes. Under Settings → Data, export the whole database as a single .duckpack file and import it on the new machine; stats, lexicons and goals all migrate together.

Does data remain after uninstall? Is it free?

Data lives in the local folder you chose; uninstalling won’t touch it, and you can delete it by hand once you’re sure. The software itself is completely free and open source (MIT).

Let the duck sit quietly in your tray for a day

Once it has a few real input sessions, you’ll see for the first time how much you’ve written lately, when you’re in flow, and which apps your characters land in.