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.
This extension requires a valid session token from ChatGPT to access it's unofficial REST API.
To get a session token:
- Go to https://chat.openai.com/chat and log in or sign up.
- Open dev tools.
- Open
Application
>Cookies
. - Copy the value for
__Secure-next-auth.session-token
and save it to your environment.
- transitive-bullshit/chatgpt-api for simplifying interaction with ChatGPT API
- abielzulio/chatgpt-raycast for some inspiration
- OpenAI for creating ChatGPT