Automatically fill web forms with AI-powered intelligence using your personal documents
Features • Installation • Usage • Contributing • License
Prefiller is an intelligent Chrome extension that leverages AI to automatically fill web forms based on your personal documents and context. Upload your CV, cover letter, or any relevant documents, and let AI understand your background to fill forms accurately and contextually.
Perfect for job applications, surveys, registration forms, and any repetitive form-filling tasks!
- Multiple AI Providers: Choose from Groq (recommended & FREE), Google Gemini, Anthropic Claude, or Chrome AI
- Context-Aware Responses: Generates personalized, professional responses based on your documents
- Smart Field Detection: Automatically identifies and categorizes form fields
- Multi-Line Response Support: Handles complex, multi-paragraph responses seamlessly
- Multi-Format Support: Upload TXT, PDF, DOC, DOCX files
- Intelligent Parsing: Extracts and analyzes text from your documents
- Local Storage: Your documents stay private and secure in your browser
- Modern, Clean UI: Built with Preact and Tailwind CSS
- Real-Time Feedback: Toast notifications with status updates
- Easy Configuration: Simple setup wizard for AI providers and documents
- Developer Mode: Comprehensive logging for debugging
- Local-First: All data stored locally in Chrome storage
- Encrypted API Keys: Secure storage of your API credentials
- No External Servers: Direct communication with AI providers only
- Open Source: Full transparency and community-driven development
- Node.js v16 or higher (Download)
- Chrome Browser (Download)
- AI API Key (choose one):
- Groq API Key - FREE & Recommended ⭐
- Google Gemini API Key - FREE tier available
- Anthropic Claude API Key - Paid
- Chrome AI (Built-in) - Experimental, requires Chrome flags
-
Clone the repository
git clone https://github.com/elitekaycy/prefiller.git cd prefiller -
Install dependencies
npm install
-
Build the extension
npm run build
-
Load in Chrome
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer mode (top right toggle)
- Click Load unpacked
- Select the
distfolder from the project directory
- Open Chrome and navigate to
-
Click the Prefiller icon in your Chrome toolbar
-
Choose your AI provider:
- Groq (Recommended) - Fast, free, and powerful
- Google Gemini - Reliable with free tier
- Anthropic Claude - Advanced reasoning (testing mode)
- Chrome AI - Local, experimental
-
Configure API Key (skip for Chrome AI):
- Enter your API key
- Click Verify & Connect
- Wait for successful connection confirmation
-
Upload your documents:
- Drag and drop or click to upload
- Supported formats: PDF, TXT, DOC, DOCX
- Upload CV, cover letters, portfolios, etc.
- Navigate to any webpage with forms (job applications, surveys, etc.)
- Click the Prefiller extension icon
- Click "Analyze & Fill Forms"
- Review and edit the AI-filled content as needed
- Submit your form with confidence!
- Upload comprehensive documents: Include detailed CVs, cover letters, and portfolios
- Use Groq for speed: Best balance of speed, accuracy, and free usage
- Review AI responses: Always verify AI-generated content before submission
- Keep documents updated: Refresh your uploaded documents regularly
prefiller/
├── src/
│ ├── popup/ # Extension popup UI (Preact)
│ ├── content/ # Content scripts for form detection
│ │ ├── content-bundled.ts # Main form filling logic
│ │ └── scraper.ts # Form field scraper
│ ├── background/ # Service worker
│ ├── components/ # Reusable UI components
│ ├── utils/ # Utility functions
│ │ ├── aiService.ts # AI provider abstraction
│ │ ├── gemini.ts # Gemini API client
│ │ ├── groq.ts # Groq API client
│ │ └── documentParser.ts # Document parsing
│ ├── storage/ # Chrome storage management
│ ├── types/ # TypeScript type definitions
│ └── config/ # Configuration and constants
├── public/ # Static assets
├── dist/ # Build output (generated)
└── manifest.json # Chrome extension manifest
# Development mode with hot reload
npm run dev
# Production build
npm run build
# Preview built extension
npm run preview
# Type checking
npm run type-check
# Linting
npm run lint| Technology | Purpose |
|---|---|
| Preact | Lightweight React alternative for UI |
| TypeScript | Type safety and better DX |
| Vite | Fast build tool and dev server |
| Tailwind CSS | Utility-first styling |
| Chrome Extensions API | Browser integration |
| AI APIs | Groq, Gemini, Claude for intelligence |
Contributions are welcome and appreciated! Here's how you can help:
- 🐛 Report bugs by opening an issue
- 💡 Suggest features or enhancements
- 📝 Improve documentation
- 🔧 Submit pull requests with fixes or features
- ⭐ Star the repository to show support
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Make your changes and commit
git commit -m "feat: add amazing feature" - Push to your fork
git push origin feature/amazing-feature
- Open a Pull Request with a clear description
We follow Conventional Commits:
feat:- New featurefix:- Bug fixdocs:- Documentation changesstyle:- Code style changes (formatting, etc.)refactor:- Code refactoringtest:- Adding or updating testschore:- Maintenance tasks
❌ "No forms detected on this page"
- Ensure the page has visible input fields
- Refresh the page and try again
- Check if fields are inside iframes (not currently supported)
❌ "API key validation failed"
- Verify your API key is correct for the selected provider
- Check API key format:
- Groq: starts with
gsk_ - Gemini: starts with
AIzaSy - Claude: starts with
sk-ant-
- Groq: starts with
- Ensure you have API credits/quota available
❌ "Gemini fails to connect"
- The extension uses Gemini 2.5 Flash (latest model)
- Ensure your API key is active and has quota
- Check Google AI Studio for any service disruptions
❌ Forms are partially filled
- Upload more comprehensive documents
- Try using Groq for better accuracy
- Review the form field labels - AI needs clear context
- Check Console: Open DevTools → Console for error messages
- Open an Issue: GitHub Issues
- Discussions: GitHub Discussions
This project is licensed under the MIT License - see the LICENSE file for details.
- Anthropic for Claude API
- Google for Gemini API
- Groq for lightning-fast inference
- Chrome Extensions documentation
- All contributors and supporters of this project
- Author: @elitekaycy
- Repository: github.com/elitekaycy/prefiller
- Issues: Report a bug or request a feature
Made with ❤️ by the open-source community
⭐ Star this repo if you find it helpful!