Skip to content

fillkit/in-browser

Repository files navigation

FillKit

Browser extensions for context-aware form autofill

Chrome Web Store Firefox Add-on License: MIT


FillKit reads page structure, labels, and surrounding context to detect what each field expects — then fills it with realistic, coherent data. A checkout form gets a valid card number, matching expiry, and billing address in the same city. A signup form gets a real-looking name, email, and strong password.

  • 150+ field types — names, emails, phones, addresses, credit cards, dates, UUIDs, and more
  • 50+ locales — multilingual field detection and locale-appropriate data
  • Valid & invalid modes — generate correct data or intentionally broken values for edge-case testing
  • Keyboard shortcutsCtrl+Shift+K to fill all, Alt+K for current form, Alt+H to toggle widget
  • Zero config — install and start filling. Customize via the options page when needed.

Install

Browser Link
Chrome Chrome Web Store
Firefox Firefox Add-ons

Repository Structure

├── shared/          Shared code (settings, messaging, UI, content bridge)
├── chrome/          Chrome MV3 extension
├── firefox/         Firefox MV3 extension
└── scripts/         Build and icon generation scripts

Both extensions share all UI (popup, options page) and core logic (content bridge, settings, messaging) via the shared/ directory. Browser-specific code is minimal — thin wrappers around the shared modules.

Development

Prerequisites

  • Node.js >= 18
  • npm

Setup

# Install root dependencies (esbuild, eslint, prettier, etc.)
npm install

# Install browser-specific dependencies
cd chrome && npm install && cd ..
cd firefox && npm install && cd ..

Build

# Build both extensions
npm run build

# Or build individually
npm run build:chrome
npm run build:firefox

# Generate icons (SVG -> PNG, all sizes)
npm run build:icons

After building:

  • Chrome: Load chrome/dist/ in chrome://extensions (Developer mode -> Load unpacked)
  • Firefox: Load firefox/dist/ in about:debugging#/runtime/this-firefox -> Load Temporary Add-on, or run cd firefox && npm run start

Watch Mode

Watches JS source files and rebuilds on changes. HTML/CSS changes require a manual re-run.

cd chrome && npm run watch   # Rebuilds on file changes
cd firefox && npm run watch

Quality Checks

npm run lint:check      # ESLint (zero warnings)
npm run format:check    # Prettier
npm run validate        # Both lint + format

Package for Store Submission

# Chrome — creates .zip in chrome/packages/
cd chrome && npm run package

# Firefox — creates .zip in firefox/web-ext-artifacts/
cd firefox && npm run package

# Firefox — lint manifest and built extension
cd firefox && npm run lint:web-ext

See docs/publish-ext.md for the full store submission guide.

Keyboard Shortcuts

Shortcut Action
Ctrl+Shift+K Fill all forms on page
Alt+K Fill current form
Ctrl+Shift+L Clear all filled data
Alt+L Clear current form
Ctrl+M Toggle valid/invalid mode
Alt+H Show/hide widget
Alt+I Toggle fill mode (widget/inline)
Ctrl+, Open settings
Ctrl+/ Open help
Ctrl+Shift+M Shuffle widget position
Alt+E Rotate widget orientation

Intended Use

FillKit is designed exclusively for development, QA testing, and demo environments. All generated data is synthetic — realistic but entirely fake. FillKit is not intended for filling real forms with real personal information.

Privacy

The extensions request broad host permissions (<all_urls>) solely to detect and autofill forms on any page during development or testing. All processing happens locally on your device — no form data, field values, or page content is transmitted to any server. The extensions store only your preferences (locale, mode, shortcuts) in your browser's sync storage.

A future version will support an optional, opt-in connection to FillKit Cloud for enhanced field detection. When enabled, only form structure metadata (field labels, input types, HTML attributes) will be sent — never form values. Cloud mode will require explicit opt-in with an API token.

Full details: Privacy Policy | Terms of Service

Powered By

Built on @fillkit/core — the same SDK available for programmatic use in your tests, demos, and development workflows.

fillkit.dev | SDK Documentation

License

MIT

About

Browser Extension codebase for - FillKit - Context-aware form autofill with realistic data

Topics

Resources

License

Stars

Watchers

Forks

Contributors