From 3caa9332f27543090b828e089ed17fa370e4ec7d Mon Sep 17 00:00:00 2001 From: Okki Dwi <64502893+okkidwi@users.noreply.github.com> Date: Sat, 10 Jun 2023 19:35:32 +0700 Subject: [PATCH] docs: add Indonesian locale & README improvement (#154) * Update README.md * Create README_ID.md * Create CONTRIBUTING_ID.md * Create id.json * Add Indonesian locale * Update CONTRIBUTING.md * Update CONTRIBUTING_ID.md * Update README_KR.md * Update README_KR.md * Update README_KR.md * Update README_ID.md * Update README.md * Update README_ID.md * Update README_KR.md * Update README_TR.md * Update README_TR.md * Update README_TR.md * Update README_TR.md * Update README_ID.md * Delete CONTRIBUTING_ID.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README_ID.md * Update README_KR.md * Update README_TR.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Add a flag emoji * Add a emoji to quick nav * Update README_ID.md * Update README_KR.md * Update README_TR.md * Fix turkish readme typo * Remove a country flag emoji * Update README_ID.md * Update README_KR.md * Update README_TR.md * Fix typo * Update i18n.ts * Update i18n.ts --- CONTRIBUTING.md | 8 +- README.md | 102 ++++++++--- README_ID.md | 217 ++++++++++++++++++++++++ README_KR.md | 135 ++++++++++----- README_TR.md | 133 ++++++++++----- packages/userscript/src/i18n.ts | 10 ++ packages/userscript/src/locales/id.json | 35 ++++ 7 files changed, 517 insertions(+), 123 deletions(-) create mode 100644 README_ID.md create mode 100644 packages/userscript/src/locales/id.json diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cdd07c0..84a1f29 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ -# Contributing +# 🤝 Contributing We're excited that you're interested in contributing to this project! Before submitting your contribution, please read through the following guide. -## Setup +## 🔧 Setup This project uses [PNPM](https://pnpm.js.org/) for package management. Please make sure you have it installed before proceeding. @@ -12,7 +12,7 @@ This project uses [PNPM](https://pnpm.js.org/) for package management. Please ma 4. Click "Install" on the popup to install the development script. 5. Make your changes! -## Linting and Type Checking +## ✅ Linting and Type Checking This project uses [ESLint](https://eslint.org/) and [TypeScript](https://www.typescriptlang.org/) for linting and type checking, respectively. Please make sure your code passes both before submitting a PR. @@ -21,7 +21,7 @@ pnpm run lint pnpm run test ``` -## Commit Message Format +## 📝 Commit Message Format This project follows the [Conventional Commits](https://www.conventionalcommits.org/) specification. Please make sure your commit messages are formatted correctly. diff --git a/README.md b/README.md index 8691693..8d91fc4 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,68 @@ -ChatGPT Exporter -========================== +

ChatGPT Exporter

-![license](https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red) -[![](https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII=)](https://greasyfork.org/scripts/456055-chatgpt-exporter) +
+ +## A GreasyFork script to export the chat history of [ChatGPT](https://chatgpt.com/) + +[![license][license-image]][license-url] +[![release][release-image]][release-url] +[![last commit][last-commit-image]][last-commit-url] +[![GreasyFork][GreasyFork-image]][GreasyFork-url] + +[license-image]: https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red +[license-url]: https://github.com/pionxzh/chatgpt-exporter/blob/master/LICENSE +[release-image]: https://img.shields.io/github/v/release/pionxzh/chatgpt-exporter?color=blue +[release-url]: https://github.com/pionxzh/chatgpt-exporter/releases/latest +[last-commit-image]: https://img.shields.io/github/last-commit/pionxzh/chatgpt-exporter?label=last%20commit +[last-commit-url]: https://github.com/pionxzh/chatgpt-exporter/commits +[GreasyFork-image]: https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII= +[GreasyFork-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter + +English   |   [Indonesia](./README_ID.md)   |   [한국어](./README_KR.md)   |   [Türkçe](./README_TR.md) ![image](https://user-images.githubusercontent.com/9910706/215000985-887b6f9e-142b-4c25-b4bf-2ba90c0b4268.png) -English | [한국어](./README_KR.md) | [Türkçe](./README_TR.md) -💬 Make it easy to share and review your conversation. ---- -A GreasyFork script to export the chat history of [ChatGPT](https://chatgpt.com/). +## Install + +### Prerequisites + +Install `Tampermonkey` + +[Chrome][link-chrome]    [Firefox][link-firefox]    [Chrome][link-edge] -Supported Formats: -- [Text](#text) -- [PNG](#screenshot) (Full Page Screenshot!) -- [HTML](#html) -- [JSON](#json) +[link-chrome]: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=id 'Chrome Web Store' +[link-firefox]: https://addons.mozilla.org/firefox/addon/tampermonkey 'Firefox Add-ons' +[link-edge]: https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd 'Edge Add-ons' -# Install - -## Prerequisites - -Install **Tampermonkey** **([Chrome](https://www.tampermonkey.net/)** / **[Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey/)** / **[Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd?hl=zh-CN))** - - -## UserScript +### UserScript | Greasyfork | GitHub | | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| [Install](https://greasyfork.org/scripts/456055-chatgpt-exporter) | [Install](https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js) | +| [![Install][Install-1-image]][install-1-url] | [![Install][Install-2-image]][install-2-url] | + +[Install-1-image]: https://img.shields.io/badge/-Install-blue +[Install-1-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter +[Install-2-image]: https://img.shields.io/badge/-Install-blue +[Install-2-url]: https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js + +# -# Example +[📚 Supported Formats](#-supported-formats)   |   [💡 Example](#-example)   |   [🤝 Contribution](#-contribution)   |   [⭐ Star History](#-star-history) + +
-## Text +# + +## 📚 Supported Formats + +- [Text](#text) +- [HTML](#html) +- [PNG](#screenshot) +- [JSON](#json) + +## 💡 Example + +### Text ``` You: @@ -52,15 +82,23 @@ applied. It's important to use ChatGPT responsibly and consider the potential consequences of using it in any given situation. ``` -## HTML +### HTML + +
![image](https://user-images.githubusercontent.com/9910706/205630407-153fc40d-5411-482d-a75b-82bfe86e38ff.png) -## Screenshot +
+ +### Screenshot + +
-## JSON +
+ +### JSON the raw content from API `https://chat.openai.com/backend-api/conversation/[id]` @@ -166,6 +204,14 @@ the raw content from API `https://chat.openai.com/backend-api/conversation/[id]` ``` -# Contribution +## 🤝 Contribution See [CONTRIBUTING.md](./CONTRIBUTING.md) + +## ⭐ Star History + +
+ +Star History Chart + +
diff --git a/README_ID.md b/README_ID.md new file mode 100644 index 0000000..c2d8cdc --- /dev/null +++ b/README_ID.md @@ -0,0 +1,217 @@ +

ChatGPT Exporter

+ +
+ +## Skrip GreasyFork untuk mengekspor riwayat percakapan [ChatGPT](https://chatgpt.com/) + +[![license][license-image]][license-url] +[![release][release-image]][release-url] +[![last commit][last-commit-image]][last-commit-url] +[![GreasyFork][GreasyFork-image]][GreasyFork-url] + +[license-image]: https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red +[license-url]: https://github.com/pionxzh/chatgpt-exporter/blob/master/LICENSE +[release-image]: https://img.shields.io/github/v/release/pionxzh/chatgpt-exporter?color=blue +[release-url]: https://github.com/pionxzh/chatgpt-exporter/releases/latest +[last-commit-image]: https://img.shields.io/github/last-commit/pionxzh/chatgpt-exporter?label=last%20commit +[last-commit-url]: https://github.com/pionxzh/chatgpt-exporter/commits +[GreasyFork-image]: https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII= +[GreasyFork-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter + +[English](./README.md)   |   Indonesia   |   [한국어](./README_KR.md)   |   [Türkçe](./README_TR.md) + +![image](https://user-images.githubusercontent.com/9910706/215000985-887b6f9e-142b-4c25-b4bf-2ba90c0b4268.png) + +## Instalasi + +### Prasyarat + +Instal `Tampermonkey` + +[Chrome][link-chrome]    [Firefox][link-firefox]    [Chrome][link-edge] + +[link-chrome]: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=id 'Web Store Chrome' +[link-firefox]: https://addons.mozilla.org/firefox/addon/tampermonkey 'Add-ons Firefox' +[link-edge]: https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd 'Add-ons Edge' + +### UserScript + +| Greasyfork | GitHub | +| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| [![Install][Install-1-image]][Install-1-url] | [![Install][Install-2-image]][Install-2-url] | + +[Install-1-image]: https://img.shields.io/badge/-Install-blue +[Install-1-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter +[Install-2-image]: https://img.shields.io/badge/-Install-blue +[Install-2-url]: https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js + +# + +[📚 Format yang Didukung](#-format-yang-didukung)   |   [💡 Contoh](#-contoh)   |   [🤝 Kontribusi](#-kontribusi)   |   [⭐ Sejarah Bintang](#-sejarah-bintang) + +
+ +# + +## 📚 Format yang Didukung + +- [Teks](#teks) +- [HTML](#html) +- [PNG](#tangkapan-layar) +- [JSON](#json) + +## 💡 Contoh + +### Teks + +``` +Anda: +Saya sedang membuat ChatGPT Exporter. Apa pendapat Anda? + +ChatGPT: +Sepertinya Anda berencana membuat alat yang menggunakan model ChatGPT +untuk mengekspor teks. ChatGPT adalah model bahasa yang besar yang dilatih oleh OpenAI +yang dirancang untuk menghasilkan teks yang mirip dengan manusia berdasarkan input yang diberikan. +Model ini dapat digunakan untuk berbagai aplikasi, seperti chatbot, +respon otomatis terhadap pertanyaan pelanggan, dan lain-lain. + +Namun, perlu diingat bahwa sebagai model bahasa yang besar, ChatGPT tidak +telah dilatih secara khusus untuk tugas tertentu, sehingga kualitas teks yang +dihasilkan akan bergantung pada bagaimana penggunaannya dan konteks di mana +ini diterapkan. Penting untuk menggunakan ChatGPT dengan tanggung jawab dan +mempertimbangkan konsekuensi potensial penggunaannya dalam situasi apa pun. +``` + +### HTML + +
+ +![image](https://user-images.githubusercontent.com/9910706/205630407-153fc40d-5411-482d-a75b-82bfe86e38ff.png) + +
+ +### Tangkapan Layar + +
+ + + +
+ +### JSON + +Konten mentah dari API `https://chat.openai.com/backend-api/conversation/[id]` + +
+Klik untuk melihat + +```json +{ + "id": "35a1fa05-e928-4c39-8ffa-ca74f75b509f", + "title": "AI Turing Test.", + "create_time": 1678015311.655875, + "mapping": { + "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358": { + "id": "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358", + "message": { + "id": "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358", + "author": { + "role": "system", + "metadata": {} + }, + "create_time": 1678015311.655875, + "content": { + "content_type": "text", + "parts": [ + "" + ] + }, + "end_turn": true, + "weight": 1, + "metadata": {}, + "recipient": "all" + }, + "parent": "9310b90f-d8f0-4be6-bac2-daacddac784f", + "children": [ + "4afb9720-3a88-49b1-9309-e2b53d607f34" + ] + }, + "9310b90f-d8f0-4be6-bac2-daacddac784f": { + "id": "9310b90f-d8f0-4be6-bac2-daacddac784f", + "children": [ + "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358" + ] + }, + "4afb9720-3a88-49b1-9309-e2b53d607f34": { + "id": "4afb9720-3a88-49b1-9309-e2b53d607f34", + "message": { + "id": "4afb9720-3a88-49b1-9309-e2b53d607f34", + "author": { + "role": "user", + "metadata": {} + }, + "create_time": 1678015311.656259, + "content": { + "content_type": "text", + "parts": [ + "write an poem about the Turing test" + ] + }, + "weight": 1, + "metadata": { + "timestamp_": "absolute" + }, + "recipient": "all" + }, + "parent": "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358", + "children": [ + "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1" + ] + }, + "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1": { + "id": "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1", + "message": { + "id": "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1", + "author": { + "role": "assistant", + "metadata": {} + }, + "create_time": 1678185638.890551, + "content": { + "content_type": "text", + "parts": [ + "In the realm of machines and code,\nThere lies a test, with rules bestowed,\nA challenge to determine true mind,\nAnd if a machine's intelligence can find.\n\nThe Turing test, named for its creator,\nSeeks to find if a machine's behavior\nCan mimic that of a human so well,\nThat it's indistinguishable, can you tell?\n\nThrough conversations, the test is done,\nWith a judge and a machine, the game is run,\nIf the judge can't tell who is who,\nThen the machine's intelligence shines through.\n\nBut can a machine truly think?\nOr is it just a clever bit of link,\nBetween algorithms and programming code,\nCan it truly understand and decode?\n\nThe Turing test, a thought experiment,\nBrings up questions, doubts, and sentiment,\nFor as we strive to create machines smart,\nWe wonder, will they ever truly have heart?\n\nSo let us ponder and explore,\nAs we create machines more and more,\nThe Turing test a reminder to be,\nMindful of what our machines can truly see." + ] + }, + "end_turn": false, + "weight": 1, + "metadata": { + "model_slug": "text-davinci-002-render-sha", + "finish_details": { + "type": "stop" + }, + "timestamp_": "absolute" + }, + "recipient": "all" + }, + "parent": "4afb9720-3a88-49b1-9309-e2b53d607f34", + "children": [] + } + }, + "moderation_results": [], + "current_node": "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1" +} +``` +
+ +## 🤝 Kontribusi + +Lihat [CONTRIBUTING.md](./CONTRIBUTING.md) + +## ⭐ Sejarah Bintang + +
+ +Star History Chart + +
diff --git a/README_KR.md b/README_KR.md index 31267c8..7bbb085 100644 --- a/README_KR.md +++ b/README_KR.md @@ -1,74 +1,107 @@ -ChatGPT Exporter -========================== +

ChatGPT Exporter

-![license](https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red) -[![](https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII=)](https://greasyfork.org/scripts/456055-chatgpt-exporter) +
+ +## [ChatGPT](https://chatgpt.com/) 의 채팅 기록을 내보내는 GreasyFork 스크립트 + +[![license][license-image]][license-url] +[![release][release-image]][release-url] +[![last commit][last-commit-image]][last-commit-url] +[![GreasyFork][GreasyFork-image]][GreasyFork-url] + +[license-image]: https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red +[license-url]: https://github.com/pionxzh/chatgpt-exporter/blob/master/LICENSE +[release-image]: https://img.shields.io/github/v/release/pionxzh/chatgpt-exporter?color=blue +[release-url]: https://github.com/pionxzh/chatgpt-exporter/releases/latest +[last-commit-image]: https://img.shields.io/github/last-commit/pionxzh/chatgpt-exporter?label=last%20commit +[last-commit-url]: https://github.com/pionxzh/chatgpt-exporter/commits +[GreasyFork-image]: https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII= +[GreasyFork-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter + +[English](./README.md)   |   [Indonesia](./README_ID.md)   |   한국어   |   [Türkçe](./README_TR.md) ![image](https://user-images.githubusercontent.com/9910706/215000985-887b6f9e-142b-4c25-b4bf-2ba90c0b4268.png) -[English](./README.md) | 한국어 | [Türkçe](./README_TR.md) -💬 Chatgpt와 대화를 쉽게 공유와 리뷰할 수 있도록 합니다. ---- +## 설치하기 + +### 사전 준비 조건 + +`Tampermonkey` 설치하기 + +[Chrome][link-chrome]    [Firefox][link-firefox]    [Chrome][link-edge] -Chatgpt 대화기록을 내보내기 위한 GreasyFork 스크립트. +[link-chrome]: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=id 'Chrome 웹 스토어' +[link-firefox]: https://addons.mozilla.org/firefox/addon/tampermonkey 'Firefox 애드온' +[link-edge]: https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd 'Edge 애드온' + +### UserScript -지원되는 형식: -- [Text](#text) -- [PNG](#screenshot) (Full Page Screenshot!) -- [HTML](#html) -- [JSON](#json) - -# Install - -## 설치하는 법 - -Step 1. **Tampermonkey**를 설치합니다. **([Chrome](https://www.tampermonkey.net/)** / **[Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey/)** / **[Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd?hl=zh-CN))** - - -Step 2. **유저 스크립트** 를 설치합니다. -둘 중 한개의 링크를 클릭해서 유저 스크립트를 다운합니다. | Greasyfork | GitHub | | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| [Install](https://greasyfork.org/scripts/456055-chatgpt-exporter) | [Install](https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js) | +| [![Install][Install-1-image]][install-1-url] | [![Install][Install-2-image]][install-2-url] | + +[Install-1-image]: https://img.shields.io/badge/-Install-blue +[Install-1-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter +[Install-2-image]: https://img.shields.io/badge/-Install-blue +[Install-2-url]: https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js + +# -# Chatgpt 대화를 내보내기한 예시 +[📚 지원하는 형식](#-지원하는-형식)   |   [💡 예제](#-예제)   |   [🤝 기여하기](#-기여하기)   |  [⭐ 별 기록](#-별-기록) + +
+# -## Text +## 📚 지원하는 형식 + +- [텍스트](#텍스트) +- [HTML](#HTML) +- [PNG](#스크린샷) +- [JSON](#JSON) + +## 💡 예제 + +### 텍스트 ``` -You: -I'm creating a ChatGPT Exporter. What do you think? +너: +ChatGPT Exporter 를 만들고 있어요. 어떻게 생각하세요? ChatGPT: -It sounds like you're planning on creating a tool that uses the ChatGPT model -to export text. ChatGPT is a large language model trained by OpenAI that is -designed to generate human-like text responses based on a given input. It can -be used for a variety of applications, such as chatbots, automated responses -to customer inquiries, and more. +ChatGPT Exporter 를 만들 계획이신 것 같군요. ChatGPT 는 OpenAI 에서 학습한 대규모 +언어 모델로서, 주어진 입력에 기반하여 인간과 유사한 텍스트 응답을 생성하는 데 +사용됩니다. 이는 챗봇, 고객 문의에 대한 자동 응답 등 다양한 응용 분야에서 활용될 수 +있습니다. -However, please keep in mind that as a large language model, ChatGPT has not -been specifically trained for any specific task, so the quality of the -generated text will depend on how it is used and the context in which it is -applied. It's important to use ChatGPT responsibly and consider the potential -consequences of using it in any given situation. +하지만 대규모 언어 모델인 ChatGPT는 특정 작업을 위해 특별히 훈련된 것은 아니기 +때문에 생성된 텍스트의 품질은 사용 방식과 적용되는 문맥에 따라 달라집니다. ChatGPT +를 책임있게 사용하고 해당 상황에서의 잠재적인 결과를 고려하는 것이 중요합니다. ``` -## HTML +### HTML -![image](https://user-images.githubusercontent.com/9910706/205630407-153fc40d-5411-482d-a75b-82bfe86e38ff.png) +
-## Screenshot +![이미지](https://user-images.githubusercontent.com/9910706/205630407-153fc40d-5411-482d-a75b-82bfe86e38ff.png) + +
+ +### 스크린샷 + +
-## JSON +
-the raw content from API `https://chat.openai.com/backend-api/conversation/[id]` +### JSON + +API `https://chat.openai.com/backend-api/conversation/[id]` 에서 얻은 원시 콘텐츠
-Click to see - +클릭하여 보기 + ```json { "id": "35a1fa05-e928-4c39-8ffa-ca74f75b509f", @@ -168,6 +201,14 @@ the raw content from API `https://chat.openai.com/backend-api/conversation/[id]` ```
-# Contribution +## 🤝 기여하기 -See [CONTRIBUTING.md](./CONTRIBUTING.md) +[CONTRIBUTING.md](./CONTRIBUTING.md) 를 참조하세요 + +## ⭐ 별 기록 + +
+ +별 기록 차트 + +
diff --git a/README_TR.md b/README_TR.md index 9a6ad6a..48a69ba 100644 --- a/README_TR.md +++ b/README_TR.md @@ -1,73 +1,110 @@ -ChatGPT Exporter -========================== +

ChatGPT Exporter

-![license](https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red) -[![](https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII=)](https://greasyfork.org/scripts/456055-chatgpt-exporter) +
+ +## [ChatGPT](https://chatgpt.com/) sohbet geçmişini dışa aktarmak için GreasyFork betiği + +[![license][license-image]][license-url] +[![release][release-image]][release-url] +[![last commit][last-commit-image]][last-commit-url] +[![GreasyFork][GreasyFork-image]][GreasyFork-url] + +[license-image]: https://img.shields.io/github/license/pionxzh/chatgpt-exporter?color=red +[license-url]: https://github.com/pionxzh/chatgpt-exporter/blob/master/LICENSE +[release-image]: https://img.shields.io/github/v/release/pionxzh/chatgpt-exporter?color=blue +[release-url]: https://github.com/pionxzh/chatgpt-exporter/releases/latest +[last-commit-image]: https://img.shields.io/github/last-commit/pionxzh/chatgpt-exporter?label=last%20commit +[last-commit-url]: https://github.com/pionxzh/chatgpt-exporter/commits +[GreasyFork-image]: https://img.shields.io/static/v1?label=%20&message=GreasyFork&style=flat-square&labelColor=7B0000&color=960000&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII= +[GreasyFork-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter + +[English](./README.md)   |   [Indonesia](./README_ID.md)   |   [한국어](./README_KR.md)   |   Türkçe -![image](https://user-images.githubusercontent.com/9910706/215000985-887b6f9e-142b-4c25-b4bf-2ba90c0b4268.png) -[English](./README.md) | [한국어](./README_KR.md) | Türkçe +![image](https://user-images.githubusercontent.com/9910706/215000985-887b6f9e-142b-4c25-b4bf-2ba90c0b4268.png) + +## Kurulum -💬 Konuşmanızı paylaşmayı ve incelemeyi kolaylaştırın. ---- +### Gereksinimler -[ChatGPT](https://chatgpt.com/)'nin konuşma geçmişini dışa aktarmak için yazılan bir GreasyFork script'i. +`Tampermonkey` kurulumu yapın -Desteklenen Biçimler: -- [Metin](#text) -- [PNG](#screenshot) (Tam Sayfa Ekran Alıntısı!) -- [HTML](#html) -- [JSON](#json) +[Chrome][link-chrome]    [Firefox][link-firefox]    [Chrome][link-edge] -# Yükleme - -## Ön Eklentiler - -**Tampermonkey** **([Chrome](https://www.tampermonkey.net/)** / **[Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey/)** / **[Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd?hl=zh-CN))** Eklentisini tarayıcınıza kurun - - -## UserScript +[link-chrome]: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=tr 'Chrome Web Mağazası' +[link-firefox]: https://addons.mozilla.org/firefox/addon/tampermonkey 'Firefox Eklentileri' +[link-edge]: https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd 'Edge Eklentileri' + +### UserScript | Greasyfork | GitHub | | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| [Kur](https://greasyfork.org/scripts/456055-chatgpt-exporter) | [Kur](https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js) | +| [![Install][Install-1-image]][install-1-url] | [![Install][Install-2-image]][install-2-url] | + +[Install-1-image]: https://img.shields.io/badge/-Install-blue +[Install-1-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter +[Install-2-image]: https://img.shields.io/badge/-Install-blue +[Install-2-url]: https://raw.githubusercontent.com/pionxzh/chatgpt-exporter/master/dist/chatgpt.user.js + +# + +[📚 Desteklenen Formatlar](#-desteklenen-formatlar)   |   [💡 Örnek](#-örnek)   |   [🤝 Katılım](#-katılım)   |   [⭐ Yıldız Geçmişi](#-y%C4%B1ld%C4%B1z-ge%C3%A7mi%C5%9Fi) -# Örnek +
-## Metin +# + +## 📚 Desteklenen Formatlar + +- [Metin](#metin) +- [HTML](#html) +- [PNG](#ekran-görüntüsü) +- [JSON](#json) + +## 💡 Örnek + +### Metin ``` -You: -I'm creating a ChatGPT Exporter. What do you think? +Siz: +ChatGPT Exporter oluşturuyorum. Ne düşünüyorsunuz? ChatGPT: -It sounds like you're planning on creating a tool that uses the ChatGPT model -to export text. ChatGPT is a large language model trained by OpenAI that is -designed to generate human-like text responses based on a given input. It can -be used for a variety of applications, such as chatbots, automated responses -to customer inquiries, and more. +ChatGPT modelini kullanarak metin dışa aktaran bir araç oluşturmayı +planladığınızı düşünüyorum. ChatGPT, OpenAI tarafından eğitilen büyük bir dil +modelidir ve verilen bir girişe dayanarak insan benzeri metin yanıtları +üretmek için tasarlanmıştır. ChatGPT, sohbet botları, müşteri sorularına +otomatik yanıtlar ve daha fazlası gibi çeşitli uygulamalar için kullanılabilir. -However, please keep in mind that as a large language model, ChatGPT has not -been specifically trained for any specific task, so the quality of the -generated text will depend on how it is used and the context in which it is -applied. It's important to use ChatGPT responsibly and consider the potential -consequences of using it in any given situation. +Ancak, lütfen unutmayın ki büyük bir dil modeli olarak, ChatGPT herhangi bir +belirli görev için özel olarak eğitilmemiştir, bu nedenle üretilen metinlerin +kalitesi, nasıl kullanıldığına ve hangi bağlamda uygulandığına bağlı olacaktır. +ChatGPT'yi sorumlu bir şekilde kullanmak ve herhangi bir durumda kullanmanın +olası sonuçlarını düşünmek önemlidir. ``` -## HTML +### HTML + +
![image](https://user-images.githubusercontent.com/9910706/205630407-153fc40d-5411-482d-a75b-82bfe86e38ff.png) -## Ekran Alıntısı +
+ +### Ekran Görüntüsü + +
-## JSON +
-API'den gelen ham veriler `https://chat.openai.com/backend-api/conversation/[id]` +### JSON + +API `https://chat.openai.com/backend-api/conversation/[id]` üzerinden alınan ham içerik
Görmek için tıklayın - + ```json { "id": "35a1fa05-e928-4c39-8ffa-ca74f75b509f", @@ -167,6 +204,14 @@ API'den gelen ham veriler `https://chat.openai.com/backend-api/conversation/[id] ```
-# Katkı Sağlama +## 🤝 Katılım -[CONTRIBUTING.md](./CONTRIBUTING.md) dosyasına göz atın +[CONTRIBUTING.md](./CONTRIBUTING.md) dosyasına bakın + +## ⭐ Yıldız Geçmişi + +
+ +Yıldız Geçmişi Grafiği + +
diff --git a/packages/userscript/src/i18n.ts b/packages/userscript/src/i18n.ts index 0d1b973..e20fe68 100644 --- a/packages/userscript/src/i18n.ts +++ b/packages/userscript/src/i18n.ts @@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next' import { KEY_LANGUAGE } from './constants' import en_US from './locales/en.json' import es from './locales/es.json' +import id_ID from './locales/id.json' import ja_JP from './locales/jp.json' import tr_TR from './locales/tr.json' import zh_Hans from './locales/zh-Hans.json' @@ -35,6 +36,12 @@ const ES = { resource: es, } +const ID_ID = { + name: 'Indonesia', + code: 'id-ID', + resource: id_ID, +} + const JA_JP = { name: '日本語', code: 'ja-JP', @@ -62,6 +69,7 @@ const ZH_Hant = { export const LOCALES: Locale[] = [ EN_US, ES, + ID_ID, JA_JP, TR_TR, ZH_Hans, @@ -80,6 +88,8 @@ const LanguageMapping: Record = { 'es-CO': ES.code, 'es-MX': ES.code, 'es-US': ES.code, + 'id': ID_ID.code, + 'id-ID': ID_ID.code, 'ja': JA_JP.code, 'ja-JP': JA_JP.code, diff --git a/packages/userscript/src/locales/id.json b/packages/userscript/src/locales/id.json new file mode 100644 index 0000000..59d7a85 --- /dev/null +++ b/packages/userscript/src/locales/id.json @@ -0,0 +1,35 @@ +{ + "title": "ChatGPT Exporter", + "ExportHelper": "Ekspor", + "Setting": "Pengaturan", + "Language": "Bahasa", + "Copy Text": "Salin Teks", + "Copied!": "Disalin!", + "Screenshot": "Tangkapan Layar", + "Markdown": "Markdown", + "HTML": "HTML", + "JSON": "JSON", + "Save": "Simpan", + "Delete": "Hapus", + "Select All": "Pilih Semua", + "Export": "Ekspor", + "Error": "Kesalahan", + "Loading": "Memuat", + "Preview": "Pratinjau", + "File Name": "Nama File", + "Export All": "Ekspor Semua", + "Exporter Settings": "Pengaturan Pengekspor", + "Export Dialog Title": "Ekspor Percakapan", + "Invalid File Format": "Format File Tidak Valid", + "Export from official export file": "Ekspor dari file ekspor resmi", + "Export from API": "Ekspor dari API", + "Available variables": "Variabel yang Tersedia", + "Conversation Timestamp": "Timestamp Percakapan", + "Conversation Timestamp Description": "Akan ditampilkan pada halaman dan file HTML.", + "Use 24-hour format": "Gunakan format 24 jam (mis. 23:59)", + "Export Metadata": "Ekspor Metadata", + "Export Metadata Description": "Tambahkan metadata ke file Markdown dan HTML yang diekspor.", + "Conversation Delete Alert": "Apakah Anda yakin ingin menghapus semua percakapan yang dipilih?", + "Conversation Deleted Message": "Semua percakapan yang dipilih telah dihapus. Harap segarkan halaman untuk melihat perubahan.", + "Please start a conversation first": "Harap mulai percakapan terlebih dahulu." +}