domnantas / raycast-chatgpt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAI ChatGPT

Warning

OpenAI has implemented additional security measures for their backend, so this no longer works. I will not be maintaining this extension, it was just a fun weekend project. As an alternative, check out abielzulio/chatgpt-raycast

Prompt OpenAI ChatGPT using Raycast. Extension uses unofficial API. It can stop working anytime and it may be breaking OpenAI ChatGPT Terms of Service. Use at your own risk.

Authorization

This extension requires a valid session token from ChatGPT to access it's unofficial REST API.

To get a session token:

  1. Go to https://chat.openai.com/chat and log in or sign up.
  2. Open dev tools.
  3. Open Application > Cookies. ChatGPT cookies
  4. Copy the value for __Secure-next-auth.session-token and save it to your environment.

Credits

About

License:MIT License


Languages

Language:TypeScript 100.0%