Tab2Form enhances form interactions on web pages by enabling autocomplete functionality using data from another Chrome tab.
- Autofill web forms using data from another tab
- Supports
input
andtextarea
elements (more input types to be added) - Lightweight and easy to integrate
Ensure you have Node.js and npm installed before proceeding.
- Clone the repository:
git clone https://github.com/yourusername/tab2form.git
- Navigate to the project directory:
cd tab2form
- Install dependencies:
npm install
Setting the OpenAI API Token by creating a .env file in the project root and add
VITE_OPENAI_KEY=
Start the development server with:
npm run dev
This project is in its early stages, and several enhancements are needed:
- Set OpenAI token via extension for non-developers
- Better form detection for more accurate autofill
- Support for standalone inputs (not wrapped inside a
<form>
) - Handling all input types beyond
input
andtextarea
- Codebase improvements (initial version focused on speed, now refining quality)
- Compatibility with native and third-party form libraries (e.g.,
react-hook-form
)
We welcome contributions! Feel free to submit issues, suggestions, or pull requests to help improve Tab2Form.
- wxt:An open source tool that makes web extension development faster than ever before.
- OpenAI SDK: Utilized for integrating advanced AI functionalities.
This project is licensed under the MIT License.