Skip to content
Projects

About

艾么输入法 · An open-source Chinese input method for macOS, built on RIME. Local first, optional AI.

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+3
in 15 days
+9
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

AIME

New words, freely yours.

An open-source Chinese input method for macOS, built on RIME · local first · optional AI

Website · Download · Documentation · Privacy · 中文

CI Release MIT macOS 15+ Swift 6 librime 1.17

AIME: New words, freely yours. Open source, privacy, an input method for the AI era. An angled laptop screen and keyboard show input interaction; a promotional composite based on native UI references, using synthetic examples.

[!IMPORTANT] Early release (0.1.x). Features are still moving quickly. Stable installers are signed with a Developer ID and notarized by Apple; check the release notes and checksums before downloading. AIME is an independent project, not a fork of Squirrel, contains none of its GPL source, and can be installed alongside it.

Some words are better typed in quiet

Voice input is useful. So is a keyboard: when you do not feel like speaking, when you share a space, or when you want to think as you write and take your time with a sentence.

AIME is built for those moments. It keeps RIME's openness and flexibility, adds native controls for your typing habits, and brings in AI when you ask. There are no built-in ads; everyday input is processed on your Mac, and you choose your schemas, appearance and vocabulary.

If you want to keep full or double pinyin and your own word lists while editing fewer configuration files, or value quiet writing and control over your tools, give AIME a try.

Why AIME

Open source, built on RIME Powered by librime with rime-ice as the default schema. Reads your existing RIME configuration and imports from Squirrel read-only. AIME's own code is MIT-licensed.
Everyday typing is processed on your Mac Composition, candidates and learned frequencies stay local: no input logs, built-in ads, telemetry or crash reporting. Snippets and optional input statistics are stored only on the Mac.
AI when you ask for it Translate, polish or run your own prompts — hold ⌥, press Space, done at the cursor. Only the text you choose is processed, by Apple's on-device model (availability depends on device and region) or an OpenAI-compatible endpoint you configure. Simplified/Traditional conversion runs locally.
Typing habits you can adjust Visual settings for schemas, colours and shortcuts; a native candidate window, snippet categories, phrase codes and a symbol board picked by letter keys keep everyday tasks at the keyboard.
Fresh vocabulary, an open ecosystem Official feeds support daily, weekly or manual checks and verify versions and SHA-256 before use. Subscribe to RIME-compatible word lists, install community schemas and import from Squirrel read-only. Credit goes to upstream maintainers and contributors.

Features

  • Quick menu — hold ⌥ while typing: Space opens AI actions, 1–4 open snippets, symbols, frequent words and emoji, and 0 opens settings; no mouse needed.
  • Emoji board — 1,906 offline emoji in nine categories. Digits switch categories, letters select cells, Shift+letter or Space keeps the board open, Return inserts and closes, and Esc goes back.
  • AI actions — translate, polish, convert or run custom actions (e.g. Cantonese) on the selection, the text just typed, or the candidate being composed; results appear as candidates and Return replaces the text.
  • Draft layer (optional) — typed text waits at the cursor until Return, so a whole sentence can be polished before it is sent.
  • Visual settings — 80+ options covering everyday RIME configuration: candidates, Chinese/English switching, fuzzy pinyin, shortcuts, Traditional output, per-app defaults (research notes).
  • Appearance — colour scheme gallery with live preview, fonts, horizontal or vertical layout, radii and spacing, custom schemes with contrast warnings.
  • Vocabulary — an official online catalogue (versioned, SHA-256 verified, daily or weekly updates), any RIME-compatible word list, and one-click schema packages (rime-ice, Wanxiang, rime-frost) with conflict warnings.
  • Sentence scoring (optional) — download the approximately 405 MB Wanxiang offline language model from Vocabulary, then enable it in typing settings. Disabled by default; scoring stays on the Mac.
  • Snippets and phrases — categorised snippets (phone, email, address…) and a table editor for custom phrases.
  • Input statistics (optional, local only) — daily characters, hours and apps, frequent words you can pin.
  • Sync and backup — merge learned frequencies across Macs through a RIME sync folder; export and restore a local backup file. AIME runs no sync server.
  • Automatic updates — checks a public release manifest once a day; downloads are verified against SHA-256 and the developer signature before macOS Installer opens them. Can be turned off.
  • First-run guide — from enabling the input method to choosing full or double pinyin and trying sample phrases, step by step.
  • CLI — aime deploy / bench / doctor / import-squirrel / package / get / set / sync for scripting and CI.

AIME Settings · Overview

Appearance (dark) Vocabulary

Install

Homebrew

brew install --cask zoolapp/tap/aime

Then add the input method as in step 3 below. Upgrade with brew upgrade --cask aime.

Installer package

  1. Download the latest AIME-<version>.pkg from Releases and verify it with the SHA256SUMS.txt on the same page:

    shasum -a 256 -c SHA256SUMS.txt --ignore-missing
    
  2. Read that release's signing and notarization status, then follow its installation instructions. Stable releases are notarized by Apple; a release labeled preview or “notarization in progress” is not. Check the release notes if macOS displays a security warning.

  3. Open System Settings › Keyboard › Input Sources › Edit…, click + and add AIME under Chinese, Simplified. If it does not appear after the first install, log out and back in.

