a chrome extension that performs web browsing actions autonomously to complete a given goal/task (using LLM as a brain).
Node.js
version is >= 14.npm install
to install the dependencies..env.template
and rename the file to .env
run these commands to run everything locally:
$ cd clickolas-cage
$ npm run dev
and in a seperate terminal:
$ npx @portkey-ai/gateway
This runs the chrome extension locally.
To link the running extension to chrome:
clickolas-cage/build
folderThe main source files are:
src/popup/popup.jsx
The popup window that shows when you press the extension iconsrc/background/background.js
Persists and facilitates planningsrc/contentScript/contentScript.js
Executes on web pages, executes actions and scrapes elementssrc/utils.js
Helper functionssrc/llm-utils.js
LLM helper functionsAfter the development of your extension run the command
$ npm run build
Now, the content of build
folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the official guide to more infos about publishing.