AI Built Chrome Extension That Can Write Code to Manipulate Web Page Contents Using The Same AI API
Google Chrome
- Clone the repository.
- In Chrome, go to the extensions page (
chrome://extensions
). - Enable Developer Mode.
- Drag the
src
directory anywhere on the page to import it (do not delete the folder afterwards).
Notes
- This repository is just a simple code demonstration of the power of OpenAI's Codex model.
- You need to have an active OpenAI API account. If you don't, get one from OpenAI.
- You need to add your API key to the
src/js/content.js
file. - You can use pretty much any natural language you want as far as it is supported by OpenAI. I tested English and Arabic and both of them work fine.
- The file
openai-codex.txt
contains the used commands to generate the extension code and the generated code itself.
License The code is licensed under the GPLv3+: http://www.gnu.org/licenses/gpl-3.0.html.