Skip to content

Commit c415819

Browse files
committed
docs: update read me
1 parent 5279bfc commit c415819

File tree

3 files changed

+794
-204
lines changed

3 files changed

+794
-204
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ lerna-debug.log*
1010
node_modules
1111
*.local
1212
.turbo
13-
dist
1413

1514
# Editor directories and files
1615
.idea

README.md

+7-203
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
[release-image]: https://img.shields.io/github/v/release/nicepkg/smart-web?color=blue
1414
[release-url]: https://github.com/nicepkg/smart-web/releases/latest
1515
[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=
16-
[GreasyFork-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter
16+
[GreasyFork-url]: https://greasyfork.org/scripts/
1717

18-
English   |   [Indonesia](./README_ID.md)   |   [한국어](./README_KR.md)   |   [Türkçe](./README_TR.md)
18+
English   |   [简体中文](./README_ZH.md)
1919

2020
![image](https://github.com/nicepkg/smart-web/assets/9910706/1c864670-7912-4484-b4be-bdf5dde51557)
2121

@@ -33,217 +33,21 @@ English   |   [Indonesia](./README_ID.md)   |&nbsp
3333

3434
### UserScript
3535

36-
| Greasyfork | GitHub |
37-
| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
36+
| Greasyfork | GitHub |
37+
| -------------------------------------------- | -------------------------------------------- |
3838
| [![Install][Install-1-image]][install-1-url] | [![Install][Install-2-image]][install-2-url] |
3939

4040
[Install-1-image]: https://img.shields.io/badge/-Install-blue
41-
[Install-1-url]: https://greasyfork.org/scripts/456055-chatgpt-exporter
41+
[Install-1-url]: https://greasyfork.org/scripts/
4242
[Install-2-image]: https://img.shields.io/badge/-Install-blue
43-
[Install-2-url]: https://raw.githubusercontent.com/nicepkg/smart-web/master/dist/chatgpt.user.js
43+
[Install-2-url]: https://raw.githubusercontent.com/nicepkg/smart-web/master/dist/smart-web.user.js
4444

4545
#
4646

47-
[📚 Supported Formats](#-supported-formats)   |   [💡 Example](#-example)   |   [📤 Export Multiple Conversations](#-export-multiple-conversations)   |   [🤝 Contribution](#-contribution)   |   [⭐ Star History](#-star-history)
47+
[🤝 Contribution](#-contribution)   |   [⭐ Star History](#-star-history)
4848

4949
</div>
5050

51-
#
52-
53-
## 📚 Supported Formats
54-
55-
- [Text](#text)
56-
- [HTML](#html)
57-
- [Markdown](#markdown)
58-
- [PNG](#screenshot)
59-
- [JSON](#json)
60-
61-
## 💡 Example
62-
63-
### Text
64-
65-
```
66-
You:
67-
I'm creating a ChatGPT Exporter. What do you think?
68-
69-
ChatGPT:
70-
It sounds like you're planning on creating a tool that uses the ChatGPT model
71-
to export text. ChatGPT is a large language model trained by OpenAI that is
72-
designed to generate human-like text responses based on a given input. It can
73-
be used for a variety of applications, such as chatbots, automated responses
74-
to customer inquiries, and more.
75-
76-
However, please keep in mind that as a large language model, ChatGPT has not
77-
been specifically trained for any specific task, so the quality of the
78-
generated text will depend on how it is used and the context in which it is
79-
applied. It's important to use ChatGPT responsibly and consider the potential
80-
consequences of using it in any given situation.
81-
```
82-
83-
### HTML
84-
85-
<div align="center">
86-
87-
<img width="643" alt="image" src="https://github.com/nicepkg/smart-web/assets/9910706/47481c7a-4a6a-433b-b08e-fdf3bbabcb64">
88-
89-
</div>
90-
91-
### Markdown
92-
93-
```
94-
---
95-
title: ChatGPT Exporter Creation
96-
source: https://chat.openai.com/c/cf3f8850-1d69-43c8-b99b-affd0de4e76f
97-
author: ChatGPT
98-
---
99-
100-
# ChatGPT Exporter Creation
101-
102-
#### You:
103-
I'm creating a ChatGPT Exporter. What do you think?
104-
105-
#### ChatGPT:
106-
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.
107-
```
108-
109-
### Screenshot
110-
111-
<div align="center">
112-
<img width="480" src="https://user-images.githubusercontent.com/9910706/205663680-6ac97fac-39b0-495c-bee4-8ef37713a9ae.png" />
113-
114-
</div>
115-
116-
### JSON
117-
118-
the raw content from API `https://chat.openai.com/backend-api/conversation/[id]`
119-
120-
<details>
121-
<summary>Click to see</summary>
122-
123-
```json
124-
{
125-
"id": "35a1fa05-e928-4c39-8ffa-ca74f75b509f",
126-
"title": "AI Turing Test.",
127-
"create_time": 1678015311.655875,
128-
"mapping": {
129-
"5c48fa3e-e4ee-4d00-aa66-8fbcb671a358": {
130-
"id": "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358",
131-
"message": {
132-
"id": "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358",
133-
"author": {
134-
"role": "system",
135-
"metadata": {}
136-
},
137-
"create_time": 1678015311.655875,
138-
"content": {
139-
"content_type": "text",
140-
"parts": [
141-
""
142-
]
143-
},
144-
"end_turn": true,
145-
"weight": 1,
146-
"metadata": {},
147-
"recipient": "all"
148-
},
149-
"parent": "9310b90f-d8f0-4be6-bac2-daacddac784f",
150-
"children": [
151-
"4afb9720-3a88-49b1-9309-e2b53d607f34"
152-
]
153-
},
154-
"9310b90f-d8f0-4be6-bac2-daacddac784f": {
155-
"id": "9310b90f-d8f0-4be6-bac2-daacddac784f",
156-
"children": [
157-
"5c48fa3e-e4ee-4d00-aa66-8fbcb671a358"
158-
]
159-
},
160-
"4afb9720-3a88-49b1-9309-e2b53d607f34": {
161-
"id": "4afb9720-3a88-49b1-9309-e2b53d607f34",
162-
"message": {
163-
"id": "4afb9720-3a88-49b1-9309-e2b53d607f34",
164-
"author": {
165-
"role": "user",
166-
"metadata": {}
167-
},
168-
"create_time": 1678015311.656259,
169-
"content": {
170-
"content_type": "text",
171-
"parts": [
172-
"write an poem about the Turing test"
173-
]
174-
},
175-
"weight": 1,
176-
"metadata": {
177-
"timestamp_": "absolute"
178-
},
179-
"recipient": "all"
180-
},
181-
"parent": "5c48fa3e-e4ee-4d00-aa66-8fbcb671a358",
182-
"children": [
183-
"7027f1a5-8bd5-4463-9869-8a1d1db2f9a1"
184-
]
185-
},
186-
"7027f1a5-8bd5-4463-9869-8a1d1db2f9a1": {
187-
"id": "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1",
188-
"message": {
189-
"id": "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1",
190-
"author": {
191-
"role": "assistant",
192-
"metadata": {}
193-
},
194-
"create_time": 1678185638.890551,
195-
"content": {
196-
"content_type": "text",
197-
"parts": [
198-
"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."
199-
]
200-
},
201-
"end_turn": false,
202-
"weight": 1,
203-
"metadata": {
204-
"model_slug": "text-davinci-002-render-sha",
205-
"finish_details": {
206-
"type": "stop"
207-
},
208-
"timestamp_": "absolute"
209-
},
210-
"recipient": "all"
211-
},
212-
"parent": "4afb9720-3a88-49b1-9309-e2b53d607f34",
213-
"children": []
214-
}
215-
},
216-
"moderation_results": [],
217-
"current_node": "7027f1a5-8bd5-4463-9869-8a1d1db2f9a1"
218-
}
219-
```
220-
</details>
221-
222-
## 📤 Export Multiple Conversations
223-
224-
When you click the "Export All" button, the **Export Conversations** dialog pops up. Here are the functions you can access.
225-
226-
**Export from official export file (conversations.json)**
227-
228-
Click the upload icon button to upload a JSON file of conversations, such as one downloaded from OpenAI.
229-
230-
**Export from API**
231-
232-
In the list of all your conversations, select which conversations you want to export. Check the "Select All" checkbox to export all your conversations.
233-
234-
Select your export format from the dropdown on the bottom left. You can choose from the following formats.
235-
236-
- **Markdown**
237-
- **HTML**
238-
- **JSON**
239-
- **JSON (ZIP)**
240-
241-
Click the button to perform the action you want.
242-
243-
- **Archive** - Archived chat sessions will disappear from the sidebar and can be managed in ChatGPT settings. See [#199](https://github.com/nicepkg/smart-web/issues/199) for more details.
244-
- **Delete** - Deletes the selected conversations.
245-
- **Export** - Exports the selected conversations in the format chosen using the format selector.
246-
24751
## 🤝 Contribution
24852

24953
See [CONTRIBUTING.md](./CONTRIBUTING.md)

0 commit comments

Comments
 (0)