This repository contains a web extension developed during a hackathon. The extension allows customers and users to report bugs and provide feedback directly through the browser.
- Feedback Submission: Users can submit feedback and bug reports via the extension.
- Data Processing: Feedback is sent to an external URL (utilizing Zapier).
- Automation: Feedback is processed by GPT and sent to relevant Slack channels for further action.
- Download the repository, build it, and get the final extension fiels from the /dist folder.
- Install the extension in your browser.
- Click the extension icon to open the feedback form.
- Fill out the form with your feedback or bug report.
- Submit the form.
-
Clone the Repository:
git clone <repository-url> cd <repository-directory>
-
Create and Activate Virtual Environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts�ctivate
-
Install Dependencies:
npm install
-
Build the Extension:
npm run build
-
Load Extension in Chrome:
- Open
chrome://extensions/
. - Enable "Developer mode".
- Click "Load unpacked" and select the
dist
directory.
- Open
- The extension is currently set up to run with Lusha configurations. To customize for your own use:
- Update the Site URL: Edit the
manifest.json
file and update thepermissions
andmatches
fields with your own site URL. - Set Up Environment Variables: Replace the existing secret in your
.env
file with your own URL. - Modify External URL: Ensure the external URL in the
background.ts
file points to your own endpoint instead of the default Zapier URL.
- Update the Site URL: Edit the
Feel free to fork this repository and submit pull requests. For major changes, please open an issue to discuss what you would like to change.
This project is licensed under the MIT License.