{"id":19775413,"url":"https://github.com/watchakorn-18k/language-translation-app-using-ai","last_synced_at":"2025-10-26T12:42:33.386Z","repository":{"id":131108903,"uuid":"589790108","full_name":"watchakorn-18k/Language-Translation-App-using-AI","owner":"watchakorn-18k","description":"🌍 Language Translation App using AI 🗣️  Real-time translation for Thai \u0026 English using CHATGPT , BING CHAT and Gemini . Easy-to-use interface.","archived":false,"fork":false,"pushed_at":"2024-10-03T17:50:43.000Z","size":102,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T19:41:26.821Z","etag":null,"topics":["bard","bing-chat","chatgpt-api","flet-dev","github","gpt-4","languagetranslationapp","nltk-python","repository","thailand","wk-18k"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watchakorn-18k.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-16T23:58:52.000Z","updated_at":"2025-03-27T13:32:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed68bf95-c94e-4d03-ab95-c10b48a65e35","html_url":"https://github.com/watchakorn-18k/Language-Translation-App-using-AI","commit_stats":null,"previous_names":["watchakorn-18k/language-translation-app-using-ai"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/watchakorn-18k/Language-Translation-App-using-AI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watchakorn-18k%2FLanguage-Translation-App-using-AI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watchakorn-18k%2FLanguage-Translation-App-using-AI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watchakorn-18k%2FLanguage-Translation-App-using-AI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watchakorn-18k%2FLanguage-Translation-App-using-AI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watchakorn-18k","download_url":"https://codeload.github.com/watchakorn-18k/Language-Translation-App-using-AI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watchakorn-18k%2FLanguage-Translation-App-using-AI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281107100,"owners_count":26444787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bard","bing-chat","chatgpt-api","flet-dev","github","gpt-4","languagetranslationapp","nltk-python","repository","thailand","wk-18k"],"created_at":"2024-11-12T05:16:01.822Z","updated_at":"2025-10-26T12:42:33.350Z","avatar_url":"https://github.com/watchakorn-18k.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"src\\icon.ico\" width=50\u003e\u003c/p\u003e\n\n# 🌍 Language Translation App using CHATGPT , BING CHAT and Gemini 🗣️\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://cdn.discordapp.com/attachments/585068497495654413/1067843291745370263/gamedfdsf.gif\"\u003e\n\u003c/p\u003e\n\nThis app utilizes the power of the CHATGPT language model to provide real-time translation of text input in Thai and English.\n\n- Support for Thai and English languages\n- Easy-to-use interface\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://cdn.discordapp.com/attachments/581018943041306641/1098513058206326815/gamedfdsf.gif\" width=300\u003e\u003c/p\u003e\n\n## How to use\n\n1. Run Application 1 time\n2. Then go to file `api_key_chatgpt.json` and insert the API KEY, get it from [https://beta.openai.com/](https://beta.openai.com/), then save and close the file.\n   ![img](https://cdn.discordapp.com/attachments/585068497495654413/1067831416995455067/gamedfdsf.gif)\n3. Run Application\n4. Enter text in any language in the text field.\n5. Press the \u003cimg src=\"https://media.discordapp.net/attachments/585068497495654413/1067750218969399426/image-removebg-preview.png\" width=\"30\"\u003e button to get the translated text\n\n**IMPORTANT**: Remember to enter your API key for the CHATGPT model before running the app in file `api_key_chatgpt.json`\n\n## OCR (Optical Character Recognition)\n\ncan be used to extract text from images or scanned documents, including text on the screen. Currently, our OCR system supports two languages: Chinese and English.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots\\example.png\" height=400\u003e\n\n**NOTE**: You can press the keyboard shortcut `Ctrl + Shift + Z` to perform OCR.\n\n## Settings Menu\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"screenshots\\settings.png\" height=\"400\"\u003e\n\u003c/p\u003e\n\n## How to use Bing Chat\n\n- Checking access (Required) [here](https://github.com/acheong08/EdgeGPT#checking-access-required)\n- Install the cookie editor extension for [Chrome](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/)\n- Go to `bing.com`\n- Open the extension\n- Click \"Export\" on the bottom right, then \"Export as JSON\" (This saves your cookies to clipboard)\n- Paste your cookies into a file `cookies_bing_chat.json`\n\nExample `cookies_bing_chat.json`\n```diff\n- You can see more https://github.com/watchakorn-18k/Language-Translation-App-using-CHATGPT#how-to-use-bing-chat\n\n+ [\n+    {\n+        \"domain\": \".bing.com\",\n+        \"expirationDate\": ..............\n```\n\nYou can see more [here](https://github.com/acheong08/EdgeGPT/blob/master/docs/README.md#getting-authentication-required).\n\n\n\u003c/p\u003e\n\n## How to use Gemini\n\n- get API key for the Gemini go to https://aistudio.google.com/app/apikey\"\n- Copy the values\n  - Paste it into a file `api_gemini.json`\n  \nExample `cookies_bard.json`\n```diff\n- {\"api_key\": \"get API key for the Gemini go to https://aistudio.google.com/app/apikey\"}\n\n+ {\"api_key\": \"AIza................................\"}\n```\n\n## Installation\n\n1. Make sure you have Python 3 installed on your system\n2. Install package `pip install fenv`\n3. Clone the repository and create virtualenv with `fenv clone https://github.com/watchakorn-18k/Language-Translation-App-using-CHATGPT`\n4. Run the app with the command `python app.py` of `flet app.py`\n\n## Development\n\nThis app is open-source and can be further developed. Feel free to make pull requests or suggest new features.\n\n## Build\n\n```\npyinstaller app.spec\n```\n\n## Technical details\n\nThe app is built using the OpenAI's CHATGPT model, which is a powerful language generation model. It uses the Hugging Face's transformers library to fine-tune the model and make it work for our specific use case.\n\n## Credit\n\nSnipper source code from [textshot](https://github.com/ianzhao05/textshot/blob/master/textshot/textshot.py)\n\n## Changelog\n- 1.2 changelog:\n    - Change prompt Gemini new\n    - Change prompt ChatGPT new\n    - Remove ChatGPTFREE\n    - can select model generative ai\n    - Update modules\n- 1.1 changelog:\n    - Add support for Gemini\n    - Remove Bard API\n    - Add snapshot support turkish\n    - Update modules\n- 1.0 Initial release","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatchakorn-18k%2Flanguage-translation-app-using-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatchakorn-18k%2Flanguage-translation-app-using-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatchakorn-18k%2Flanguage-translation-app-using-ai/lists"}