Build from source

The app runs on Apple silicon and Intel Macs; the aime CLI is Apple silicon only for now.

AIME runs on macOS 15+ (the Apple on-device model needs macOS 26+). Building from source requires Xcode 26+ (macOS 15.6+) and XcodeGen (brew install xcodegen).

git clone https://github.com/zoolapp/aime.git && cd aime
bash scripts/install-dev.sh

The script downloads and verifies pinned librime and rime-ice releases, builds the input method, the settings app and the CLI, installs to ~/Library/Input Methods/AIME.app and registers it.

Migrating from Squirrel

  1. Run "Sync user data" once in Squirrel so the frequency snapshots are current.

  2. In AIME Settings, choose Import on the Overview page, or use the CLI:

    ~/Library/Input\ Methods/AIME.app/Contents/Helpers/aime import-squirrel --dry-run   # preview
    ~/Library/Input\ Methods/AIME.app/Contents/Helpers/aime import-squirrel
    

The import is read-only — ~/Library/Rime is never modified. Your *.custom.yaml files are kept as they are in ~/Library/AIME/Rime/aime/imported/; changes made in the app live in a separate layer that takes precedence and can be reset at any time.

Architecture

flowchart LR
  subgraph IME["AIME.app · input method process"]
    C[IMKit controller] --> R[librime 1.17<br/>+ lua / octagram / predict]
    C --> P[Candidate window · AppKit]
  end
  S["AIME Settings.app · SwiftUI"] -- writes config layers --> U[(~/Library/AIME/Rime)]
  S -- deploy request --> IME
  R --> U
  Sq[(~/Library/Rime · read-only)] -. import .-> U

The settings app does not link librime; it reads and writes files and asks the input method to redeploy through distributed notifications. Every setting is composed from three layers: AIME defaults → hand-written patches → changes made in the app. See Architecture and the decision records.

Development

bash scripts/fetch-librime.sh && bash scripts/fetch-dicts.sh
swift build --package-path Packages/AIMEKit && bash scripts/stage-plugins.sh
swift test --package-path Packages/AIMEKit
xcodegen generate && open AIME.xcodeproj

Performance gate: aime bench --schema rime_ice --keys nihaoshijie --iterations 2000 --assert-p99-ms 5. See CONTRIBUTING.md for contributing, docs/releasing.md for releases, and report security issues privately as described in SECURITY.md.

Documentation and participation

The documentation index collects usage, configuration, development and distribution guides. Report reproducible problems in Issues, read the contribution guide for code changes, and contribute public word lists to aime-dicts. Share schemas, themes and typing habits using synthetic examples; keep personal word frequencies and full configuration directories out of reports.

Privacy

Input is processed on your Mac; AIME writes no input logs, never uploads pinyin, candidates or learned frequencies, and ships no analytics or crash-reporting SDKs. Subscribed online vocabularies are fetched from their public URLs at the interval you choose; the update check fetches a public release manifest once a day (can be turned off). Text reaches an AI model only when you run an AI action: Apple's on-device model runs locally but depends on device, settings and region (currently unavailable for devices or Apple accounts from mainland China); a cloud endpoint you configure yourself must be explicitly allowed to receive text and may be billed by its provider. See Privacy.

Roadmap

  • librime frontend, candidate window, CLI, developer install and CI
  • Visual settings, appearance preview, per-app options, snippets and custom phrases
  • Official online vocabulary catalogue, schema packages (pinned versions, SHA-256)
  • Quick menu, AI actions (on-device / bring your own endpoint), draft layer
  • Input statistics, first-run guide, local backup and restore
  • Developer ID signing, notarization and automatic updates
  • Vertical text orientation, candidate paging indicator
  • Reproducible librime builds from source

Contributors

Thanks to everyone who helps build AIME: anyone who has opened a pull request is listed here.

@foru17 @miantiao-me @takeshi264 @zo-no @neozheng-dev

Acknowledgements

RIME / librime · Squirrel · rime-ice · rime_wanxiang · rime-frost · rime-essay · OpenCC · Yams

License

AIME's original code is released under the MIT License. The installer also contains GPL-3.0 components — the native librime-octagram plugin and the rime-ice schemas, word lists and Lua scripts — so the installer as a whole is distributed under the terms of GPL-3.0, while the original source stays MIT (MIT is GPL-compatible). Every release ships the corresponding source archive. AIME's online word lists are CC BY 4.0. Other third-party components are listed in THIRD_PARTY_NOTICES.md, and the native plugin licence review is in docs/native-plugin-license-audit.md.

Published and maintained by ZOOL LLC · Developed by Luo Lei (@foru17) · AIME and 艾么输入法 are product names of ZOOL LLC

For troubleshooting and diagnostic exports, see the troubleshooting guide (Chinese).

Explore related projects

Loading…