{"repo":"smikitky/chatgpt-md-translator","free":true,"listed":false,"github":"https://github.com/smikitky/chatgpt-md-translator","clone":"git clone https://github.com/smikitky/chatgpt-md-translator.git","description":"ChatGPT Markdown Translator: CLI to translate Markdown docs using ChatGPT API","language":"TypeScript","stars":319,"topics":["chatgpt","markdown","translator"],"license":"MIT","category":"ai-agents","readme_excerpt":"ChatGPT Markdown Translator This tool translates a Markdown file into another (natural) language by using OpenAI's ChatGPT API. Its main purpose is to help people translate docs sites for open-source libraries. As an example, this is React Tutorial translated into Japanese with this tool: チュートリアル：三目並べ As compared to other translation services, ChatGPT is well suited for translating technical documents for several reasons: - As a large language model, it has a good technical understanding of Markdown and many open-source projects. It tries to preserve the Markdown structure when instructed to do so. - You can pass any natural language instruction, such as \"Use friendly language\", \"Translate A as B if X and C if Y\". This tool itself is free, but you will be charged according to OpenAI's pricing page. Even if you're a ChatGPT Plus subscriber, access to the API is not free. Usage 1. Make sure you have a recent version of Node.js installed. 2. Run npm install --global chatgpt-md-translator . 3. Go to OpenAI's developer section, sign up, register your own credit card, and generate an API key. 4. Create a config file in the dotenv format. Use this template and save it to one of the following locations ($CWD refers to the directory where this tool will be invoked). - $CWD/.chatgpt-md-translator - $CWD/.env - $HOME/.config/chatgpt-md-translator/config - $HOME/.chatgpt-md-translator At least, you need to specify your API key as OPENAI API KEY . 5. Create a prompt file. You can copy thi","default_branch":null,"files":null,"tree":[],"storefront":"/r/smikitky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/smikitky/chatgpt-md-translator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}