Skip to content

Smart your text Input or selected text with AI-Powered Prompts in your browser

Notifications You must be signed in to change notification settings

sonnhfit/son-ai-smart-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Input Assistant

Smart Input Assistant is a Chrome extension that enhances your text input experience with customizable prompts and AI-powered text generation. DEMO video

Features

  • Quick access to customizable prompts
  • AI-powered text generation using OpenAI's GPT models
  • Works with any text input field or selected text on web pages
  • Easy-to-use popup interface for managing prompts and settings

Installation

  1. Download or clone this repository.
  2. Open Chrome and go to chrome://extensions/.
  3. Enable "Developer mode" in the top right corner.
  4. Click "Load unpacked" and select the directory containing the extension files.

Usage

  1. Click on the extension icon in your Chrome toolbar to open the popup.
  2. Enter your OpenAI API key in the settings.
  3. Add custom prompts that you frequently use.
  4. On any webpage, focus on a text input field or select some text.
  5. Use the keyboard shortcut (default: Ctrl+Shift+F) or right-click and select "Open Smart Input Assistant" from the context menu.
  6. A text box will appear with your custom prompt buttons at the top.
  7. Click on a prompt button to add its content to the text box, or type your own text.
  8. Click "Submit" to send the text to the AI for processing.
  9. The generated text will replace the content in the input field or appear in the text box if no input field is focused.

Customization

  • Add, edit, or delete prompts from the extension popup.
  • Choose between different GPT models in the settings.

Privacy and Security

  • Your OpenAI API key is stored locally in your browser and is never sent to our servers.
  • All API calls are made directly from your browser to OpenAI's servers.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • OpenAI for providing the GPT API
  • The Chrome Extensions team for their excellent documentation

Support

If you encounter any issues or have any questions, please open an issue on this GitHub repository.