This is a Chrome extension for submitting file content into a conversation in chunks. The user can select a file, and the content is then divided into chunks and submitted into the conversation.
contentScript.js
: This is the main JavaScript file for the extension. It creates a "Submit File" button and progress bar on the webpage, and handles file input, reading, chunking, and submission.manifest.json
: This is the manifest file for the Chrome extension. It defines basic metadata about the extension like its name and version, and specifies what scripts to run.
- Download or clone this repository.
- Go to the Chrome extensions page (
chrome://extensions
). - Enable Developer mode (toggle switch in the top right corner).
- Click on "Load unpacked" and select the directory containing the repository files.
- Download or clone this repository.
- Go to the Edge extensions page (
edge://extensions
). - Enable Developer mode (toggle switch in the bottom left corner).
- Click on "Load unpacked" and select the directory containing the repository files.
- After installing the extension, navigate to a webpage where you want to submit a file.
- You'll see a "Submit File" button. Click it to open the file selection dialog.
- Select a file (
.txt
,.js
,.py
,.html
,.css
,.json
, or.csv
). - The file content is read, split into chunks, and submitted into a conversation.
- A progress bar shows the progress of the file submission.
Feel free to fork this repository and submit pull requests. All contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.