Skip to content
JohnnyOpcodePublic

About

A Chrome Browser Extension to Remix Sites (like LinkedIn) using browser extensions that are AI generated.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 ReMixr

The Ultimate Meta-Extension Builder & Web Analysis Suite

ReMixr Overview

ReMixr is a powerful browser extension that lets you build other browser extensions directly in your browser. It combines an AI-powered development environment (IDE) with a suite of sophisticated analysis and hacking ("MacGyver") tools, effectively giving you "Developer Superpowers" over any website.

✨ Features

πŸ› οΈ Extension Builder IDE

  • Extension Wizard: Configure and generate fully bespoke Chrome extensions with a comprehensive wizard interface
    • Choose extension type (Content Script, Popup, Side Panel, Page Action)
    • Select from 10+ features (Background Worker, Storage, Tabs, Notifications, etc.)
    • Configure permissions and behaviors
    • Support for multiple UI frameworks (Vanilla JS, React, Vue, Svelte)

Templates and Wizard

  • Feature Injector: Add features to any project with one click
    • Inject 26 features from the wizard into any extension
    • Core Features: Storage, Tabs, Notifications, Context Menu, Background, Bookmarks, History, Downloads, Cookies, Web Request
    • UI Components: Side Panel, Theme Toggle, Keyboard Shortcuts, Badge Counter
    • Behaviors: Sync Storage, Auto-Open, Persist State, Match Site Style, Auto-Run, Analytics, Hot Reload, Error Tracking
    • Works with templates, wizard-generated, or AI-generated projects
    • Automatically updates manifest and adds working code
  • 13 Quick Templates: Start with professional, working templates:
    • πŸš€ Starter, 🎨 Content Modifier, πŸ“Š Data Extractor, ⏱️ Productivity Timer, πŸ”§ Popup Tool
    • πŸ“‘ Tab Manager, πŸ”– Bookmark Organizer, πŸ“ Form Filler
    • πŸŒ™ Universal Dark Mode, πŸ›‘οΈ Ad Blocker, πŸ“Έ Screenshot Tool
    • πŸ” Password Generator, πŸ“ Quick Notes
  • AI-Powered Generation (your provider, your key): Describe your idea ("Make all backgrounds pink", "Extract emails"), and ReMixr builds the code with OpenAI, Anthropic, Gemini, local Ollama, or any OpenAI-compatible endpoint β€” grounded in SITE_CONTEXT and validated before it loads
    • Configure in the Code tab β†’ AI GENERATION (provider, model, base URL, API key stored locally in extension storage)
    • Test pings the provider; Generate produces validated MV3 files, blocked with inline errors if the model output fails checks
    • One automatic repair retry is attempted on gate failure; every generation stores lineage (provider, model, prompt version, site, repairs)
    • Context is redacted (emails, keys, tokens) before non-local providers; local endpoints receive full context
    • Auto (recommended) picks the provider per task β€” cheapest/local first for pings, most capable configured key first for generation β€” with per-provider keys stored locally
    • Outcomes are tracked locally to re-rank Auto over time; an optional proxy endpoint can hold keys server-side (prefer or required) so they never leave your infrastructure
    • Every call is cost-estimated with an optional per-generation budget cap; the Tools tab β†’ Harness panel shows routing stats, lineage, costs, and a reset
    • Refine applies the brief as a change to the open project (with history and Undo); Validate grades SITE_CONTEXT extraction across open tabs
    • The UI Builder tries your provider first and falls back to the offline designer; Compare runs one brief on every configured provider with cost confirmation and one-click winner loading
    • Cached contexts are deep-redacted on every string field; truncated model output is repaired rather than failing outright
    • The UI Builder retries once on bad markup before falling back; the health view carries a redaction ledger from generation lineage
    • Project files and page HTML are redacted before refining or designing; local model names can be detected from the endpoint
    • The workflow pipeline explains its runs in plain language; temperature and output-token controls sit beside the budget cap
    • Project switches keep identity and lineage with one-level undo; saving matches by id so builder loads never duplicate projects
    • Strategy-remix apply and project-list switches are undoable too, with the restored project written back by id so undo persists
    • Truncation accounting: every DNA cap (CSS rules, variables, fonts, keyframes, media blocks, skeleton lines, vocabulary, patterns) is recorded per run and aggregated across validation runs, with inline "N more" notices in the extracted markdown
    • Code-safe redaction for generation inputs (emails/keys still stripped; identifiers and tokens the model must reproduce are preserved) and untrusted-content fencing around site content and repair retries, so hostile pages cannot impersonate harness directives
    • Routing learns on measured latencies only β€” summary verdicts record success/repairs without timing β€” and previews render in sandboxed iframes while panel text is escaped
    • Rate-limit and transient failures (HTTP 429/503, timeouts) are retried with backoff honoring the provider's Retry-After, before failing over or burning a repair turn; auth errors throw immediately, the panel toasts retry countdowns, and lineage records transport retries with a Retries column in Harness Health
    • Storage is first-class: Harness Health shows live usage against quota, quota save failures name the pending size and suggest Export or pruning old projects, and the per-hostname site-context cache keeps only the newest 20 entries so heavy multi-site use cannot grow into the quota
    • Spend-bearing AI runs are serialized through a run gate: starting Generate, Refine, Benchmark, or the designer while one holds the gate refuses with a named busy message instead of double-spending and interleaving lineage
    • Prompt-injection posture is pinned by an offline adversarial eval corpus: fence-breakout payloads stay inside a single fence pair in every prompt builder (embedded markers are neutralized), every system prompt states the data-only rule, and embedded secrets are redacted before prompts are built.
  • Professional Editor: Integrated CodeMirror editor with Dracula theme, syntax highlighting, and live preview

