Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Commit c0979b4

Browse files
authored
Merge pull request #3 from muharamdani/feature/automation-login
Feature/automation login
2 parents 73c99f7 + a70a85b commit c0979b4

File tree

10 files changed

+2800
-149
lines changed

10 files changed

+2800
-149
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# Quora Poe
2-
This is a CLI tool to call the Quora Poe API through GraphQL. It is a work in progress, and currently only supports the following:
3-
- Chat with 4 types of bots (Sage, Claude, ChatGPT, and Dragonfly)
4-
- Clear the chat history
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+
- Auto login using temporary phone number, so you don't need to use your own email/phone number.
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 QUORA_FORMKEY and QUORA_COOKIE.
6+
- Chat with 4 types of bots (Sage, Claude, ChatGPT, and Dragonfly).
7+
- Clear the chat history.
58

69
## Installation
710
- Copy the .env.example file to .env and fill in the required fields
11+
- Copy the config.example.json file to config.json
812
- Run the following command to install the dependencies:
913

1014
```
@@ -21,12 +25,13 @@ npm start
2125

2226
## Requirements
2327

28+
[Only for manual login]
2429
To use this API, you will need to have the following:
2530
- Quora-Formkey: This is obtained by logging in to Quora.com, viewing the page source, and finding the "formkey" dictionary key.
2631
- 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 to get it.
2732
- Put the above two in a .env file in the root directory of the project
2833

29-
Note: Next plan is to semi automate this things
34+
Note: Next plan is to add stream support, so you can get tha chat responses in real time.
3035

3136
## Dependencies
3237
- @apollo/client

config.example.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"quora_formkey":"","quora_cookie":""}

0 commit comments

Comments
 (0)