elestio/languagetool

Verified Publisher

By Elestio

Updated 29 days ago

Languagetool, verified and packaged by Elestio

Image
Languages & frameworks
Integration & delivery
4

10K+

elestio/languagetool repository overview

elest.io

Discord Elestio examples Blog

Languagetool, verified and packaged by Elestio

A better community platform for the modern web.

Languagetool is an Open Source proofreading software for English, Spanish, French, German, Portuguese, Polish, Dutch, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.is an Open Source proofreading software for English, Spanish, French, German, Portuguese, Polish, Dutch, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.

Languagetool

API usage

You can now use LanguageTool REST API like this:

curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' -d 'text=hey%20whats%20up&language=auto&enabledOnly=false' 'https://[CI_CD_DOMAIN]/v2/check'

Integrations and plugins

Step 1.

Go to the LangagueTool website and choose the app or Add-on of your choice. In our case, we will choose Chrome

Step 2.

In google chrome, go to the extensions tab and choose Grammar & Spell Checker.

Step 3.

Click on the cog wheel at the bottom right of the tab

Step 4.

Go to the very bottom of the page and choose Advanced settings

Step 5.

In the drop-down menu choose the button Other server. And type your server address. For you, it will be: https://[CI_CD_DOMAIN]/v2 Save

That's all. Now you can go in Gmail for example, and type a mail. LanguageTool will do the job!

Deploy a fully managed languagetool on elest.io Free & Source Available Messaging Platform for Marketing, Support & Sales .

deploy

Why use Elestio images?

  • Elestio stays in sync with updates from the original source and quickly releases new versions of this image through our automated processes.
  • Elestio images provide timely access to the most recent bug fixes and features.
  • Our team performs quality control checks to ensure the products we release meet our high standards.

Usage

Git clone

You can deploy it easily with the following command:

git clone https://github.com/elestio-examples/languagetool.git

Copy the .env file from tests folder to the project directory

cp ./tests/.env ./.env

Edit the .env file with your own values.

mkdir -p ./datastorage
chown -R 1000:1000 ./datastorage

Run the project with the following command

docker-compose up -d

You can access the Web UI at: http://your-domain:8010

Docker-compose

Here are some example snippets to help you get started creating a container.

    version: "3"

    services:
    languagetool:
        image: elestio/languagetool:${SOFTWARE_VERSION_TAG}
        ports:
        - 172.17.0.1:8010:8010
        environment:
        - langtool_languageModel=/ngrams
        - Java_Xms=512m
        - Java_Xmx=1g
        volumes:
        - ./data:/ngrams
Environment variables
VariableValue (example)
SOFTWARE_VERSION_TAGlatest

Maintenance

Logging

The Elestio Languagetool Docker image sends the container logs to stdout. To view the logs, you can use the following command:

docker-compose logs -f

To stop the stack you can use the following command:

docker-compose down

Backup and Restore with Docker Compose

To make backup and restore operations easier, we are using folder volume mounts. You can simply stop your stack with docker-compose down, then backup all the files and subfolders in the folder near the docker-compose.yml file.

Creating a ZIP Archive For example, if you want to create a ZIP archive, navigate to the folder where you have your docker-compose.yml file and use this command:

zip -r myarchive.zip .

Restoring from ZIP Archive To restore from a ZIP archive, unzip the archive into the original folder using the following command:

unzip myarchive.zip -d /path/to/original/folder

Starting Your Stack Once your backup is complete, you can start your stack again with the following command:

docker-compose up -d

That's it! With these simple steps, you can easily backup and restore your data volumes using Docker Compose.

Tag summary

Content type

Image

Digest

sha256:eb2a128d2

Size

432.2 MB

Last updated

29 days ago

docker pull elestio/languagetool:v6.8

This week's pulls

Pulls:

1,708

Last week