BASE

Harper

Harper

Build / code quality tool · Free

A grammar checker with editor integrations and a library: it helps check English documentation and UI text on your own device.

Also known as: automattic/harper; harper; grammar-checker-for-developers

Resource illustration: Harper

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Check English documentation text locally
  • Inspect suggestions and accept changes that preserve technical meaning

Example workflow

A possible workflow; this is not a report of hands-on testing.

Check English documentation text locally.

Before you start

  • A repository, package manifests, and configuration.
  • A compatible runtime and the target build command.

Steps

  1. Choose a document or UI text for grammar checking.
  2. Inspect suggestions and accept changes that preserve technical meaning.
  3. Add the workflow to scripts or CI with a clear report.

Check your result

  • A clean copy of the project reproduces the result.
  • Errors produce a nonzero exit code and clear diagnostics.

Choosing Harper

Check English documentation text locally

Choose this when

  • Check English documentation text locally
  • Inspect suggestions and accept changes that preserve technical meaning

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.
  • Grammar checking currently supports only English. isolateEnglish for mixed-language text is labeled new and unstable; maxFileLength limits checked file length.

Frequently asked questions

What can you use for free in Harper?

Code and local use under Apache-2.0.

What additional costs might arise with Harper?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Harper?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Harper?

Choose a document or UI text for grammar checking. Inspect suggestions and accept changes that preserve technical meaning. Add the workflow to scripts or CI with a clear report.

How can I prevent project names from being treated as spelling errors?

harper-ls combines user, workspace, file-local, and static dictionaries; the workspace dictionary is stored in .harper-dictionary.txt. Code actions add a word to the required dictionary or ignore a lint for the session. Markdown and supported-language comments are checked; individual comment blocks can be disabled with harper:ignore markers.

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Harper
  • build
  • Development

Sources

Other resources