Docker image that includes the shodo package provided by ZenProducts Inc.
$ docker pull nnsnodnb/shodo:latest
Shodo account is required to use the shodo command.
SHODO_API_ROOT and SHODO_API_TOKEN as environment variables.~/.config/shodo/credentials to /shodo/credentials in the container.$ docker run -it \
-v ~/.config/shodo/credentials:/shodo/credentials \
nnsnodnb/shodo:latest lint
To finish input and request proofreading, press Ctrl + Z on Windows or Ctrl + D on Mac and Linux.
$ docker run -it \
-e SHODO_API_ROOT=my-shodo-api-root \
-e SHODO_API_TOKEN=my-shodo-api-token \
nnsnodnb/shodo:latest lint
飛行機の欠便があり、運行状況が変わった。 # Your input text
Linting...
39:11 もしかして:変換ミス
飛行機の欠便があり、運行(→ 運航)状況が変わった。
Mount the text file under the /shodo directory and specify the file after the lint command.
$ docker run -t \
-e SHODO_API_ROOT=my-shodo-api-root \
-e SHODO_API_TOKEN=my-shodo-api-token \
-v $(pwd)/README.md:/shodo/README.md \
nnsnodnb/shodo:latest lint /shodo/README.md
Linting...
39:11 もしかして:変換ミス
飛行機の欠便があり、運行(→ 運航)状況が変わった。
Specify the directory where you want to save the downloaded files.
Unless otherwise specified, files will be downloaded to /shodo/docs in the container.
$ docker run \
-e SHODO_API_ROOT=my-shodo-api-root \
-e SHODO_API_TOKEN=my-shodo-api-token \
-v $(pwd):/shodo/docs \
nnsnodnb/shodo:latest download
This software is licensed under the MIT License. (See LICENSE)
Content type
Image
Digest
sha256:1633e9f22…
Size
22.9 MB
Last updated
4 days ago
docker pull nnsnodnb/shodo