{"id":16200551,"url":"https://github.com/antonoko/playdate-chinese-ime","last_synced_at":"2025-08-21T05:35:52.278Z","repository":{"id":233805015,"uuid":"784224665","full_name":"Antonoko/playdate-chinese-IME","owner":"Antonoko","description":"a high efficiency Chinese/English input method on playdate","archived":false,"fork":false,"pushed_at":"2024-05-29T14:08:48.000Z","size":27146,"stargazers_count":101,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-15T04:32:40.642Z","etag":null,"topics":["playdate"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Antonoko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-09T12:39:29.000Z","updated_at":"2025-04-17T08:48:55.000Z","dependencies_parsed_at":"2024-08-04T04:06:17.338Z","dependency_job_id":"13913e6d-dbca-447b-8c52-c67c5a57e834","html_url":"https://github.com/Antonoko/playdate-chinese-IME","commit_stats":null,"previous_names":["antonoko/playdate-chinese-ime"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Antonoko/playdate-chinese-IME","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonoko%2Fplaydate-chinese-IME","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonoko%2Fplaydate-chinese-IME/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonoko%2Fplaydate-chinese-IME/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonoko%2Fplaydate-chinese-IME/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antonoko","download_url":"https://codeload.github.com/Antonoko/playdate-chinese-IME/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonoko%2Fplaydate-chinese-IME/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271430942,"owners_count":24758427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["playdate"],"created_at":"2024-10-10T09:31:28.258Z","updated_at":"2025-08-21T05:35:52.261Z","avatar_url":"https://github.com/Antonoko.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"![header.jpg](https://github.com/Antonoko/playdate-chinese-IME/blob/main/__asset__/github_header.png?raw=true)\n\n# Chinese/English IME for Playdate | 中英文输入法\n\n这是一个可以在 Playdate 上以较高效率输入中文与英文的输入法。\n\n支持功能：中文双拼单字输入、emoji 与快捷短语、英文与数字键盘、输入光标滚动。\n\n提供了一个便签应用作为使用示例，你可以在 [release](https://github.com/Antonoko/playdate-chinese-IME/releases/tag/notes) 中下载后 sideload 体验。你也可以把输入法嵌入到你的游戏或应用中进行使用。\n\nThis is an input method that can input Chinese and English with high efficiency on Playdate.\n\nSupported functions: Chinese double-pin single word input, emoji and shortcut phrases, English and numeric keyboard, input cursor scrolling.\n\nA Notes application is provided as a usage example. You can download it in [release](https://github.com/Antonoko/playdate-chinese-IME/releases/tag/notes) and sideload on your Playdate to experience. You can also embed the input method into your game or application.\n\n![CustomSkin.jpg](https://github.com/Antonoko/playdate-chinese-IME/blob/main/__asset__/CustomSkin.png?raw=true)\n\n## 如何使用 notes 与电脑端的同步编辑工具？\n![sync-tool-screenshot.png](https://github.com/Antonoko/playdate-chinese-IME/blob/main/__asset__/sync-tool-screenshot.png?raw=true)\n1. 安装 [python](https://www.python.org/downloads/release/python-3119/)\n2. 在 GitHub 顶部 `Code` 按钮中点击 `Download ZIP`\n3. 解压后，进入目录 `sync-tool`\n4. 在目录下执行命令：`pip install -r requirements.txt`，安装所需依赖\n5. 在目录下执行 `python sync.py` 打开工具\n\ntips:\n- 在 excel 中编辑时，需要换行地方可以写 `\\n`\n\n## How to embed IME into your app\n1. Duplicate files under `source` to your project directory;\n2. Code snippet reference:\n```lua\nimport 'ime'\n\n-- initialization IME\nlocal zh_ime = IME()\n\n--Start calling the IME method\n--IME:startRunning(header_hint, ui_lang, text_area_custom, keyboard_init)\n-- header_hint: Title hint, string\n-- ui_lang: You can specify the prompt title and UI language during input(zh/en)\n-- text_area_custom: Character-by-character table\n-- keyboard_init: Specified init keyboard as \"zh\", \"en\", \"num\"\n\nzh_ime:startRunning(\"Input your text\", \"en\", {\"s\",\"a\",\"m\",\"p\",\"l\",\"e\"}, \"en\")\n--zh_ime:startRunning(\"请输入笔记\", \"zh\", {\"示\",\"例\",\"文\",\"本\"}, \"zh\")\n\nfunction playdate.update()\n    gfx.sprite.update()\n\n    -- Put it in update to continue receiving user input\n    if zh_ime:isRunning() then   -- Ends when the user submits/exits the input method\n        -- text_input: user's input content, return as split table\n        text_input = zh_ime:update()\n    else\n        print(\"user input:\"..concatenateStrings(text_input))\n        print(\"is user discard:\"..zh_ime:isUserDiscard())   -- Check whether the user submitted the content normally or discarded it\n    end\nend\n```\n\n## Known issues\n- 可能性能不佳\n\n## Features wish to add\n- [x] 实现一个简单的排版引擎来处理文本换行；\n- [x] 通过 menu 切换文本编辑与光标编辑模式，支持光标移动修改；\n- [x] 支持滚动编辑与显示；\n- [ ] 支持限制输入字数；\n- [x] 添加默认的进出入动画；\n- [ ] 优化提升性能；\n\n## Thanks\n\n- 汉语拼音辞典：https://github.com/mapull/chinese-dictionary\n- Playdate 中文支持项目：https://github.com/Antonoko/Chinese-font-for-playdate","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonoko%2Fplaydate-chinese-ime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonoko%2Fplaydate-chinese-ime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonoko%2Fplaydate-chinese-ime/lists"}