chatgpt-md-translator

ChatGPT Markdown Translator: CLI to translate Markdown docs using ChatGPT API

MIT License

Downloads
118
Stars
261

Bot releases are hidden (Show)

chatgpt-md-translator - v1.7.1 Latest Release

Published by smikitky 6 months ago

  • Fixed broken module import that made the CLI not functioning at all
chatgpt-md-translator - v1.7.0

Published by smikitky 6 months ago

  • GPT-4 Turbo has entered general availability, so the model shorthand 4 now points to gpt-4-turbo instead of gpt-4. gpt-4-turbo is faster, smarter, and more cost-effective; there is almost no practical reason to choose gpt-4 now.
chatgpt-md-translator - v1.6.0

Published by smikitky 7 months ago

  • You can now specify more than one file to translate multiple source files sequentially (#20).
  • Added OVERWRITE_POLICY (-w/--overwrite-policy) option, which allows you to specify what happens if the output file already exists (#20).
  • When one of the API calls causes a critical error, the other API calls are now aborted as well.
  • Fixed an error where the translation status was still reported in a non-TTY environment.
  • Fixed an issue that occurred when the status text was longer than the terminal width.
chatgpt-md-translator - v1.5.1

Published by smikitky 7 months ago

  • Fixed error handling when chekcing if the output file is writable.
  • Hid a deprecated and undocumented CLI option from --help.
chatgpt-md-translator -

Published by smikitky 7 months ago

  • Added OUTPUT_FILE_PATH option, which can flexibly transform the input file path into the output file path.
  • Deprecated OUT_SUFFIX option in favor of OUTPUT_FILE_PATH.
  • Enhanced error reporting to be friendlier when a file system error occurs.
chatgpt-md-translator - v1.4.0

Published by smikitky 7 months ago

  • Checks the permission of the output file/directory before actually calling the API (#17).
  • Fixed: out CLI option is now relative to BASE_DIR rather than the target file, following starndard convention of other CLI tools (#16).
chatgpt-md-translator - v1.3.2

Published by smikitky 7 months ago

  • Fixed a typo in config name API_ENDOPOINT => API_ENDPOINT
chatgpt-md-translator - v1.3.1

Published by smikitky 8 months ago

  • Fixed help message.
chatgpt-md-translator - v1.3.0

Published by smikitky 8 months ago

  • Fixed a bug where some config values could not be set to zero.
  • Added -q/--quiet CLI option.
  • The tool now suppresses progress output by default when not in TTY.
chatgpt-md-translator - v1.2.0

Published by smikitky 9 months ago

  • Added API_ENDPOINT config option.
chatgpt-md-translator - v1.1.0

Published by smikitky about 1 year ago

  • Added CODE_BLOCK_PRESERVATION_LINES config option.
  • Added OUT_SUFFIX config option.
  • Added out CLI option.
chatgpt-md-translator - v1.0.2

Published by smikitky about 1 year ago

Removed unnecessary dependencies.

chatgpt-md-translator - v1.0.1

Published by smikitky about 1 year ago

Critical fix to get the binary working

chatgpt-md-translator - v1.0.0

Published by smikitky about 1 year ago

This is the first version released on NPM. It's now published as a standalone CLI tool that can be installed with npm install -g.

BREAKING

  • Renamed the package/repository name from 'markdown-gpt-translator' to 'chatgpt-md-translator'.
  • This tool no longer reads config data from environment variables (except for HTTPS_PROXY). Settings must be written in the config file.
  • Changed a config key name from GPT_TRANSLATOR_BASE_DIR to BASE_DIR.

NEW

  • Changed command-line parser to let you write options like -m3 or --model=3 instead of -m 3 (old style will work, too).
  • Added support for indented code blocks (#7).
Package Rankings
Top 45.73% on Npmjs.org