You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,14 @@
2
2
This is a CLI tool to call the Quora Poe API through GraphQL. It is a work in progress, and currently supports the following:
3
3
- Auto login using temporary email, so you don't need to use your own email/phone number.
4
4
- Semi auto login using your own email/phone number, you need to enter the OTP manually.
5
-
- Manually login using formkey and cookie, set in the .env file on FORMKEY and COOKIE.
6
5
- Chat with 4 types of bots (Sage, Claude, ChatGPT, and Dragonfly).
7
6
- Clear the chat history.
8
7
8
+
## Requirements
9
+
- NodeJS 16.0.0 or higher
10
+
- NPM
11
+
9
12
## Installation
10
-
- Copy the .env.example file to .env and fill in the required fields
11
13
- Copy the config.example.json file to config.json
12
14
- Run the following command to install the dependencies:
13
15
@@ -23,16 +25,6 @@ To start, run:
23
25
npm start
24
26
```
25
27
26
-
## Requirements
27
-
28
-
[Only for manual login]
29
-
To use this API, you will need to have the following:
30
-
- Quora-Formkey: This is obtained by **logging in** to quora.com, and open https://www.quora.com/poe_api/settings, copy the value of the formkey field.
31
-
- Cookie: 'm-b=xxxx' - This is the value of the cookie with the key m-b, which is present in the list of cookies used on quora.com, you can simply inspect cookies in Chrome, open chrome dev tools-->Application tab-->Open Cookies dropdwon .
32
-
- Put the above two in a .env file in the root directory of the project
33
-
34
-
Note: Next plan is to add stream support, so you can get tha chat responses in real time.
35
-
36
28
## TODO List
37
29
-[ ] Add support for relogin after session expires
0 commit comments