{"id":20929008,"url":"https://github.com/fcitx-contrib/fcitx5-macos","last_synced_at":"2026-02-14T20:08:35.479Z","repository":{"id":213894803,"uuid":"735112552","full_name":"fcitx-contrib/fcitx5-macos","owner":"fcitx-contrib","description":"Fcitx5 macOS edition 小企鹅输入法 macOS https://t.me/fcitx5macos qq: 874450150","archived":false,"fork":false,"pushed_at":"2026-02-06T23:33:43.000Z","size":1551,"stargazers_count":426,"open_issues_count":3,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-07T10:40:58.087Z","etag":null,"topics":["fcitx5","input-method","mozc","rime"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fcitx-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-23T17:53:01.000Z","updated_at":"2026-02-07T04:28:49.000Z","dependencies_parsed_at":"2024-01-20T02:09:51.211Z","dependency_job_id":"ad75f438-f09e-4370-90f4-f988da1ce5e5","html_url":"https://github.com/fcitx-contrib/fcitx5-macos","commit_stats":null,"previous_names":["fcitx-contrib/fcitx5-macos"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/fcitx-contrib/fcitx5-macos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcitx-contrib%2Ffcitx5-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcitx-contrib%2Ffcitx5-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcitx-contrib%2Ffcitx5-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcitx-contrib%2Ffcitx5-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcitx-contrib","download_url":"https://codeload.github.com/fcitx-contrib/fcitx5-macos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcitx-contrib%2Ffcitx5-macos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29454886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fcitx5","input-method","mozc","rime"],"created_at":"2024-11-18T21:02:08.749Z","updated_at":"2026-02-14T20:08:35.474Z","avatar_url":"https://github.com/fcitx-contrib.png","language":"Swift","funding_links":[],"categories":["输入法","Swift"],"sub_categories":["其他"],"readme":"English\n|\n[中文](README.zh-CN.md)\n\n# Fcitx5 macOS\n\n[Fcitx5](https://github.com/fcitx/fcitx5) input method framework ported to macOS.\n\nPlease download [installer](https://github.com/fcitx-contrib/fcitx5-macos-installer) and read [documentation](https://fcitx-contrib.github.io/docs/).\n\n## Build\nWhile the App runs on macOS \u003e= 13.3, native build on macOS \u003e= 15 is supported.\n\nThis is NOT an Xcode project,\nbut Xcode \u003e= 26 is needed for Swift compiler.\n\n### Install dependencies\nYou may use [nvm](https://github.com/nvm-sh/nvm)\nto install node, then\n\n```sh\nsudo xcode-select -s /Applications/Xcode.app/Contents/Developer\nbrew install cmake ninja extra-cmake-modules gettext librsvg\n./scripts/install-deps.sh\nnpm i -g pnpm\npnpm --prefix=fcitx5-webview i\n```\n\n### Build with CMake\n```sh\ngit apply --directory=fcitx5 patches/*\ncmake -B build/$(uname -m) -G Ninja -DCMAKE_BUILD_TYPE=Debug\ncmake --build build/$(uname -m)\nsudo cmake --install build/$(uname -m)\n```\nAfter the first time you execute `cmake --install`, you need to logout and login,\nthen add Fcitx5 in System Setttings -\u003e Keyboard -\u003e Input Sources, Chinese Simplified.\n\nFor installations afterwards, clicking `Restart` in Fcitx5 menu suffices.\n\nYou can also use `Cmd+Shift+B` in VSCode to execute a task.\n\n### Code sign\nSome features (e.g. notifications, core dump) require the app bundle be code-signed after installation:\n```sh\n./scripts/code-sign.sh\n```\n\n## Debug\n### Console.app\n* Check `Include Info Messages` and `Include Debug Messages` in `Action` menu.\n* Put `FcitxLog` in `Search`.\n\n### Log\n`/tmp/Fcitx5.log` contains all log in Console.app,\nplus those written to stderr by engines, e.g. rime.\n\n### lldb\nSSH into the mac from another device, then\n```sh\n$ /usr/bin/lldb\n(lldb) process attach --name Fcitx5\n```\n\n### Core dump\n```sh\nsudo chmod 1777 /cores\nsudo sysctl kern.coredump=1\nulimit -c unlimited  # only works for current shell\npkill Fcitx5; /Library/Input\\ Methods/Fcitx5.app/Contents/MacOS/Fcitx5\n```\n\nWhen Fcitx5 crashes, it creates a ~10GB core file under `/cores`.\n```sh\n/usr/bin/lldb -c /cores/core.XXXX\n(lldb) bt\n```\n\n## Plugins\nFcitx5 only packages keyboard engine.\nTo install other [engines or tables](https://github.com/fcitx-contrib/fcitx5-plugins),\nuse the built-in Plugin Manager.\n\n## Translation\n\n### Swift sources\nTo update .strings files for each supported locale, run\n```sh\ncmake --build build/$(uname -m) --target GenerateStrings\n```\n\nThis will, e.g., update assets/zh-Hans/Localizable.strings, and then the translator can work on it.\n\n### C++ sources\nFirst, create assets/po/base.pot file:\n```sh\ncmake --build build/$(uname -m) --target pot\n```\n\nTo add a new language, do\n```sh\ncd po \u0026\u0026 msginit -l \u003clocale\u003e\n```\n\nThen, use a PO file editor to translate strings.\n\nFinally, to merge new strings into PO files, do\n```sh\ncd po \u0026\u0026 msgmerge -U \u003clocale\u003e.po base.pot\n```\n\n## Credits\n* [fcitx5](https://github.com/fcitx/fcitx5): LGPL-2.1-or-later\n* [fcitx5-android](https://github.com/fcitx5-android/fcitx5-android): LGPL-2.1-or-later\n* [swift-cmake-examples](https://github.com/swiftlang/swift-cmake-examples): Apache-2.0\n* [AlertToast](https://github.com/elai950/AlertToast): MIT\n* [Linux](https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h): GPL-2.0-only WITH Linux-syscall-note\n* [webview](https://github.com/webview/webview): MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcitx-contrib%2Ffcitx5-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcitx-contrib%2Ffcitx5-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcitx-contrib%2Ffcitx5-macos/lists"}