From what I gather, it's based on reversed engineered API, and I'm not sure how this would work on free accounts. I'd probably need to use use-package and I'm not sure 100% how ( used it once before).
Do you have use-package set up already?
If you do, probably something like this in your emacs config file:
(defun test-on-message (data)
"On message callback with DATA."
(message "[DATA] %s" data))
(setq grammarly-username "email@example.com") ; Your Grammarly Username
(setq grammarly-password "password") ; Your Grammarly Password
;; Set callback for receiving data.
(add-to-list 'grammarly-on-message-function-list 'test-on-message))
(Caveat: haven't tried it yet.)
If you haven't set up use-package yet, maybe (also)add something like this near the beginning of your emacs config file:
;; package setup
(setq package-enable-at-startup nil)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
'(("GNU ELPA" . "https://elpa.gnu.org/packages/")
;; ("NonGNU" . "https://elpa.nongnu.org/nongnu/")
("ORG" . "https://orgmode.org/elpa/")
("MELPA Stable" . "https://stable.melpa.org/packages/")
("MELPA" . "https://melpa.org/packages/"))
'(("ORG" . 20)
("MELPA" . 15)
("MELPA Stable" . 10)
;; ("NonGNU" . 3)
("GNU ELPA" . 5)))
;; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
@shom I don't like using them. I have a dedicated junk account and I fill up captcha each time.
The closest thing, language tools, is not as good imo.
I too would love to hear if others have better suggestions.
@shom I'll check it out. I miss certain things that I'm blind too so it's a must for me (plural vs singular, some tenses, typos such as read and reed etc...)
@jrss just noticed in the lsp-mode 8.0.0 announcement that they now have a grammarly language server. https://emacs-lsp.github.io/lsp-mode/page/lsp-grammarly/
@shom I'll need to dig more into this whole thing. I have a somewhat annoying workflow with grammarly at the moment, but it works. I need to put my head together and see what this integration does.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!