{"id":48001756,"url":"https://github.com/y1lichen/ilimi-inputmethod","last_synced_at":"2026-04-04T12:23:30.930Z","repository":{"id":159932535,"uuid":"533267241","full_name":"y1lichen/ilimi-inputmethod","owner":"y1lichen","description":"蝦米輸入法","archived":false,"fork":false,"pushed_at":"2024-06-09T04:39:26.000Z","size":3177,"stargazers_count":26,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-10T16:44:47.325Z","etag":null,"topics":["inputmethod","inputmethodkit","macos"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/y1lichen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-09-06T10:10:12.000Z","updated_at":"2025-09-16T20:39:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"72abb078-b3a3-45c2-a5ed-705ee99b7999","html_url":"https://github.com/y1lichen/ilimi-inputmethod","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/y1lichen/ilimi-inputmethod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y1lichen%2Filimi-inputmethod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y1lichen%2Filimi-inputmethod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y1lichen%2Filimi-inputmethod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y1lichen%2Filimi-inputmethod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/y1lichen","download_url":"https://codeload.github.com/y1lichen/ilimi-inputmethod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y1lichen%2Filimi-inputmethod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31399784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["inputmethod","inputmethodkit","macos"],"created_at":"2026-04-04T12:23:30.411Z","updated_at":"2026-04-04T12:23:30.916Z","avatar_url":"https://github.com/y1lichen.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ilimi 一粒米輸入法\n要什麼工具就DIY，於是我……利用[InputMethodKit](https://developer.apple.com/documentation/inputmethodkit)開發的仿蝦米\n\n最低系統要求： macOS 13.0+ Ventura.\n\n---\n\n## 字檔說明\n\n⚠️ 因尚未釐清嘸蝦米版權問題，如同[肥米輸入法](https://github.com/shadowjohn/UCL_LIU)，一粒米輸入法暫不直接發布字根檔。 \n\n目前一粒米支援：\n1. 各版liu.cin\n2. 肥米輸入法的liu.json\n3. liu-uni.tab\n\n歡迎發信至  *y1lichen@icloud.com*  或是依照肥米輸入法的說明生成liu.json檔案。\n\n## 安裝說明 \n\n建置方式有二：\n1. 感謝**威注音作者ShikiSuen**的協作，一粒米已有[安裝檔](https://github.com/y1lichen/ilimi-inputmethod/releases)可供下載。\n下載並執行完installer後請從「系統偏好設定」 \u003e 「鍵盤」 \u003e 「輸入方式」分頁加入輸入法。\n2. 目前repo內提供build.sh，使用方式如下：\n```\ngit clone https://github.com/y1lichen/ilimi-inputmethod.git\ncd ilimi-inputmethod\nchmod +x ./build.sh\n./build.sh\n``` \n\n**下載並啟用一粒米後，一定要點選menubar上一粒米選單的開啟使用者設定目錄，並將字檔放自動開啟之資料夾中，再點選匯入字檔**\n\n## 功能（未完成、仍持續新增）\n\n1. 一般輸入\n\n![一般輸入](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/demo01.gif)\n\n2. 打繁出簡\n輸入,,CT切換打繁出簡模\n\n![打繁出簡](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/demo02.gif)\n \n3. 加v、r、s等輔助選字\n4. 注音輸入\n\n![注音輸入](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/zhuyin_demo.gif)\n\n輸入';即可使用注音輸入\n\n5.  SP快打模式\n\n輸入,,sp可進入快打模式。若輸入字碼不是最簡碼會顯示該字最簡碼，並要求使用者重輸。\n\n最簡碼機制如下：\n- 使用liu-uni.tab字根檔：直接使用字根檔中之標注\n- 使用liu.cin、liu.json等字檔：尋找輸入文字之最簡字碼。若最簡字碼不只一者，則利用輸入這些最簡字碼時該文字的順位決定是否為最簡碼。 \n\n6. 英數模式\n\n使用CapsLock即可切換英數模式\n\n![英數模式](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/ascii_demo.gif)\n \n7. 反查注音、輸入碼\n\n輸入 **,,q** 可快速開啟反查注音/查碼畫面\n\n![反查](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/demo03.gif)\n\n8. 同音輸入\n\n輸入\\後再輸入文字，就會出現和輸入的字同音的字\n\n![同音輸入](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/demo04.gif)\n\n9. 全形模式\n\n輸入shift+空白鍵可以進入全形模式\n \n10.  自訂加詞\n![自訂加詞](https://github.com/y1lichen/ilimi-inputmethod/blob/main/media/custom_phrase_demo.png)\n\n## 可自定義項目\n\n- 選字窗字體大小\n- 選字窗樣式（直式、橫式）\n- 是否只顯示完全匹配輸入字碼之字元\n- 是否在沒有候選字時限制輸入（在沒候選字時按下enter可以直接輸入英文字母）\n- 是否在使用注音輸入後提示拆碼\n- 靜音模式（在輸入錯誤時發出beep）\n- 使用數字選字時的選字碼為0-8或1-9\n- 是否自動檢查更新\n\n## 備註\n\n- 因為直式選字窗scrollable的特性，候選字號碼並不完全依候選字窗頁數改變，因此只有在首頁時可以使用數字鍵選字。這對嘸蝦米輸入機制來說不會有太大影響。\n\n## Reference\n\n本專案的IMK機制參考 2.x 版本的[vChewing威注音](https://vchewing.github.io/README.html)，該專案的源碼對IMK許多函式有清楚註解\n\n[https://mzp.hatenablog.com/entry/2017/09/17/220320](https://mzp.hatenablog.com/entry/2017/09/17/220320)\n[https://arika.org/2022/04/02/macos-inputmethodkit/](https://arika.org/2022/04/02/macos-inputmethodkit/)\n\n---\n\n打繁出簡模式的「繁體字轉簡體字」程式碼是由[GBig](https://github.com/RockfordWei/GBig)修改而來，利用dictionary加速查找速度。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy1lichen%2Filimi-inputmethod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fy1lichen%2Filimi-inputmethod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy1lichen%2Filimi-inputmethod/lists"}