π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
docs: update AGENTS.md design system + README badges to indigo palette
Luis Ortiz90cddb0ac241
diff --git a/AGENTS.md b/AGENTS.mdindex 66f8f48..11f354b 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -43,13 +43,15 @@ src/β β βββ spa-nav.ts # SPA navigation trackingβ β βββ start-notification.ts # Recording notification overlayβ β βββ step-description.ts # Fallback rule-based descriptions-β βββ export/ # HTML, PDF, Markdown export generators+β βββ blur/ # Smart blur: regex presets, DOM scanner, element picker, panel UI+β βββ export/ # HTML, PDF, Markdown export generators + shared utilsβ βββ guides/ # Data layer: types, Dexie DB, CRUD serviceβββ entrypoints/ # Chrome extension entry points (WXT)β βββ background/ # Service worker: state machine, message handlers, tab managementβ βββ content.ts # Content script: CaptureSession, event listeners, rrwebβ βββ sidepanel/ # Side panel React mountβ βββ fullview/ # Full-page view React mount+β βββ onboarding/ # Onboarding wizard (opens on first install)β βββ options/ # Settings page React mountβββ lib/ # Shared utilitiesβ βββ messaging.ts # Extension messaging protocol (webext-core)@@ -79,6 +81,8 @@ src/β βββ ExportMenu.tsxβ βββ BlurCanvas.tsxβ βββ ZoomScreenshot.tsx+ βββ onboarding/ # Onboarding wizard UI+ β βββ App.tsx # 5-step wizard (welcome, AI, blur, pin, done)βββ shared/ # Shared UI componentsβ βββ SettingsView.tsx # AI settings (provider, model, API key)βββ options/ # Settings page@@ -104,6 +108,7 @@ src/| Content Script | `entrypoints/content.ts` | Injected into all tabs: CaptureSession, event listeners, rrweb || Side Panel | `entrypoints/sidepanel/` | Recording controls, library, guide editor, settings || Full View | `entrypoints/fullview/` | Dashboard: library browse, guide viewer, Ctrl+K search |+| Onboarding | `entrypoints/onboarding/` | First-install wizard: AI setup, smart blur, pin extension || Options | `entrypoints/options/` | Settings page (shared SettingsView in centered card) |## Messaging@@ -206,19 +211,22 @@ Extraction walks up from the target element to find:## Design System-All colors are defined as CSS variables in `src/ui/sidepanel/index.css` and used via Tailwind classes:+All colors are defined as CSS variables in `src/ui/global.css` and used via Tailwind classes:| Token | Color | Usage ||-------|-------|-------|-| `--color-foreground` | `#451a03` | Primary text |-| `--color-muted-foreground` | `#92400E` | Secondary text |-| `--color-warm` | `#B45309` | Tertiary text |-| `--color-border` | `#E8E2DA` | Borders, dividers |-| `--color-secondary` | `#FEF3C7` | Light wash backgrounds |-| `--color-gold` | `#FDE68A` | Accent highlights |-| `--color-amber` | `#F59E0B` | Primary amber |-| `--color-primary` | `#451a03` | Dark backgrounds, badges |-| `--color-primary-foreground` | `#FDE68A` | Text on dark backgrounds |+| `--color-foreground` | `#1E1B4B` | Primary text (deep navy) |+| `--color-muted-foreground` | `#6B7280` | Secondary text |+| `--color-border` | `#C7D2FE` | Borders, dividers (lavender) |+| `--color-secondary` | `#EEF2FF` | Light wash backgrounds |+| `--color-accent` | `#4F46E5` | Accent / interactive (indigo) |+| `--color-primary` | `#1E1B4B` | Dark backgrounds, badges |+| `--color-primary-foreground` | `#C7D2FE` | Text on dark backgrounds |+| `--color-lavender` | `#C7D2FE` | Soft accent |+| `--color-purple` | `#4F46E5` | Primary indigo |+| `--color-deep` | `#1E1B4B` | Deepest navy |+| `--color-violet` | `#38BDF8` | Sky blue accent |+| `--color-success` | `#059669` | Success green |Font: Poppins (loaded via `@fontsource/poppins`).diff --git a/README.md b/README.mdindex 0ba70ec..30e8c09 100644--- a/README.md+++ b/README.md@@ -9,11 +9,11 @@</p><p align="center">- <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F59E0B?style=flat-square" alt="MIT License" /></a>- <img src="https://img.shields.io/badge/chrome-extension-451a03?style=flat-square&logo=googlechrome&logoColor=FDE68A" alt="Chrome Extension" />- <img src="https://img.shields.io/badge/manifest-v3-D97706?style=flat-square" alt="Manifest V3" />- <img src="https://img.shields.io/badge/storage-100%25%20local-78350F?style=flat-square" alt="100% Local" />- <img src="https://img.shields.io/badge/sign%20up-not%20required-92400E?style=flat-square" alt="No Account Required" />+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-4F46E5?style=flat-square" alt="MIT License" /></a>+ <img src="https://img.shields.io/badge/chrome-extension-1E1B4B?style=flat-square&logo=googlechrome&logoColor=C7D2FE" alt="Chrome Extension" />+ <img src="https://img.shields.io/badge/manifest-v3-3730A3?style=flat-square" alt="Manifest V3" />+ <img src="https://img.shields.io/badge/storage-100%25%20local-1E1B4B?style=flat-square" alt="100% Local" />+ <img src="https://img.shields.io/badge/sign%20up-not%20required-4F46E5?style=flat-square" alt="No Account Required" /></p>---@@ -67,40 +67,27 @@ npx wxt build## Project Structure```-mimik/-βββ entrypoints/-β βββ background.ts # Service worker: message routing, capture queue-β βββ content.ts # Content script: event listeners, highlight overlay-β βββ sidepanel/ # Side panel entrypoint-β βββ fullview/ # Full dashboard entrypoint-β βββ options/ # Options page entrypoint-βββ src/-β βββ background/-β β βββ machine.ts # XState capture state machine-β β βββ screenshot.ts # Tab screenshot capture-β β βββ step-description.ts # Auto-generate step descriptions-β βββ content/-β β βββ events.ts # Click, input, keyboard, clipboard, drag capture-β β βββ element-meta.ts # Extract element metadata (selector, aria, rect)-β β βββ spa-nav.ts # SPA navigation detection-β βββ sidepanel/-β β βββ App.tsx # Home screen with Sunflower Bright design-β β βββ RecordingView.tsx # Live recording step feed-β β βββ GuideEditor.tsx # Guide review and editing-β β βββ StepCard.tsx # Step display with screenshot-β β βββ ZoomScreenshot.tsx # Cropped screenshot with highlight-β βββ fullview/-β β βββ App.tsx # Dashboard shell with full-bleed header-β β βββ TopNav.tsx # Amber gradient navigation bar-β β βββ LibraryContent.tsx # Guide list/grid with search and filters-β β βββ GuideContent.tsx # Guide viewer with step cards-β β βββ GuideOutline.tsx # Step outline sidebar panel-β βββ shared/-β βββ db-schema.ts # Dexie database schema and migrations-β βββ guide-service.ts # CRUD operations for guides, steps, screenshots-β βββ types.ts # TypeScript interfaces-βββ public/- βββ mascot.svg # Mimik chest mascot+src/+βββ core/ # Business logic (no UI)+β βββ capture/ # Recording pipeline (events, AI, DOM context)+β βββ blur/ # Smart blur (regex presets, DOM scanner, panel)+β βββ export/ # HTML, PDF, Markdown generators + utils+β βββ guides/ # Data layer (types, Dexie DB, CRUD)+βββ entrypoints/ # Chrome extension entry points (WXT)+β βββ background/ # Service worker+β βββ content.ts # Content script+β βββ sidepanel/ # Side panel+β βββ fullview/ # Full-page dashboard+β βββ onboarding/ # First-install wizard+β βββ options/ # Settings page+βββ lib/ # Shared utilities+βββ stores/ # Zustand state stores+βββ ui/ # React components+ βββ fullview/ # Dashboard views+ βββ sidepanel/ # Side panel views+ βββ onboarding/ # Onboarding wizard+ βββ shared/ # Shared components+ βββ components/ui/ # shadcn/ui primitives```## Contributing