Enhance your productivity with AI platforms by saving and reusing prompts. This extension allows you to save your input prompts and reuse them effortlessly in ChatGPT and Gemini.
We are participating in Hacktoberfest 2024! If you’re looking to contribute, we would love your help. Check out the issues labeled with hacktoberfest
and good-first-issue
to get started.
Feel free to fork the repository and submit your pull requests to help us improve the extension.
- Single Click: Save the current text from the input field to the browser's local storage. If there is already saved content for that URL, it will paste that content into the input field.
- Double Click: Append the saved text to whatever text is currently in the input field, ensuring efficient reuse of prompts.
- Right Click: Access a context menu with options to clear all saved texts and navigate to the GitHub page for the extension.
-
Single Click:
- If there's text in the input field, it will be saved to the browser's local storage for the current URL.
- If the input field is empty and there's already saved data associated with the current URL, that data will be retrieved from local storage and inserted into the input field.
-
Double Click:
- This will always append the saved text from local storage to the input field below the current content, with an empty line before the appended text.
-
Right Click:
- Clear All Saved Data: Clears all saved data from the local storage.
- Go to GitHub Page: Navigates to the GitHub page for the extension.
- Clone or download this repository to your local machine.
- Open Chrome and go to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top right corner.
- Click on "Load unpacked" and select the directory where you cloned/downloaded this repository.
-
Fork this repository.
-
Clone your fork:
git clone https://github.com/YOUR-USERNAME/promt-save-reuse-chatgpt-and-gemini.git
-
Navigate into the project directory:
cd promt-save-reuse-chatgpt-and-gemini
-
Install dependencies if necessary.
-
Load the extension in Chrome for testing:
- Go to
chrome://extensions/
. - Enable "Developer mode".
- Click on "Load unpacked" and select the project directory.
- Go to
-
Make changes, test, and create a pull request following the guidelines in the
CONTRIBUTING.md
file.
The manifest.json
file configures the extension, specifying permissions, scripts, and other settings.
Handles the click events on the extension icon and manages context menu actions.
No specific code is required in content.js
for this functionality as it is managed by the injected functions in the background script.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
Make sure to check out the issues labeled with good-first-issue
and hacktoberfest
for beginner-friendly contributions.
If you have any questions or want to discuss contributions, feel free to reach out:
- Open an issue on GitHub
- Connect with us on LinkedIn: Your LinkedIn Profile
Distributed under the MIT License. See LICENSE for more information.