Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
/ poe-api-cli Public archive

A very basic command line interface for poe-api

License

Notifications You must be signed in to change notification settings

riolubruh/poe-api-cli

Repository files navigation

poe-api-cli

poe-api-cli is an easy-to-use interface for poe-api, a reverse-engineered API wrapper for Quora's Poe. With poe-api-cli, you can freely access OpenAI's ChatGPT, GPT-4, Antropic's Claude, and more.

For more information and help, please visit poe-api's documentation.

Features

  • The token environment variable is used in poe-api-cli. If the variable is not set, poe-api-cli will prompt you to input it.
  • Automatically fetches and prints the available bots and asks you to select which one you want to use.
  • Use the following commands in the "Enter prompt" field:
    • /clear: Clears the conversation history.
    • /changebot: Allows you to switch between different available bots.
    • /purge: Deletes all conversation history.

Usage

usage

To get started, please follow the steps below:

To get started, I recommend you visit poe-api's documentation on how to get your token. Once done, simply run the CLI tool.

  1. Clone the repository using git clone https://github.com/riolubruh/poe-api-cli.git or download and extract the ZIP file.
  2. Open a terminal window and navigate to the project directory.
  3. Install the dependencies by running pip install -r requirements.txt.
  4. Set the token environment variable using export token=YOUR_TOKEN_HERE (on Linux/macOS) or set token=YOUR_TOKEN_HERE (on Windows).
  5. Run the CLI tool using python3 main.py.

You can also try out poe-api-cli on Repl.it.

Run on Repl.it


poe-api-cli is a straightforward tool for interacting with OpenAI's and Antropic's language models.

About

A very basic command line interface for poe-api

Topics

Resources

License

Stars

Watchers

Forks