Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lagleki/gpt-markdown-website-translator
https://github.com/lagleki/gpt-markdown-website-translator
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lagleki/gpt-markdown-website-translator
- Owner: lagleki
- License: gpl-3.0
- Created: 2023-06-23T12:35:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-01T09:37:45.000Z (over 1 year ago)
- Last Synced: 2024-10-31T13:46:13.240Z (2 months ago)
- Language: Python
- Size: 945 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FreeGPT Markdown Website Translator
## Install
Run the following command to clone the repository:```
git clone https://github.com/lagleki/gpt-markdown-website-translator.git
cd gpt-markdown-website-translator
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
```Create `.env` file and input `OPENAI_API_KEY=` value of your OpenAI key there.
## Prepare your book or website
* Put your markdown files into `pages/` folder. you may have subfolders inside it recursively.
## Run
* Run `python3 translate.py Russian` or put the name of any other language.
* The files will be translated, the original will be put into `.md!` files.## Features from freegpt-webui
* Still available but might no longer work, see docs at https://github.com/ramonvc/freegpt-webui