{"id":30830251,"url":"https://github.com/nieyuyao/simple-ime","last_synced_at":"2026-03-02T04:05:24.980Z","repository":{"id":273352640,"uuid":"919030752","full_name":"nieyuyao/simple-ime","owner":"nieyuyao","description":"A simple web pinyin input method","archived":false,"fork":false,"pushed_at":"2026-02-28T03:18:57.000Z","size":4373,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-28T09:55:01.633Z","etag":null,"topics":["ime","input-method","pinyin","web-input-method"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nieyuyao.png","metadata":{"files":{"readme":"README-en.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":"2025-01-19T14:35:29.000Z","updated_at":"2026-02-28T03:19:01.000Z","dependencies_parsed_at":"2025-01-20T12:23:29.246Z","dependency_job_id":"871a571d-3e13-48ab-af42-977a42693ee4","html_url":"https://github.com/nieyuyao/simple-ime","commit_stats":null,"previous_names":["nieyuyao/cloud-input"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/nieyuyao/simple-ime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nieyuyao%2Fsimple-ime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nieyuyao%2Fsimple-ime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nieyuyao%2Fsimple-ime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nieyuyao%2Fsimple-ime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nieyuyao","download_url":"https://codeload.github.com/nieyuyao/simple-ime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nieyuyao%2Fsimple-ime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29992286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":["ime","input-method","pinyin","web-input-method"],"created_at":"2025-09-06T15:52:17.423Z","updated_at":"2026-03-02T04:05:24.973Z","avatar_url":"https://github.com/nieyuyao.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Simple Ime\n\n![CI](https://github.com/nieyuyao/simple-ime/workflows/CI/badge.svg)\n![latest tag](https://badgen.net/github/release/nieyuyao/simple-ime)\n![npm](https://img.shields.io/npm/v/simple-ime.svg)\n\nA simple browser tool to use Chinese Pinyin Input Method (IME).\n\n\u003cimg src=\"./public/demo.png\" width=\"400\" /\u003e\n\nCompared with [Goole Input tools](https://www.google.com/inputtools/try/), it carries a offline dictionary, so there is no need to connect the server to complete the pinyin conversion.\nAccordingly, due to the offline dictionary, the bundle cannot be very small. In addition, `iframe` is not supported.\n\n## Hotkeys\n\n| Hotkey | Description |\n| --- | --- |\n| ↑ | Page up |\n| ↓ | Page down |\n| + | Page up |\n| - | Page down |\n| ← | Switch to the previous candidate word |\n| → | Switch to the next candidate word  |\n| \u003c | Switch to the previous candidate word  |\n| \u003e | Switch to the next candidate word  |\n| Shift | Toggle En and pinyin |\n| Enter | Type the current result directly |\n| [ | Move the cursor on input of ime to left |\n| ] |  Move the cursor on input of ime to right |\n\n## Install\n\n\u003e npm install simple-ime\n\n## Usage\n\n```js\nimport { createSimpleIme } from 'simple-ime'\n\nconst ime = createSimpleIme()\n\n// turn on ime\nime.turnOn()\n\n// turn off ime\nime.turnOff()\n```\n\n## APIs\n\n### createSimpleIme\n\nCreate ime instance.\n\n`function createSimpleIme(): SimpleImeInstance`\n\n### SimpleImeInstance\n\n#### Properties:\n\n##### version\n\nVersion of ime.\n\n`version: string`\n\n#### Methods:\n\n##### turnOn\n\nTurn on the ime.\n\n`function turnOn(): void`\n\n##### turnOff\n\nTurn off the ime.\n\n`function turnOff(): void`\n\n##### toggleOnOff\n\nToggle the ime.\n\n`function toggleOnOff(): void`\n\n##### dispose\n\nDestroy the ime instance.\n\n`function dispose(): void`\n\n## Development\n\nRun `npm run dev` and then open browser.\n\n## Build\n\n```shell\nnpm run build\n```\n\n## Credits\n\n- The input part of the implementation is heavily inspired by [CloudInput](https://github.com/mzhangdev/CloudInput).\n- Thanks to [web-pinyin-ime](https://github.com/dongyuwei/web-pinyin-ime). It provides a way to generate dictionary and optimize query speed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnieyuyao%2Fsimple-ime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnieyuyao%2Fsimple-ime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnieyuyao%2Fsimple-ime/lists"}