{"id":16296846,"url":"https://github.com/windomz/cn-translator-cli","last_synced_at":"2026-04-26T22:31:44.957Z","repository":{"id":57201676,"uuid":"84637859","full_name":"WindomZ/cn-translator-cli","owner":"WindomZ","description":"Translator for Chinese command-line interfaces","archived":false,"fork":false,"pushed_at":"2017-03-23T01:50:05.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T17:42:18.046Z","etag":null,"topics":["chinese-translation","cli","cli-app","nodejs","translate","translator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/WindomZ.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}},"created_at":"2017-03-11T09:15:53.000Z","updated_at":"2023-02-13T19:35:37.000Z","dependencies_parsed_at":"2022-09-17T06:21:36.678Z","dependency_job_id":null,"html_url":"https://github.com/WindomZ/cn-translator-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fcn-translator-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fcn-translator-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fcn-translator-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fcn-translator-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WindomZ","download_url":"https://codeload.github.com/WindomZ/cn-translator-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248049197,"owners_count":21039172,"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","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":["chinese-translation","cli","cli-app","nodejs","translate","translator"],"created_at":"2024-10-10T20:24:10.979Z","updated_at":"2026-04-26T22:31:44.951Z","avatar_url":"https://github.com/WindomZ.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cn-translator-cli\nTranslator for Chinese command-line interfaces\n\n![v0.1.2](https://img.shields.io/badge/version-v0.1.2-orange.svg)\n![status](https://img.shields.io/badge/status-beta-yellow.svg)\n\nInspired by \u003c[axetroy/translate-cli](https://github.com/axetroy/translate-cli)\u003e\n\n## Installation\n\n```bash\nnpm install -g cn-translator-cli\n```\n\n## Usage\n\n**tfc** is short for *Translator for Chinese*\n\n```bash\n$ tfc -h\n\n  Usage: tfc [options] [contents...]\n\n  translator for Chinese\n\n  Options:\n\n    -h, --help                 output usage information\n    -V, --version              output the version number\n    -f, --from \u003clang\u003e          From Language, short locale name(e.g. en, zh)\n    -t, --to \u003clang\u003e            To Language, short locale name(e.g. zh, en)\n    -p, --platform \u003cplatform\u003e  Translation platform(e.g. baidu, youdao, google\n```\n\n## Example\n\n```bash\n$ tfc 你好世界\n# \u003e\u003e\u003e Hello world\n\n$ tfc 'Hello world'\n# \u003e\u003e\u003e 你好世界\n```\n\n## License\n\nThe [MIT License](https://github.com/WindomZ/cn-translator-cli/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindomz%2Fcn-translator-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindomz%2Fcn-translator-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindomz%2Fcn-translator-cli/lists"}