Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.18 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.18 KB

PageChat

A Chrome extension that allows you to access ChatGPT from any webpage as well as ask questions about the page you are on or summarize it.

Chat with page

Page Summary

The extension is built with React and Vite. It also uses the Vite plugin CRXJS which parses the extension's entry file manifest.json and ensures that files referenced in it are compiled and bundled.

Develop

You can run the extension in development mode using the following commands:

npm install 
npm run dev

Then, go to chrome://extensions/ and enable Developer mode in the top right corner. Then click Load unpacked and select the dist folder in the project directory. The extension should now be installed and ready to use.

Changes to the code will be automatically reflected in the extension without having to reload the extension.

Build

To build the extension in production mode, run the following command:

npm run build

Then load the dist folder as an unpacked extension as described above.