Skip to content

timolins/chatgpt-raycast

 
 

Repository files navigation

Unofficial ChatGPT Raycast extension


Run ChatGPT through Raycast extension, powered by transitive-bullshit/chatgpt-api

Warning This extension was made intentionally to be running on dev environment only. Will submit if there's an official API.

CleanShot.2022-12-07.at.00.00.33.mp4

Features

  • Ask question through full text input or search bar input
  • Save and search your saved generated answer
  • Copy answer, question, question ID, and conversational ID directly with a hotkey
  • List view as UI for better conversation flow [@timolins]
  • Share question and generated answer with shareg.pt [@timolins]
  • Use native preferences to store the Session token [@timolins]

How to use

This package requires a valid session token from ChatGPT to access it's unofficial REST API by transitive-bullshit/chatgpt-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 paste in the initialization set-up!

Session token will be stored locally using Preferences API

Install

npm install
npm run dev

About

Unofficial ChatGPT raycast extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%