{"id":13474944,"url":"https://github.com/huacnlee/autocorrect","last_synced_at":"2025-05-13T00:08:45.973Z","repository":{"id":38351464,"uuid":"267024149","full_name":"huacnlee/autocorrect","owner":"huacnlee","description":"A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).","archived":false,"fork":false,"pushed_at":"2025-04-26T11:50:42.000Z","size":7462,"stargazers_count":1398,"open_issues_count":14,"forks_count":47,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-12T06:17:00.644Z","etag":null,"topics":["autocorrect","copywriting","formatter","linter","lsp","rust","spellcheck","webassembly"],"latest_commit_sha":null,"homepage":"https://huacnlee.github.io/autocorrect","language":"Rust","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/huacnlee.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}},"created_at":"2020-05-26T11:26:24.000Z","updated_at":"2025-05-09T09:01:35.000Z","dependencies_parsed_at":"2023-12-27T07:27:02.439Z","dependency_job_id":"372a8ef2-2a95-4292-ba79-6c24ed026693","html_url":"https://github.com/huacnlee/autocorrect","commit_stats":{"total_commits":864,"total_committers":11,"mean_commits":78.54545454545455,"dds":0.02546296296296291,"last_synced_commit":"7ab5159aee6b16c78d17186734f5d63496bfbacb"},"previous_names":["huacnlee/auto-correct.rs"],"tags_count":126,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huacnlee","download_url":"https://codeload.github.com/huacnlee/autocorrect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253685240,"owners_count":21947309,"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":["autocorrect","copywriting","formatter","linter","lsp","rust","spellcheck","webassembly"],"created_at":"2024-07-31T16:01:16.131Z","updated_at":"2025-05-13T00:08:45.917Z","avatar_url":"https://github.com/huacnlee.png","language":"Rust","funding_links":[],"categories":["Rust","后端","Projects"],"sub_categories":["CI/CD"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/5518/194691346-13856309-266b-4bf6-b505-5a8b15d0c02e.png\"\n    alt=\"AutoCorrect Icon\" width=\"128\" height=\"128\" /\u003e\n  \u003ch1 align=\"center\"\u003eAutoCorrect\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/huacnlee/autocorrect/actions?query=workflow%3ACI\"\u003e\u003cimg src=\"https://github.com/huacnlee/autocorrect/workflows/CI/badge.svg\" alt=\"Go\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/huacnlee/autocorrect/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/huacnlee/autocorrect?label=CLI\u0026color=blue\" alt=\"GitHub release (latest by date)\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://hub.docker.com/r/huacnlee/autocorrect\"\u003e\u003cimg src=\"https://img.shields.io/docker/v/huacnlee/autocorrect?label=Docker\u0026color=blue\" alt=\"Docker Image Version (latest server)\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/autocorrect\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/autocorrect?color=1t\u0026label=Crate\" alt=\"Crates.io\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@huacnlee/autocorrect\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@huacnlee/autocorrect?color=1t\u0026label=NPM\" alt=\"NPM\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/autocorrect-py/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/autocorrect-py?color=1\u0026label=PyPI\" alt=\"PyPI version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://rubygems.org/gems/autocorrect-rb\"\u003e\u003cimg src=\"https://img.shields.io/gem/v/autocorrect-rb?color=1\u0026label=Gem\" alt=\"Gem Version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://repo1.maven.org/maven2/io/github/huacnlee/autocorrect-java/\"\u003e\u003cimg alt=\"Maven Central\" src=\"https://img.shields.io/maven-central/v/io.github.huacnlee/autocorrect-java?color=1\u0026label=Maven\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003e 🎯 AutoCorrect 的愿景是提供一套标准化的文案校正方案。以便于在各类场景（例如：撰写书籍、文档、内容发布、项目源代码...）里面应用，让使用者轻松实现标准化、专业化的文案输出 / 校正。\n\nAutoCorrect is a linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).\n\nLike Eslint, Rubocop and Gofmt ..., AutoCorrect allows us to check source code, and output as colorized diff with corrected suggestions. You can integrate to CI (GitLab CI, GitHub Action, Travis CI....) for use to check the contents in source code. Recognize the file name, and find out the strings and the comment part.\n\nAutoCorrect 是一个基于 Rust 编写的工具，用于「自动纠正」或「检查并建议」文案，给 CJK（中文、日语、韩语）与英文混写的场景，补充正确的空格，纠正单词，同时尝试以安全的方式自动纠正标点符号等等。\n\n类似 ESlint、Rubocop、Gofmt 等工具，AutoCorrect 可以用于 CI 环境，它提供 Lint 功能，能便捷的检测出项目中有问题的文案，起到统一规范的作用。\n\n支持各种类型源代码文件，能自动识别文件名，并准确找到字符串、注释做自动纠正。\n\n\u003e 此方案最早于 [2013 年](https://github.com/huacnlee/auto-correct/commit/47d7b7836f3e5f97dd31b5dc477eb0dbf8176e6b) 出现于 Ruby China 的项目，并逐步完善规则细节，当前准确率较高（极少数异常情况），你可以放心用来辅助你完成自动纠正动作。\n\n\u003cimg width=\"920\" alt=\"autocorrect lint output\" src=\"https://user-images.githubusercontent.com/5518/192738752-89a9e4f5-75cb-40af-b84d-04889d22e834.png\"\u003e\n\n## Features\n\n- Add spacing between CJK (Chinese, Japanese, Korean) and English words.\n- Correct punctuations into full-width near the CJK.\n- Correct punctuations into half-width in English content.\n- (Experimental) Spellcheck and correct words with your dictionary.\n- Lint checking and output diff or JSON result, so you can integrate everywhere (GitLab CI, GitHub Action, VS Code, Vim, Emacs...)\n- Allows using `.gitignore` or `.autocorrectignore` to ignore files that you want to ignore.\n- Support more than [28 file types](https://github.com/huacnlee/autocorrect/tree/main/autocorrect/grammar) (Markdown, JSON, YAML, JavaScript, HTML ...), use AST parser to only check for strings, and comments.\n- LSP server: [autocorrect-lsp](https://github.com/huacnlee/autocorrect/tree/main/autocorrect-lsp)\n- Cross-platform for Linux, macOS, Windows, and WebAssembly, and as Native SDK for programming (Node.js, JavaScript Browser, Ruby, Python, Java).\n\n## 典型应用场景\n\n- 撰写书籍、文档，新闻媒体等内容发布，应用于 Markdown、AsciiDoc、HTML 等文档场景，确保文案的标准化、专业化（案例：[MDN 项目](https://github.com/mdn/translated-content/pulls?q=is%3Apr+is%3Aclosed+author%3Ahuacnlee)、[少数派](https://sspai.com/search/post/AutoCorrect)）。\n- 集成 GitLab CI、GitHub Action、Travis CI 等 CI 环境，需要对项目进行自动化检查。\n- 集成到 Docusaurus、Hexo、Hugo、Jekyll、Gatsby 等静态网站生成器，在生成的时候自动格式化。\n- 利用语言支持的 SDK 集成到应用程序，在存储或输出网站内容的时候格式化，提升网站品质（如：[Ruby China](https://ruby-china.org)、[V2EX](https://www.v2ex.com)、[Longbridge](https://longportapp.com/news)）。\n- 作为 VS Code、Intellij Platform IDE（已支持）、Vim、Emacs (待实现) 插件，需要对文案进行检查（Linter \u0026 Formatter），依靠 LintResult 给出的（Annotator、Diagnostic）提示。\n- 基于 [WebAssembly](https://www.npmjs.com/package/@huacnlee/autocorrect) 实现，作为 Chrome、Safari 等浏览器插件，应用于任何网站（待实现）\n- 也可以集成到 WYSIWYG Editor 里面，例如（ProseMirror、CKEditor、Slate、Draft.js、Tiptap、Monaco Editor、CodeMirror 等）。\n\n## Installation\n\n\u003cdetails\u003e\n\u003csummary\u003eInstall on macOS\u003c/summary\u003e\n\nYou can install it via [Homebrew](https://brew.sh):\n\n```bash\n$ brew install autocorrect\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eInstall on Windows\u003c/summary\u003e\n\nYou can install it via [Scoop](https://scoop.sh):\n\n```bash\n$ scoop install autocorrect\n```\n\n\u003c/details\u003e\n\nOr you can just install it via this on Unix-like system:\n\n```bash\n$ curl -sSL https://git.io/JcGER | sh\n```\n\nAfter that, you will get `autocorrect` command.\n\n```bash\n$ autocorrect -V\nAutoCorrect 2.4.0\n```\n\nOr install NPM:\n\n```bash\n$ yarn add autocorrect-node\n$ yarn autocorrect -V\n```\n\n## Upgrade\n\n\u003e Since: 1.9.0\n\nAutoCorrect allows you to upgrade itself by `autocorrect update` command.\n\n```bash\n$ autocorrect update\n```\n\n\u003e NOTE: This command need you input your password, because it will install bin into `/usr/local/bin` directory.\n\n## Usage\n\n- [Use in CLI](#use-in-cli)\n- [Use in NPM](#use-in-npm)\n- [Configuration](#configuration)\n- [VS Code Extension](#vs-code-extension)\n- [Zed extension](https://github.com/huacnlee/zed-autocorrect)\n- [Intellij Platform Plugin](#intellij-platform-plugin)\n- [GitHub Action](#github-action)\n- [GitLab CI](#gitlab-ci)\n- [Work with ReviewDog](#work-with-reviewdog)\n- [Use for programming](#use-for-programming)\n\n### Use in CLI\n\n```bash\n$ autocorrect text.txt\n你好 Hello 世界\n\n$ echo \"hello世界\" | autocorrect --stdin\nhello 世界\n\n$ autocorrect --fix text.txt\n$ autocorrect --fix zh-CN.yml\n$ autocorrect --fix\n```\n\n#### Lint\n\n```bash\n$ autocorrect --lint --format json text.txt\n\n$ autocorrect --lint text.txt\n```\n\n```diff\nError: 1, Warning: 0\n\ntext.txt:1:3\n-你好Hello世界\n+你好 Hello 世界\n```\n\nYou also can lint multiple files:\n\n```bash\n$ autocorrect --lint\n```\n\nHow to lint all changed files in Git:\n\n```bash\n$ git diff --name-only | xargs autocorrect --lint\n```\n\n### Use in NPM\n\n\u003e since: 2.7.0\n\nAutoCorrect has been published in NPM with CLI command support. If you want to use it in Frontend or Node.js project, you can just install `autocorrect-node` package for without install AutoCorrect bin.\n\n```bash\ncd your-project\nyarn add autocorrect-node\n```\n\nNow you can run `yarn autocorrect` command in your project. This command is same as `autocorrect` command.\n\n```bash\n$ yarn autocorrect -h\n```\n\nMore docs: [autocorrect-node/README.md](autocorrect-node/README.md)\n\n### Configuration\n\n\u003e Default config: [.autocorrect.default](https://github.com/huacnlee/autocorrect/blob/main/autocorrect/.autocorrectrc.default)\n\n```bash\n$ autocorrect init\nAutoCorrect init config: .autocorrectrc\n```\n\n\u003e NOTE: If you download fail, try to use `autocorrect init --local` command again.\n\nNow the `.autocorrectrc` file has been created.\n\n\u003e .autocorrectrc is allows use YAML, JSON format.\n\nConfig file example:\n\n```yml\n# yaml-language-server: $schema=https://huacnlee.github.io/autocorrect/schema.json\n# Config rules\nrules:\n  # Auto add spacing between CJK (Chinese, Japanese, Korean) and English words.\n  # 0 - off, 1 - error, 2 - warning\n  space-word: 1\n  # Add space between some punctuations.\n  space-punctuation: 1\n  # Add space between brackets (), [] when near the CJK.\n  space-bracket: 1\n  # Add space between ``, when near the CJK.\n  space-backticks: 1\n  # Add space between dash `-`\n  space-dash: 0\n  # Add space between dollar $ when near the CJK.\n  space-dollar: 0\n  # Convert to fullwidth.\n  fullwidth: 1\n  # To remove space near the fullwidth.\n  no-space-fullwidth: 1\n  # Fullwidth alphanumeric characters to halfwidth.\n  halfwidth-word: 1\n  # Fullwidth punctuations to halfwidth in english.\n  halfwidth-punctuation: 1\n  # Spellcheck\n  spellcheck: 2\n# Enable or disable in a specific context\ncontext:\n  # Enable or disable to format codeblock in Markdown or AsciiDoc etc.\n  codeblock: 1\ntextRules:\n  # Config special rules for some texts\n  # For example, if we wants to let \"Hello你好\" just warning, and \"Hi你好\" to ignore\n  # \"Hello你好\": 2\n  # \"Hi你好\": 0\nfileTypes:\n  # Config the files associations, you config is higher priority than default.\n  # \"rb\": ruby\n  # \"Rakefile\": ruby\n  # \"*.js\": javascript\n  # \".mdx\": markdown\nspellcheck:\n  # Correct Words (Case insensitive) for by Spellcheck\n  words:\n    - GitHub\n    - App Store\n    # This means \"appstore\" into \"App Store\"\n    - AppStore = App Store\n    - Git\n    - Node.js\n    - nodejs = Node.js\n    - VIM\n    - DNS\n    - HTTP\n    - SSL\n```\n\n#### Ignore option\n\n\u003e Since: 2.2.0\n\nWhen you want to config some special words or texts to ignore on format or lint.\n\nThe `textRules` config may help you.\n\nFor example, we want:\n\n- `Hello世界` - To just give a warning.\n- `Hi你好` - To ignore.\n\nUse can config:\n\n```yml\ntextRules:\n  Hello世界: 2\n  Hi你好: 0\n```\n\nAfter that, AutoCorrect will follow your `textRules` to process.\n\n#### Ignore files\n\n**Use `.autocorrectignore` to ignore files**\n\nSometimes, you may want to ignore some special files that not want to check.\n\nBy default, the file matched `.gitignore` rule will be ignored.\n\nYou can also use `.autocorrectignore` to ignore other files, format like `.gitignore`.\n\n#### Disable by inline comment\n\nIf you just want to disable some special lines in a file, you can write a comment `autocorrect-disable`,\nwhen AutoCorrect matched the comment include that, it will disable temporarily.\n\nAnd then, you can use `autocorrect-enable` to reopen it again.\n\nFor example, in JavaScript:\n\n```js\nfunction hello() {\n  // autocorrect-disable\n  console.log(\"现在这行开始autocorrect会暂时禁用\");\n  console.log(\"这行也是disable的状态\");\n  // autocorrect-enable\n  let a = \"现在起autocorrect回到了启用的状态\";\n}\n```\n\nThe output will:\n\n```js\nfunction hello() {\n  // autocorrect-disable\n  console.log(\"现在这行开始autocorrect会暂时禁用\");\n  console.log(\"这行也是disable的状态\");\n  // autocorrect-enable\n  let a = \"现在起 autocorrect 回到了启用的状态\";\n}\n```\n\n#### Disable some rules\n\n\u003e Since: 2.0\n\nYou can use `autocorrect-disable \u003crule\u003e` in a comment to disable some rules.\n\n\u003e Rule names please see: [Configuration](#configuration)\n\n```js\nfunction hello() {\n  // autocorrect-disable space-word\n  console.log(\"现在这行开始autocorrect会暂时禁用.\");\n  // autocorrect-disable fullwidth\n  console.log(\"这行也是disable的状态.\");\n  // autocorrect-enable\n  let a = \"现在起autocorrect回到了启用的状态.\";\n}\n```\n\nWill get:\n\n```js\nfunction hello() {\n  // autocorrect-disable space-word\n  console.log(\"现在这行开始autocorrect会暂时禁用。\");\n  // autocorrect-disable fullwidth, space-word\n  console.log(\"这行也是disable的状态.\");\n  // autocorrect-enable\n  let a = \"现在起 autocorrect 回到了启用的状态。\";\n}\n```\n\n### VS Code Extension\n\n[![Install Extension](https://img.shields.io/badge/Install%20Extension-VS%20Code-brightgreen)](https://marketplace.visualstudio.com/items?itemName=huacnlee.autocorrect)\n\nhttps://marketplace.visualstudio.com/items?itemName=huacnlee.autocorrect\n\nScreenshot:\n\n\u003cimg width=\"900\" alt=\"AutoCorrect for VS Code Extension\" src=\"https://user-images.githubusercontent.com/5518/191890126-4e0c99dc-91ce-4262-a774-3813a636eea1.png\"\u003e\n\n### Intellij Platform Plugin\n\n[![](https://img.shields.io/badge/Plugin-Intellij%20Platform-brightgreen)](https://plugins.jetbrains.com/plugin/20244-autocorrect)\n\n\u003cimg width=\"900\" alt=\"AutoCorrect for Intellij Platform Plugin\" src=\"https://user-images.githubusercontent.com/5518/198998494-82d017f1-40c1-4622-b13f-f67cfecd284a.png\"\u003e\n\nhttps://github.com/huacnlee/autocorrect-idea-plugin\n\n### GitHub Action\n\nhttps://github.com/huacnlee/autocorrect-action\n\nAdd to your `.github/workflows/ci.yml`\n\n```yml\nsteps:\n  - name: Check source code\n    uses: actions/checkout@v4\n\n  - name: AutoCorrect\n    uses: huacnlee/autocorrect-action@main\n```\n\n### GitLab CI\n\nAdd to your `.gitlab-ci.yml`, to use [huacnlee/autocorrect](https://hub.docker.com/r/huacnlee/autocorrect) Docker image to check.\n\n```yml\nautocorrect:\n  stage: build\n  image: huacnlee/autocorrect:latest\n  script:\n    - autocorrect --lint\n  # Enable allow_failure if you wants.\n  # allow_failure: true\n```\n\n### Work with ReviewDog\n\n\u003e Since: 2.8.0\n\nAutoCorrect can work with [reviewdog](https://github.com/reviewdog/reviewdog), so you can use it in CI/CD. ReviewDog will post a comment to your PR with the AutoCorrect change suggestions. Then the PR committer can easy to accept the suggestions.\n\nUse `--format rdjson` option to output the lint results as the [reviewdog](https://github.com/reviewdog/reviewdog) supported format.\n\n```bash\nautocorrect --lint --format rdjson | reviewdog -f=rdjson -reporter=github-pr-review\n```\n\nUse [huacnlee/autocorrect-action](https://github.com/huacnlee/autocorrect-action) can help you setup GitHub Action.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/5518/257680682-050d6f62-d461-44fc-a22f-2fb581ba0912.png\" width=\"640\" /\u003e\n\n### Use for programming\n\nAutoCorrect makes for support use in many programming languages.\n\n- Rust - [autocorrect](https://crates.io/crates/autocorrect)\n- Ruby - [autocorrect-rb](https://rubygems.org/gems/autocorrect-rb)\n- Go - [autocorrect-go](https://pkg.go.dev/github.com/longbridge/autocorrect)\n- Python - [autocorrect-py](https://pypi.org/project/autocorrect-py/)\n- Node.js - [autocorrect-node](https://www.npmjs.com/package/autocorrect-node)\n- JavaScript (Browser) - [autocorrect-wasm](https://www.npmjs.com/package/@huacnlee/autocorrect)\n- Java - [autocorrect-java](https://mvnrepository.com/artifact/io.github.huacnlee/autocorrect-java)\n\n## Benchmark\n\n\u003e MacBook Pro (13-inch, Apple M3, 2023)\n\nUse `make bench` to run benchmark tests.\n\nSee [autocorrect/src/benches/example.rs](https://github.com/huacnlee/autocorrect/blob/main/autocorrect/src/benches/example.rs) for details.\n\n```bash\nformat_050              time:   [4.9991 µs 5.0175 µs 5.0382 µs]\nformat_100              time:   [8.7714 µs 8.8236 µs 8.8896 µs]\nformat_400              time:   [23.535 µs 23.591 µs 23.666 µs]\nformat_html             time:   [332.87 µs 334.00 µs 335.37 µs]\nhalfwidth_english       time:   [1.2051 µs 1.2079 µs 1.2110 µs]\nformat_json             time:   [54.019 µs 54.345 µs 54.855 µs]\nformat_javascript       time:   [176.61 µs 181.64 µs 187.20 µs]\nformat_json_2k          time:   [9.3245 ms 9.3768 ms 9.4390 ms]\nformat_jupyter          time:   [200.77 µs 204.93 µs 210.91 µs]\nformat_markdown         time:   [1.2216 ms 1.2246 ms 1.2283 ms]\n\nspellcheck_50           time:   [1.2098 µs 1.2162 µs 1.2234 µs]\nspellcheck_100          time:   [2.2592 µs 2.3049 µs 2.3861 µs]\nspellcheck_400          time:   [7.7480 µs 7.9111 µs 8.1764 µs]\n\nlint_markdown           time:   [1.2704 ms 1.2883 ms 1.3173 ms]\nlint_json               time:   [58.696 µs 60.847 µs 63.484 µs]\nlint_html               time:   [448.53 µs 486.95 µs 534.01 µs]\nlint_javascript         time:   [177.00 µs 177.88 µs 178.69 µs]\nlint_yaml               time:   [378.35 µs 382.30 µs 387.85 µs]\nlint_to_json            time:   [1.2629 ms 1.2689 ms 1.2769 ms]\nlint_to_diff            time:   [1.3255 ms 1.3288 ms 1.3327 ms]\n```\n\n### Real world benchmark\n\nWith [MDN Translated Content](https://github.com/mdn/translated-content) project, it has about 30K files.\n\n```bash\n~/work/translated-content $ autocorrect --fix\nAutoCorrect spend time: 8402.538ms\n```\n\n## Other Extensions\n\nThe other implementations from the community.\n\n- [prettier-plugin-autocorrect](https://github.com/un-ts/prettier/tree/master/packages/autocorrect)\n- [autocorrect-popclip](https://github.com/TomBener/autocorrect-popclip)\n- [autocorrect-markdown.vim](https://github.com/aisensiy/dotfiles/blob/master/nvim/after/ftplugin/markdown.vim)\n- [obsidian-autocorrect](https://github.com/b-yp/obsidian-autocorrect)\n\n## User cases\n\n- [MDN Web Docs](https://developer.mozilla.org/zh-CN)\n- [Apache APISIX](https://apisix.apache.org/zh)\n- [Rust Book CN](https://kaisery.github.io/trpl-zh-cn)\n- [Ruby China](https://ruby-china.org)\n- [JuiceFS](https://juicefs.com)\n- [GreptimeDB](https://greptime.com)\n\n## License\n\nThis project under MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuacnlee%2Fautocorrect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuacnlee%2Fautocorrect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuacnlee%2Fautocorrect/lists"}