Skip to content

Setup and Installation

⚠️ Prerequisites (Chrome Setup)

This project relies on experimental Chrome APIs. You must use Chrome Canary (or Dev/Beta versions 128+) and enable specific flags.

  1. Open Chrome and navigate to chrome://flags.
  2. Search for and Enable the following flags:
    • Enables optimization guide on deviceEnabled BypassPerfRequirement
    • Prompt API for Gemini NanoEnabled
    • Summarization API for Gemini NanoEnabled (Required for chat titles)
  3. Restart Chrome.
  4. Once loaded, the app will check API availability. If the model is not yet downloaded, Chrome will begin downloading the Gemini Nano model (approx. 1.5GB - 3GB). You can track progress in chrome://components under Optimization Guide On Device Model.

📦 Installation

  1. Clone the repository:

    git clone [https://github.com/buddhilive/angular-lk.git](https://github.com/buddhilive/angular-lk.git)
    cd angular-lk
  2. Install dependencies:

    npm install
  3. Run the development server:

    ng serve
  4. Navigate to http://localhost:4200/.