/grammarly-for-developers

Grammarly's platform for adding AI-powered writing assistance to your apps.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Grammarly for Developers

Grammarly for Developers is Grammarly's platform that allows you to add Grammarly's real-time writing support to your apps. This repo is your go-to source for finding code examples, reporting issues, and chatting with the Grammarly for Developers community.

Grammarly for Developers

About the Text Editor SDK πŸ’»

The Text Editor SDK provides writing assistance to your end users across several dimensions, including:

  • Correctness - Eliminates grammar, spelling, and punctuation mistakes and ensures word choices sound natural and fluent.
  • Clarity - Makes every sentence concise and easy to follow and rewrites hard-to-read sentences.
  • Engagement - Chooses the most compelling words and uses varied, engaging sentence structure.
  • Delivery - Helps end users find the right tone, eliminates hedging language (to sound more confident), finesses phrases to have more tact and empathy for readers, and supports respectful and current language practices.

Trying the SDK

Try the demo to get a feel for the experience your users will have when you integrate Grammarly into your app.

You can also try the configurator to test different color, theme, and feature combinations. When you're happy with your configuration, copy the code blocks on the page directly into your project, or click the Share button to generate a URL that you can share with your friends and teammates.

Installing the SDK

Add our real-time writing assistance to your app with just a few lines of code.

Platform NPM package Description
JavaScript sdk-status Grammarly Text Editor SDK for JavaScript
React react-status Grammarly Text Editor SDK for React
Vue vue-status Grammarly Text Editor SDK for Vue 3 / Vue 2

GrammarlyGO beta in the Text Editor SDK

GrammarlyGO is a brand-new assistant available from Grammarly, powered by generative AI. If you're a developer, you can apply for the GrammarlyGO beta in the Text Editor SDK to add generative AI in your app in minutes, assisting your users with quick prompts for summarizing text or instant rewrites for length and tone. Apply for the beta now!

GrammarlyGO

βœ”οΈ For more information on GrammarlyGO, including information as it relates to other Grammarly products, check out GrammarlyGO: A New Generation in Writing.

Changelog

We typically release new versions of the SDK on Tuesdays. We occasionally release urgent patches on other days of the week. Check the changelog for when each version was released and a summary of what was included in each release.

Code examples πŸ§‘β€πŸ’»

This repo contains numerous code examples that you can use as you learn about the Grammarly Text Editor SDK. You can find all of the examples in the examples directory. Check out the examples readme for a summary of the examples.

Report an issue 🐞

If you've run into an issue or found a bug, you can report it by navigating to the Issues tab. Issues you report here are publicly available so that other members of the community can benefit from the discussion.

If you have an urgent issue or an issue that needs to remain private, you can open a support ticket.

Start a discussion πŸ’¬

You can start a discussion with the team and Grammarly for Developers community by navigating to the Discussions tab. This is your place to ask questions, discuss best practices, and connect with other like-minded developers.

Have a few minutes? πŸ‘‹ Say hello and let us know how you plan on using Grammarly in your app!

Social media πŸ‘

You can find Grammarly for Developers on social media. Be sure to follow us on your favorite platform so you don't miss an update!

Blog posts πŸ“•

The Grammarly for Developers blog is your go-to source for our latest announcements, updates, tutorials, stories, articles, and more. Read the latest posts below!

Other resources πŸ“–

Here are some other Grammarly for Developers resources: