Skip to content

⚡️ Electron app with menubar utilising GPT3 OpenAI (ChatGPT)

Notifications You must be signed in to change notification settings

chrisjarn/aichats

Repository files navigation

AIChats 🚀

Electron app with menubar utlizing GPT-3 OpenAI (ChatGPT). Theme is based on iMessage and a mix of insta & fb messenger. Made with

  • Vue.Js
  • TailwindCSS
  • SCSS
  • Electron
  • Typescript
  • MenuBar dependency

Project setup

 - npm install
 - sign up to openAI and retrieve the API key. You'll need to insert this in src/openai/openai.js - const OPENAI_API_KEY = "insert api key here".
 - demo contact name can be changed in democontacts.ts, can also add another contact and multiple chats running. 

Project Run

 - npm run build - this will create a dist folder that electron will use to run 
 - npm run electron:start - this will fire up electron and menubar, only the menubar instance will be visible, if you want the electron browser window to be visible. Look in main.js in the root and uncomment createWindow 

Project Build

 - npm run make - will create an out & make folder. Executable file will be in here.
 This will make an executable file based on the OS you're currently using

Recording 2023-02-20 at 10 01 32