Code Editor

  • One-Click Export: Generates unique, ready-to-install .zip packages with custom icons
  • Project Management: Save, clone, and manage multiple extension projects in a dedicated dashboard

Project Dashboard

πŸ” Deep Analysis Suite

  • Interactive Inspector: Point-and-click to identify unique CSS selectors
  • Visualizer: View the DOM as a stunning D3.js Force-Directed Graph

Deep Analysis & Inspector

  • Tech Stack Detector: Identify frameworks (React, Vue, Next.js) used on the page
  • Performance: Metrics on load times, asset counts, and storage usage
  • Psychological Analysis: Detect dark patterns, persuasion techniques, and emotional design
  • SEO & Accessibility: Comprehensive health checks

οΏ½ SITE_CONTEXT Extraction (Phase 2B)

The Competitive Moat: Context-Augmented Development

ReMixr's killer feature is reverse-engineering websites and extracting comprehensive context that supercharges AI code generation:

  • Unified Context Aggregation: Combines all 14 analysis types into a single SITE_CONTEXT object
  • Quality Scoring: Calculates extraction quality (0-100%) to ensure LLM-ready data
  • Smart Compression: Optimizes context to <4000 tokens for efficient LLM processing
  • LLM Prompt Generation: Automatically creates context-rich prompts for GPT-4/Claude
  • Chrome Storage Caching: Reuses extracted context for 1-hour period
  • One-Click Export: Copy LLM-ready prompts directly to ChatGPT/Claude

What Gets Extracted:

  • πŸ—οΈ Structure: DOM depth, node counts, semantic hierarchy
  • 🎨 Design: Color palette, typography, spacing patterns
  • 🧬 Tech Stack: Frameworks, libraries, build tools detected
  • πŸ“œ Code Patterns: Script architecture, event handlers, API calls
  • πŸ”— Interactions: Navigation patterns, forms, CTAs
  • 🧠 Psychology: Dark patterns, persuasion techniques, UX strategies
  • ⚑ Performance: Load times, asset counts, optimization opportunities
  • β™Ώ Quality: Accessibility & SEO health metrics

Why This Matters: Generic AI code generation is table stakes. ReMixr provides LLMs with deep site-specific intelligence that competitors cannot matchβ€”enabling generation of extensions that are perfectly adapted to the target website's structure, patterns, and behavior.

Usage:

  1. Run desired scans (Structure, Palette, Stack, Code, Psyche, etc.)
  2. Click "Extract SITE_CONTEXT" button (purple gradient button in Scan Suite)
  3. Review quality score and extracted data
  4. Click "Copy LLM Prompt" to generate context-augmented prompt
  5. Click Generate in the Code tab β†’ AI GENERATION (or paste a copied prompt into your own provider)
  6. Get superior, site-specific extension code

�🧰 MacGyver Tools (Operations)

  • Reality Distortion: Edit text on any page, Zap elements instantly, View Wireframes
  • Lock Picking: Unmask passwords, Force-enable disabled inputs, Remove sticky headers
  • Exfiltration: One-click export of all Links, Colors, or specialized Data

MacGyver Tools

πŸš€ Installation

From Source (Developer Mode)

  1. Build the Project:

    npm install
    npm run build

    This creates a clean build/ directory.

  2. Load into Chrome:

    • Open chrome://extensions/
    • Enable Developer mode (top right)
    • Click Load unpacked
    • Select the ReMixr/build folder

