timolins / chatgpt-raycast

Unofficial ChatGPT raycast extension

Home Page:https://chat.openai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://chat.openai.com

License:MIT License


Languages

Language:TypeScript 100.0%