Skip to content

This repository contains the CodeGate dashboard user interface.

Notifications You must be signed in to change notification settings

stacklok/codegate-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5d463ef · Mar 17, 2025
Mar 17, 2025
Jan 2, 2025
Feb 14, 2025
Jan 27, 2025
Mar 17, 2025
Jan 14, 2025
Dec 5, 2024
Jan 20, 2025
Jan 20, 2025
Feb 14, 2025
Mar 17, 2025
Feb 14, 2025
Feb 14, 2025
Mar 11, 2025
Mar 5, 2025
Feb 11, 2025
Feb 14, 2025
Feb 14, 2025
Mar 17, 2025
Mar 17, 2025
Nov 29, 2024
Feb 14, 2025
Mar 5, 2025
Dec 3, 2024
Nov 29, 2024
Feb 14, 2025
Feb 14, 2025
Feb 14, 2025

Repository files navigation

CodeGate Dashboard

Coverage Status

This repository contains the CodeGate dashboard user interface. The dashboard presents information about CodeGate's security insights and activity, including:

  • Prompt and chat conversation history
  • Security alert counts and daily trend
  • Alert history with secrets and package risks detected by CodeGate
  • CA certificate download and installation instructions

Setting up local development environment

To run a local development environment, start by running a copy of the CodeGate application or container. The UI will connect to the API endpoint at http://localhost:8989 by default. To change this, set the VITE_BASE_API_URL environment variable.

Install all dependencies and run a dev server:

npm install

Running the development server

Run the development server using:

npm run dev

Open http://localhost:5173 on your browser to see the dashboard

Build production

Run the build command:

npm run build

Running production build

Run the production build command:

npm run preview

Custom SVG icons

In order to generate custom SVG icons based on the Figma design, download the icon from Figma and place it in the icons/ folder.

Then run:

npm run generate-icons

Update built-in prompt presets:

npm run fetch-prompt-presets