πŸ“– Usage Guide

⌨️ Keyboard Shortcuts

Boost your productivity with these shortcuts:

Shortcut Action
Ctrl+S (Mac: Cmd+S) Save Project
Ctrl+E (Mac: Cmd+E) Export Extension
Ctrl+P (Mac: Cmd+P) Preview
Ctrl+N (Mac: Cmd+N) New Project
Ctrl+/ (Mac: Cmd+/) Show Keyboard Help
Esc Close Preview/Modal

Tip: Press Ctrl+/ anytime to see the shortcuts overlay!

Quick Start with Templates

  1. Browse Templates: Go to the Templates tab
  2. Select a Template: Click any template card (e.g., "Tab Manager", "Dark Mode")
  3. Customize: Template loads in Builder - edit as needed
  4. Export: Click "Download ZIP" and load into Chrome

Create Bespoke Extension with Wizard

  1. Open Wizard: Go to Templates tab, scroll to "Extension Wizard"
  2. Configure:
    • Enter name and description
    • Select extension type
    • Check desired features
    • Configure permissions and behaviors
  3. Generate: Click "Generate Extension"
  4. Customize: Extension loads in Builder ready for editing
  5. Export: Download and install

Analysis Workflow

  1. Analysis Phase: Before building, understand your target

    • Use the Inspector tab to scan the site
    • Use Inspector toggle to find CSS selectors
    • Check Visualize to see the site complexity
  2. Operational Phase: Test your theories

    • Use Tools β†’ Edit Mode to rewrite page copy live
    • Use Tools β†’ Zap to clear clutter
  3. Build Phase:

    • Go to Builder
    • Use AI prompt or wizard to generate code
    • Preview your changes live
    • Export your new extension

πŸ›‘οΈ Built-in Validation & Security

ReMixr includes intelligent validation to help you build secure, compliant extensions:

Manifest Validation:

  • βœ… Manifest V3 compliance checking
  • βœ… Required fields verification
  • βœ… Permission security auditing
  • βœ… Format validation (version, name length, etc.)
  • ⚠️ Automatic warnings on save with detailed error messages

Permission Auditing:

  • 🟒 Security score (0-100) based on permission scope
  • πŸ”΄ Warns about dangerous permissions (<all_urls>, webRequest, etc.)
  • 🟑 Suggests privacy-friendly alternatives (e.g., activeTab instead of tabs)

Code Validation:

  • βœ… JavaScript syntax checking
  • βœ… CSP violation detection (eval() usage)
  • βœ… Deprecated API warnings (Manifest V2 APIs)

All validation runs automatically when you saveβ€”no configuration needed!

πŸ“š Documentation

πŸ—ΊοΈ Roadmap

  • Phase 1: βœ… Extension Wizard & Expanded Templates (Complete)
  • Phase 2: βœ… Validation, Keyboard Shortcuts, Security Features (Complete)
  • Phase 2B: πŸ”„ SITE_CONTEXT Extraction (In Progress)
    • βœ… Context aggregation system
    • βœ… Quality scoring algorithm
    • βœ… LLM prompt generation
    • βœ… Chrome storage caching
    • πŸ”„ Multi-site validation testing
    • βœ… Full LLM API integration (OpenAI, Anthropic, Gemini, Ollama, custom endpoints; repair loop, learned routing, cost caps)
  • Phase 3: Cloud Gallery for sharing user-created Remixes
  • Phase 4: Automated Chrome Web Store publishing

🎯 Key Capabilities

What You Can Build

  • Content Modifiers: Change how websites look and behave
  • Data Extractors: Scrape and export data from pages
  • Productivity Tools: Tab managers, timers, note-takers
  • Privacy Tools: Ad blockers, password generators
  • Utility Extensions: Screenshot tools, form fillers
  • Custom Solutions: Anything you can imagine!

Supported Features

  • βœ… Content Scripts
  • βœ… Background Service Workers
  • βœ… Browser Actions (Popups)
  • βœ… Side Panels
  • βœ… Context Menus
  • βœ… Keyboard Shortcuts
  • βœ… Storage (Local & Sync)
  • βœ… Tab Management
  • βœ… Notifications
  • βœ… And much more!

πŸ“„ License

Licensed under the Apache License, Version 2.0. Copyright 2026 John Kost. See LICENSE for details.

πŸ™ Acknowledgments

Built with:


Ready to build? Install ReMixr and start creating Chrome extensions in minutes!

About

A Chrome Browser Extension to Remix Sites (like LinkedIn) using browser extensions that are AI generated.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages