{"id":19517978,"url":"https://github.com/henrybarreto/languagetool-lsp","last_synced_at":"2025-04-26T07:30:30.185Z","repository":{"id":134428146,"uuid":"547859624","full_name":"henrybarreto/languagetool-lsp","owner":"henrybarreto","description":"LanguageTool Language Server is an implementation of Language Server Protocol to enable proofreading/text analysis like great IDEs to any text editor what supports LSP using the LanguageTool","archived":true,"fork":false,"pushed_at":"2022-10-10T22:01:05.000Z","size":15,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T17:12:16.329Z","etag":null,"topics":["hackertoberfest","languagetool","lsp","nvim","proofread","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/henrybarreto.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}},"created_at":"2022-10-08T12:42:36.000Z","updated_at":"2024-05-12T11:06:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab91b85c-aa39-43b7-82ea-c8a9d102e9b4","html_url":"https://github.com/henrybarreto/languagetool-lsp","commit_stats":null,"previous_names":["henrybarreto/languagetool-lsp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrybarreto%2Flanguagetool-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrybarreto%2Flanguagetool-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrybarreto%2Flanguagetool-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrybarreto%2Flanguagetool-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrybarreto","download_url":"https://codeload.github.com/henrybarreto/languagetool-lsp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250952977,"owners_count":21513216,"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":["hackertoberfest","languagetool","lsp","nvim","proofread","vscode"],"created_at":"2024-11-11T00:07:47.473Z","updated_at":"2025-04-26T07:30:29.890Z","avatar_url":"https://github.com/henrybarreto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LanguageTool Language Server\n\nLanguageTool Language Server is an implementation of [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) to enable proofreading/text analysis like great IDEs to any text editor what supports LSP using the [LanguageTool](https://github.com/languagetool-org/languagetool), a multilingual grammar, style, and spell checker what is used by millions of people around the world.\n\n## Features\n\n- [ ] check for errors in the file\n    - [x] check for errors in strings \n      - [x] `\"\"`\n      - [x] `''` \n      - [x] ` \\`` `\n      - add more...\n    - [x] check for errors in comments \n      - [x] `//`\n      - [x] `/* */`\n      - add more...\n- [ ] use suggestions to text fix\n- [ ] add and remove words from dictionary\n\n\n## Commands \n\nBuilding the project to test requires that you run the `build` script. It will convert the Typescripts files on `src/` to JavaScript on `build/` and runnable on NodeJS vanilla.\n\n```sh\nnpm run build\n```\n\nIf you are working on the Typescript files, you should want to build it automatically, so run the `dev` command, what will generate, on each change, the files on `build/` folder.\n\n```sh\nnpm run dev\n```\n\nAs it uses the LanguageTool as the service to perform the text analysis, so you should have a [clone](https://microsoft.github.io/language-server-protocol/) of its project inside the `bin/` folder. Check the NPM 's `server` command on `package.json` file to more information. This command will start a new server of LanguageTool to receive the requests sent by LLS.\n\n```sh\nnpm run server\n```\n\nIn order maintain a pattern on the code, there is a `fmt` command to format all Typescripts inside the `src/`.\n\n```sh\nnpm run fmt\n```\n\n## Usage \n\nAfter the `build/` folder was generated by `build` or `dev` commands, you are able to use the LLS on your editor.\n\n###  nvim ([coc.nvim](https://github.com/neoclide/coc.nvim))\n\nUsing the basic of LLS on nvim with `coc.nvim`, just type `:CocConfig` and add the code's snippet below to it:\n\n```json\n{\n\t\"languageserver\": {\n\t\t\"languagetool-language-server\": {\n\t\t\t\"module\": \"\u003cpath\u003e/languagetool-language-server/build/index.js\",\n\t\t\t\"args\": [\"--node-ipc\"],\n\t\t\t\"filetypes\": [\"*\"],\n\t\t\t\"initializationOptions\": {\n\t\t\t}\n\t\t}\n\t}\n}\n```\n\n#### Development\n\nIf you want to improve the LanguageTool Language Server on its integration with `coc.nvim`, check its page of [Debug language server](https://github.com/neoclide/coc.nvim/wiki/Debug-language-server) to get information and tips to help to complete your task. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrybarreto%2Flanguagetool-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrybarreto%2Flanguagetool-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrybarreto%2Flanguagetool-lsp/lists"}