[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114583":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":29,"discoverSource":30},114583,"gemini-ai-pro-app","nmrisrl11\u002Fgemini-ai-pro-app","nmrisrl11","An intelligent client-side browser extension and companion web portal for Google One 5TB Google AI Pro promotional subscriptions.","https:\u002F\u002Fgemini-ai-pro-portal.vercel.app",null,"TypeScript",61,17,51,6,0,5,7,2,46.97,"MIT License",false,"main",[],"2026-11-10 07:27:57","2026-11-23 12:26:59","# Google AI Pro Portal\n\n\u003Cdiv align=\"center\">\n\n![Google AI Pro Portal Banner](\u002Fpublic\u002Ficons\u002F128.png)\n\n**An intelligent client-side browser extension and companion web portal for Google One 5TB Google AI Pro promotional subscriptions.**\n\n[![React 19](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FReact-19.3-61dafb.svg?logo=react&logoColor=black)](https:\u002F\u002Freact.dev\u002F)\n[![Vite 8](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVite-8.3-646cff.svg?logo=vite&logoColor=white)](https:\u002F\u002Fvite.dev\u002F)\n[![Tailwind CSS v4](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTailwind_CSS-v4.3-38bdf8.svg?logo=tailwindcss&logoColor=white)](https:\u002F\u002Ftailwindcss.com\u002F)\n[![Manifest V3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FChrome_Extension-Manifest_V3-4285F4.svg?logo=googlechrome&logoColor=white)](https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Fextensions\u002Fmv3\u002F)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-emerald.svg)](LICENSE)\n[![Zero Telemetry](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTelemetry-Zero_%2F_Client--Side-brightgreen.svg)](\u003C>)\n\n[Features](#-key-features) • [Architecture](#-architecture--blueprint) • [How It Works](#-how-it-works-under-the-hood) • [Stacking Guide](#-multi-tier-stacking) • [Installation](#-how-to-install-the-extension) • [Tech Stack](#-tech-stack) • [Development](#-development--scripts)\n\n\u003C\u002Fdiv>\n\n---\n\n## 📖 What is Google AI Pro Portal?\n\n**Google AI Pro Portal** is a dual-target project providing:\n\n1. **A modern, high-performance web landing page**: Featuring an interactive live simulator, 4-tier stacking visualizer, step-by-step tutorial, FAQ accordion, and release download links.\n2. **A Manifest V3 browser extension**: An intelligent client-side utility that mounts on `https:\u002F\u002Fone.google.com\u002Fplans`. It assists Google One subscribers by applying eligible promotional offer tiers for the **Google One 5TB Google AI Pro** plan and provides an automated **Price Safety Guard** inside Google Play checkout iframes to verify promotional terms in real time.\n\n---\n\n## 🎯 Key Features\n\n- **⚡ One-Click Promotional Tier Management**: Easily select eligible promotional tiers for **Tier 1 (12 Months)**, **Tier 2 (6 Months SS)**, **Tier 3 (6 Months)**, and **Tier 4 (6 Months Backup)**, with optional YouTube Premium add-on token support.\n- **🛡️ Google Play Checkout Safety Guard**: Inspects live checkout terms inside `tokenized.play.google.com` iframes. Built with declarative Lucide iconography, strict TrustedTypes-compliant DOM creation, and smooth dismissal animations:\n  - 🟢 **Safe ($0.00 Trial)**: Confirms genuine zero-charge trial status with badge and date details.\n  - 🔴 **Danger (Unexpected Charge)**: Warns immediately if a monthly\u002Fannual charge is detected so you never confirm an unexpected billing.\n  - 🟡 **Warning \u002F Inspecting**: Advises manual review if conflicting terms appear.\n- **📍 Connected Timeline Workflow Guide**: An intuitive connected vertical stepper in the Guide tab showing the end-to-end 7-step activation and stacking sequence.\n- **🌐 Domain-Aware Context Protection**: Automatically detects active tabs. Disables tier toggling and renders a guided alert with a one-click redirect button whenever browsing outside `one.google.com`.\n- **🕵️ Stealth Developer Mode**: Keeps the UI clean and distraction-free. The advanced **Tokens** configuration tab is hidden by default and unlocked via a 5-click easter egg on the version badge in the popup header.\n- **🔄 Multi-Tier Promotional Stacking**: Visualizes and guides consecutive stacking sequences (e.g. 12M initial + 6M renewal + 6M extension) allowing eligible accounts to unlock extended promotional benefits.\n- **🎨 Modern React 19 + Tailwind CSS v4 UI**: Built using Radix UI primitives and styled with Tailwind v4 CSS-first theming. Supports automatic system dark\u002Flight mode synchronization.\n- **🔒 Zero-Telemetry & Client-Side Privacy**: Runs 100% locally in your browser. No external API servers, no telemetry, no analytics, and zero tracking.\n- **⚙️ Configurable Token Overrides**: All tokens can be overridden live in the unlocked **Tokens** tab and stored locally in `chrome.storage.local`.\n- **🌐 Comprehensive SEO & LLM Ready**: Fully optimized with Open Graph preview assets (`og-image.png`), Twitter Cards, Schema.org JSON-LD structured data, XML sitemap, `robots.txt`, and conventional `llms.txt` \u002F `llms-full.txt` files for AI agent context ingestion.\n- **🌌 Atmospheric 404 Route Protection**: Zero-dependency client-side routing paired with Vercel rewrites and an interactive Grainient WebGL 404 page for nonexistent paths.\n- **📦 Clean Dual-Build Pipeline**: Single unified monorepo leveraging Vite 8 and `vite-plugin-web-extension` to build both the static web landing page (`dist\u002F`) and the unpackable extension (`dist-ext\u002F`).\n\n---\n\n## 🏗️ Architecture & Blueprint\n\nGoogle AI Pro Portal bridges the architectural foundation of [sulok](https:\u002F\u002Fgithub.com\u002Fnmrisrl11\u002Fsulok) with modernized checkout injection logic from [google-pro-helper-main](https:\u002F\u002Fgithub.com\u002Fnmrisrl11\u002Fgoogle-pro-helper-main), re-engineered to strict production standards:\n\n```\n┌────────────────────────────────────────────────────────────────────────┐\n│                        Google AI Pro Portal                            │\n├──────────────────────────────────┬─────────────────────────────────────┤\n│      Landing Page (Web SPA)      │    Browser Extension (Manifest V3)  │\n│  - Hero with Interactive Mockup  │  - React Popup with Tier Selector   │\n│  - Stacking Visualizer Timeline  │  - Isolated World Bridge (content)  │\n│  - 7-Step Workflow Guide         │  - MAIN World Interceptor (inject)  │\n│  - Interactive FAQ & Manual      │  - Play Checkout Guard (play-guard) │\n└──────────────────────────────────┴─────────────────────────────────────┘\n```\n\n### Upstream Blueprint Improvements:\n\n- **100% TypeScript**: Fully typed messaging contracts (`types.ts`), strict compiler settings, and runtime message discriminators.\n- **English UX Copywriting**: Clean, professional naming conventions, docstrings, and UI copywriting throughout.\n- **Strict Separation of Concerns**: Static metadata lives in `src\u002Fconstants\u002Fapp-info.ts` (single source of truth); sensitive tokens are externalized into `.env` or input via `chrome.storage.local`.\n- **Fast Refresh & Lint Compliance**: Strict adherence to OXC (`oxlint`) with zero warnings and zero errors.\n\n---\n\n## 🔍 How It Works Under the Hood\n\nThe extension coordinates three distinct execution contexts in compliance with Chrome Manifest V3:\n\n```\n[ Extension Popup (React UI) ]\n            │\n            │ chrome.tabs.sendMessage\n            ▼\n[ Content Script (Isolated World: content.ts) ]\n  • Synchronizes chrome.storage.local\n  • Dispatches config to page context via window.postMessage\n            │\n            │ window.postMessage({ __gapt: 1, type: \"cfg\", ... })\n            ▼\n[ Injector Script (MAIN World: inject.ts) ]\n  • Intercepts XMLHttpRequest.prototype.send (Ngbm batch calls, f.req body)\n  • Patches Google One SKU protobuf nodes with promotional offer tokens\n  • Intercepts HTMLIFrameElement.prototype.src & TrustedTypePolicy (\u002Feacquire\u002Fmultiline)\n  • Renders floating dark-mode status pill on one.google.com\n            │\n            ▼\n[ Google Play Checkout Iframe (tokenized.play.google.com: play-guard.ts) ]\n  • MutationObserver monitors rendered pricing terms\n  • Detects \"$0.00\", \"free trial\", \"won't be charged\" vs \"\u002Fmo after\", \"pay now\"\n  • Displays high-contrast Safety Alert Banner at top of iframe\n```\n\n---\n\n## 🔄 Multi-Tier Stacking\n\nGoogle One allows promotional offer stacking across eligible billing transitions. The portal guides users through consecutive tiers:\n\n| Tier       |      Duration      |     Type     | Recommended Order | Description                                                                 |\n| :--------- | :----------------: | :----------: | :---------------: | :-------------------------------------------------------------------------- |\n| **Tier 1** |   **12 Months**    | Introductory |  1st Application  | Initial 1-year promotional offer for new or reset subscribers.              |\n| **Tier 2** | **6 Months (SS)**  |  Stacking A  |  2nd Application  | Applied while Tier 1 is active to stack an additional 6 months.             |\n| **Tier 3** |    **6 Months**    |  Stacking B  |  3rd Application  | Secondary extension stacking an additional 6 months (totaling 24M).         |\n| **Tier 4** | **6 Months (Alt)** |  Alternate   |     Fallback      | Backup promotional token if Tier 2 or Tier 3 encounters eligibility errors. |\n| **Off**    |    **0 Months**    |    Bypass    |     Standard      | Standard Google One checkout without promotional modifications.             |\n\n---\n\n## 💻 Tech Stack\n\n| Layer                    | Technology                                                                          | Purpose                                                                 |\n| :----------------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------- |\n| **Frontend Framework**   | [React 19](https:\u002F\u002Freact.dev\u002F)                                                      | Component architecture for both landing page & extension popup          |\n| **Bundler & Build Tool** | [Vite 8](https:\u002F\u002Fvite.dev\u002F)                                                         | Blazing-fast compilation, HMR, and sub-build orchestration              |\n| **Extension Tooling**    | [vite-plugin-web-extension](https:\u002F\u002Fgithub.com\u002Faklinker1\u002Fvite-plugin-web-extension) | Manifest V3 bundling, multi-world scripting, and asset output           |\n| **Language**             | [TypeScript 5](https:\u002F\u002Fwww.typescriptlang.org\u002F)                                     | End-to-end type safety, interfaces, and discriminated unions            |\n| **CSS Engine**           | [Tailwind CSS v4](https:\u002F\u002Ftailwindcss.com\u002F)                                         | Next-generation CSS-first engine with `@theme` token system             |\n| **UI Primitives**        | [Radix UI](https:\u002F\u002Fwww.radix-ui.com\u002F)                                               | Accessible component primitives (`@radix-ui\u002Freact-slot`, dialogs, tabs) |\n| **Design System**        | [shadcn\u002Fui](https:\u002F\u002Fui.shadcn.com\u002F)                                                 | Clean, accessible components with customizable variant styling          |\n| **Linter & Formatter**   | [OXC](https:\u002F\u002Foxc.rs\u002F) (`oxlint` & `oxfmt`)                                         | High-speed Rust-based code verification with Tailwind class sorting     |\n| **Typography & Icons**   | [Geist Font](https:\u002F\u002Fvercel.com\u002Ffont) + [Lucide](https:\u002F\u002Flucide.dev\u002F)               | Clean typography and consistent iconography                             |\n\n---\n\n## 📁 Repository Structure\n\n```\ngemini-ai-pro-app\u002F\n├── public\u002F                         # Public assets (icons\u002F auto-copied to dist\u002F and dist-ext\u002F; web assets to dist\u002F)\n│   ├── favicon.ico                 # Multi-resolution favicon (16, 32, 48px)\n│   ├── site.webmanifest            # Web application manifest\n│   ├── og-image.png                # 1200x630 Open Graph \u002F Twitter sharing image\n│   ├── robots.txt                  # Search engine and AI crawler directives\n│   ├── sitemap.xml                 # XML sitemap\n│   ├── llms.txt                    # LLM & AI agent structured context standard\n│   ├── llms-full.txt               # Expanded single-file documentation for LLMs\n│   ├── icons\u002F                      # Web & extension icons (16, 32, 48, 128, 180, 192, 512px, 512.webp)\n│   └── images\u002F                     # WebP & optimized donation QR codes (qrcode-bmc, qrcode-gcash)\n├── src\u002F\n│   ├── App.tsx                     # Landing page main component\n│   ├── main.tsx                    # Landing page entrypoint\n│   ├── index.css                   # Tailwind CSS v4 root stylesheet\n│   ├── constants\u002F\n│   │   ├── app-info.ts             # SINGLE SOURCE OF TRUTH for app metadata & URLs\n│   │   └── offers.ts               # Tier configurations, offer schemas, and constants\n│   ├── components\u002F\n│   │   ├── icons.tsx               # Custom SVG brand icons (GitHub, YouTube)\n│   │   ├── ui\u002F                     # shadcn\u002Fui primitives (Button, Badge, Tabs, Dialog, etc.)\n│   │   └── landing\u002F                # Modular landing page sections:\n│   │       ├── floating-navbar.tsx # Scroll-revealed capsule navigation\n│   │       ├── hero.tsx            # Hero section with Grainient WebGL background & CTA\n│   │       ├── preview-section.tsx # Interactive extension sandbox & live simulation\n│   │       ├── stacking-section.tsx # 24-month promotional stacking architecture\n│   │       ├── install-section.tsx # Manual installation instructions & ZIP download\n│   │       ├── faq-section.tsx     # Frequently asked questions accordion\n│   │       ├── support-section.tsx # Independent tooling support & developer attribution\n│   │       ├── download-section.tsx # Secondary download loop section with smooth blend\n│   │       ├── not-found-page.tsx  # Interactive 404 page with Grainient WebGL background\n│   │       └── footer.tsx          # Brand footer with quick navigation links & disclaimers\n│   └── extension\u002F                  # Manifest V3 Extension Source\n│       ├── components\u002F             # Modular Popup UI Components\n│       │   ├── guide-tab.tsx       # Connected timeline 7-step guide\n│       │   ├── popup-footer.tsx    # Footer with Play Subs & source links\n│       │   ├── popup-header.tsx    # Header with theme toggle & stealth dev trigger\n│       │   ├── popup-status-banner.tsx # Domain-aware status advisory banner\n│       │   ├── tiers-tab.tsx       # Tier selection cards with status indicators\n│       │   └── tokens-tab.tsx      # Stealth developer token overrides tab\n│       ├── hooks\u002F                  # Custom React Hooks for Extension State\n│       │   ├── use-custom-tokens.ts # Token override loading, validation & storage\n│       │   ├── use-developer-mode.ts # 5-click easter egg detector\n│       │   ├── use-extension-sync.ts # Chrome tab status & content-script bridge\n│       │   └── use-theme.ts        # Dark\u002Flight theme sync with document class\n│       ├── manifest.json           # Manifest V3 specification\n│       ├── popup.html              # Popup container HTML\n│       ├── main.tsx                # React DOM mount for extension popup\n│       ├── popup.tsx               # Orchestrator popup view composing components & hooks\n│       ├── content.ts              # Isolated-world content script (storage bridge)\n│       ├── inject.ts               # MAIN-world interceptor (XHR \u002F URL rewrite + status pill)\n│       ├── play-guard.ts           # Google Play checkout safety guard (tokenized.play.google.com)\n│       ├── token-config.ts         # Token resolver merging environment with local storage\n│       └── types.ts                # TypeScript interfaces and messaging contracts\n├── scripts\u002F\n│   └── pack-extension.js           # Packages dist-ext\u002F into releases\u002Fgoogle-ai-pro-portal-v1.0.0.zip\n├── releases\u002F                       # Packaged extension ZIP archives (gitignored)\n├── .env.example                    # Template for private promotional offer tokens\n├── .env                            # Local private tokens configuration (gitignored)\n├── vite.config.ts                  # Vite configuration for Web Landing Page\n├── vite.ext.config.ts              # Vite configuration for Browser Extension\n├── vercel.json                     # Vercel SPA routing, CDN Cache-Control headers, and rewrite rules\n├── AGENTS.md                       # Comprehensive guide for AI agents and developers\n└── package.json                    # Project scripts and dependencies\n```\n\n---\n\n## ⚙️ Configuration & Environment Variables\n\n### Single Source of Truth:\n\n- **Application Metadata**: [`src\u002Fconstants\u002Fapp-info.ts`](file:\u002F\u002F\u002Fsrc\u002Fconstants\u002Fapp-info.ts) is the sole source of truth for app name, version, URLs, and descriptions.\n- **Sensitive Tokens**: [`.env`](file:\u002F\u002F\u002Fsrc\u002F.env) is reserved **exclusively** for promotional offer tokens.\n\nCreate your local `.env` by copying `.env.example`:\n\n```bash\ncp .env.example .env\n```\n\nContents of `.env`:\n\n```bash\n# Promotional Offer Tokens (Base64 Encoded Payloads)\n# Configure your private promotional tokens below:\nVITE_OFFER_TOKEN_12M=\"your_tier_1_12m_offer_token_here\"\nVITE_OFFER_TOKEN_6M_SS=\"your_tier_2_6m_ss_offer_token_here\"\nVITE_OFFER_TOKEN_6M=\"your_tier_3_6m_offer_token_here\"\nVITE_OFFER_TOKEN_6M_2=\"your_tier_4_6m_backup_offer_token_here\"\nVITE_OFFER_TOKEN_YT_PREMIUM=\"your_youtube_premium_addon_token_here\"\n```\n\n> [!TIP]\n> Tokens can also be edited or overridden live at any time without rebuilding by unlocking the stealth **Tokens** tab (click the version badge in the popup header 5 times) and saving directly to `chrome.storage.local`.\n\n---\n\n## 🚀 How to Install the Extension\n\n### Method 1: Load Unpacked from Source (Recommended for Developers)\n\n1. Clone the repository and install dependencies:\n   ```bash\n   npm install\n   ```\n2. Build the extension bundle:\n   ```bash\n   npm run build:ext\n   ```\n3. Open your Chromium-based browser (Chrome, Brave, Edge, Opera) and navigate to `chrome:\u002F\u002Fextensions\u002F`.\n4. Enable **Developer mode** (toggle in top-right corner).\n5. Click **Load unpacked** (top-left button).\n6. Select the **`dist-ext`** folder generated in this repository.\n\n### Method 2: Install from Pre-Packaged Release ZIP\n\n1. Download `google-ai-pro-portal-v1.0.0.zip` from [Releases](https:\u002F\u002Fgithub.com\u002Fnmrisrl11\u002Fgemini-ai-pro-app\u002Freleases) or build it locally with:\n   ```bash\n   npm run pack:ext\n   ```\n2. Extract the ZIP archive into a dedicated folder.\n3. In `chrome:\u002F\u002Fextensions\u002F` with **Developer mode** enabled, click **Load unpacked** and select the extracted `extension` folder.\n\n---\n\n## 🛠️ Development & Scripts\n\n| Command                | Action                       | Output \u002F Description                                                  |\n| :--------------------- | :--------------------------- | :-------------------------------------------------------------------- |\n| `npm run dev`          | Start web development server | Runs landing page on `http:\u002F\u002Flocalhost:5173` with HMR                 |\n| `npm run dev:ext`      | Watch-mode extension build   | Watches and builds extension changes into `dist-ext\u002F`                 |\n| `npm run build`        | Full landing page build      | Type-checks (`tsc -b`), lints (`oxlint`), and bundles to `dist\u002F`      |\n| `npm run build:ext`    | Production extension build   | Bundles all Manifest V3 entrypoints into `dist-ext\u002F`                  |\n| `npm run pack:ext`     | Build & zip extension        | Builds extension and generates `releases\u002Fgoogle-ai-pro-portal-v*.zip` |\n| `npm run lint`         | Run linter                   | Fast Rust-based linting via `oxlint` (0 warnings policy)              |\n| `npm run format`       | Format codebase              | Formats TypeScript, HTML, and CSS with `oxfmt`                        |\n| `npm run format:check` | Check code formatting        | Verifies formatting compliance across all files                       |\n| `npm run preview`      | Preview production build     | Serves the production `dist\u002F` bundle locally                          |\n\n---\n\n## ⚠️ Disclaimer & Safety Notice\n\n1. **Educational & Research Purpose**: This software is an open-source educational utility developed to demonstrate client-side web request interception, Manifest V3 architectures, and checkout safety verification.\n2. **Checkout Verification**: Always verify the final checkout terms displayed inside the Google Play modal before confirming any subscription. The built-in safety guard is designed to assist you, but manual verification of the final **$0.00** charge remains your responsibility.\n3. **Trademark Notice**: This project is independent and is not affiliated, endorsed, or sponsored by Google LLC, Alphabet Inc., or any of their subsidiaries. Google One, Google Play, Gemini, and YouTube Premium are trademarks of Google LLC.\n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n","Google AI Pro Portal 是一个面向 Google One 5TB Google AI Pro 促销订阅用户的智能客户端工具套件，包含浏览器扩展与配套网页门户。其核心功能包括：在 Google One 计划页自动管理多层级促销资格（如12个月\u002F6个月等Tier）、在 Google Play 结账 iframe 中实时校验促销条款并提供价格安全预警（零收费确认\u002F异常扣费告警），以及可视化 stacking 流程引导。采用 Manifest V3、React 19、Vite 和 Tailwind CSS 构建，强调零遥测、客户端安全（TrustedTypes）和域上下文感知。适用于已获邀参与 Google AI Pro 促销的 Google One 用户，辅助其安全、准确地叠加和激活优惠权益。","2026-11-24 04:49:05","CREATED_QUERY"]