Harry
commited on
Add image of repo and fix some error in README.md (#27)
Browse files- .readme/Bing_favicon.png +0 -0
- README.md +19 -23
.readme/Bing_favicon.png
ADDED
![]() |
README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
<div align="center">
|
|
|
2 |
|
3 |
-
# Edge GPT
|
4 |
|
5 |
-
*The reverse engineering the chat feature of the new version of Bing
|
6 |
|
7 |
</div>
|
8 |
|
@@ -20,8 +21,10 @@
|
|
20 |
## Table of Contents
|
21 |
- [Steup](#steup)
|
22 |
- [Usage](#usage)
|
|
|
|
|
23 |
- [Work in progress](#work-in-progress)
|
24 |
-
- [
|
25 |
|
26 |
## Steup
|
27 |
|
@@ -29,27 +32,20 @@
|
|
29 |
```bash
|
30 |
python3 -m pip install EdgeGPT
|
31 |
```
|
32 |
-
|
33 |
-
<details>
|
34 |
-
<summary>
|
35 |
-
|
36 |
-
### Requirements (Required)
|
37 |
|
38 |
-
|
39 |
|
40 |
-
- A Microsoft Account with early access to http://bing.com/chat
|
41 |
-
- Microsoft Edge
|
42 |
- python 3.7+
|
43 |
-
|
44 |
-
|
45 |
|
46 |
|
47 |
<details>
|
48 |
-
<summary>
|
49 |
|
50 |
-
|
51 |
|
52 |
-
</summary>
|
53 |
|
54 |
- Install the latest version of Microsoft Edge
|
55 |
- Open http://bing.com/chat
|
@@ -59,11 +55,11 @@ python3 -m pip install EdgeGPT
|
|
59 |
|
60 |
|
61 |
<details>
|
62 |
-
<summary>
|
63 |
|
64 |
-
|
65 |
|
66 |
-
</summary>
|
67 |
|
68 |
- Open the developer tools (F12)
|
69 |
- Go to the Application tab → Storage → Cookies
|
@@ -76,8 +72,7 @@ python3 -m pip install EdgeGPT
|
|
76 |
|
77 |
## Usage
|
78 |
|
79 |
-
###
|
80 |
-
|
81 |
|
82 |
```
|
83 |
$ python3 -m EdgeGPT -h
|
@@ -91,7 +86,7 @@ python3 -m pip install EdgeGPT
|
|
91 |
Type !exit to exit
|
92 |
Enter twice to send message
|
93 |
|
94 |
-
usage: EdgeGPT.py [-h] [--stream] [--bing-cookie BING_COOKIE]
|
95 |
|
96 |
options:
|
97 |
-h, --help show this help message and exit
|
@@ -99,8 +94,9 @@ options:
|
|
99 |
--bing-cookie BING_COOKIE (Required)
|
100 |
```
|
101 |
|
|
|
102 |
|
103 |
-
|
104 |
Use Async for the best experience
|
105 |
|
106 |
[Reference code](https://github.com/acheong08/EdgeGPT/blob/master/src/EdgeGPT.py#L268-L328) for more advanced example of usage
|
|
|
1 |
<div align="center">
|
2 |
+
<img src="https://socialify.git.ci/acheong08/EdgeGPT/image?font=Inter&language=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2FHarry-Jing%2FEdgeGPT%2Fmaster%2F.readme%2FBing_favicon.png&owner=1&pattern=Floating%20Cogs&theme=Auto" alt="EdgeGPT" width="640" height="320" />
|
3 |
|
4 |
+
# Edge GPT
|
5 |
|
6 |
+
*The reverse engineering the chat feature of the new version of Bing*
|
7 |
|
8 |
</div>
|
9 |
|
|
|
21 |
## Table of Contents
|
22 |
- [Steup](#steup)
|
23 |
- [Usage](#usage)
|
24 |
+
- [Quick start](#quick-start)
|
25 |
+
- [Developer demo](#developer-demo)
|
26 |
- [Work in progress](#work-in-progress)
|
27 |
+
- [Contributors](#contributors)
|
28 |
|
29 |
## Steup
|
30 |
|
|
|
32 |
```bash
|
33 |
python3 -m pip install EdgeGPT
|
34 |
```
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
+
### Requirements
|
37 |
|
|
|
|
|
38 |
- python 3.7+
|
39 |
+
- Microsoft Edge
|
40 |
+
- A Microsoft Account with early access to http://bing.com/chat
|
41 |
|
42 |
|
43 |
<details>
|
44 |
+
<summary>
|
45 |
|
46 |
+
### Checking access
|
47 |
|
48 |
+
</summary>
|
49 |
|
50 |
- Install the latest version of Microsoft Edge
|
51 |
- Open http://bing.com/chat
|
|
|
55 |
|
56 |
|
57 |
<details>
|
58 |
+
<summary>
|
59 |
|
60 |
+
### Getting authentication
|
61 |
|
62 |
+
</summary>
|
63 |
|
64 |
- Open the developer tools (F12)
|
65 |
- Go to the Application tab → Storage → Cookies
|
|
|
72 |
|
73 |
## Usage
|
74 |
|
75 |
+
### Quick start
|
|
|
76 |
|
77 |
```
|
78 |
$ python3 -m EdgeGPT -h
|
|
|
86 |
Type !exit to exit
|
87 |
Enter twice to send message
|
88 |
|
89 |
+
usage: EdgeGPT.py [-h] [--no-stream] [--bing-cookie BING_COOKIE]
|
90 |
|
91 |
options:
|
92 |
-h, --help show this help message and exit
|
|
|
94 |
--bing-cookie BING_COOKIE (Required)
|
95 |
```
|
96 |
|
97 |
+
-----
|
98 |
|
99 |
+
### Developer demo
|
100 |
Use Async for the best experience
|
101 |
|
102 |
[Reference code](https://github.com/acheong08/EdgeGPT/blob/master/src/EdgeGPT.py#L268-L328) for more advanced example of usage
|