Video coming soon…
🛠️ Setup LanguageTool — Self-Hosted Grammar & Style API
Deploy LanguageTool on Ubuntu with Docker — a self-hosted grammar and style checking API for 30+ languages that your browser extensions and editors point at, on port 8183.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/languagetool/languagetool-ubuntu.sh
chmod +x languagetool-ubuntu.sh
sudo bash languagetool-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/languagetool/languagetool-ubuntu.sh
2 Make it Executable
chmod +x languagetool-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts erikvl87/languagetool on port 8183 with a Java heap of up to 1GB and an ./ngrams volume for the optional n-gram data that improves accuracy.
sudo bash languagetool-ubuntu.sh
4 Test the API
There's no website to visit — LanguageTool is an API. Confirm it's up by querying the languages endpoint:
curl http://<your-server-ip>:8183/v2/languages
Ports Used
| Port | Purpose |
|---|---|
| 8183 | REST API (host → container 8010) — no web UI, no authentication |
| Java heap | Java_Xms 512m to Java_Xmx 1g |
| ./ngrams | Optional n-gram data for better accuracy |