frigate/web
2025-08-04 11:20:36 -03:00
..
.vscode Update web readme (#12062) 2024-06-19 08:11:51 -06:00
images Fix site.webmanifest + add svg as favicon (#6304) 2023-05-04 18:04:24 -05:00
public Fix not deleting thumbnails (#19371) 2025-08-04 00:56:23 -05:00
src Center camera in layout when only one camera is filtered (#19319) 2025-07-29 09:15:37 -05:00
themes Dark mode theme tweaks (#17846) 2025-04-21 20:45:12 -06:00
.eslintrc.cjs Auth! (#11347) 2024-05-18 10:36:13 -06:00
.gitignore Use new UI (#8983) 2024-01-31 12:56:11 +00:00
.prettierrc Use prettier-plugin-tailwindcss (#11373) 2024-05-14 09:06:44 -06:00
components.json Improve notifications (#16632) 2025-02-17 07:19:03 -07:00
index.html use credentials for webmanifest (#10447) 2024-03-14 06:36:56 -06:00
login.html Auth! (#11347) 2024-05-18 10:36:13 -06:00
package-lock.json Update react-day-picker to 9.x (#18247) 2025-05-15 10:10:14 -06:00
package.json Update react-day-picker to 9.x (#18247) 2025-05-15 10:10:14 -06:00
postcss.config.js Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
README.md more optional env vars for easier development 2025-08-04 11:20:36 -03:00
site.webmanifest Update webmanifest to use /BASE_PATH/ (#17310) 2025-03-23 05:34:33 -06:00
tailwind.config.cjs Implement smart capitalization based on locale (#17860) 2025-04-22 16:21:09 -06:00
tsconfig.json Use new UI (#8983) 2024-01-31 12:56:11 +00:00
tsconfig.node.json Use new UI (#8983) 2024-01-31 12:56:11 +00:00
vite.config.ts more optional env vars for easier development 2025-08-04 11:20:36 -03:00

This is the Frigate frontend which connects to and provides a User Interface to the Python backend.

Web Development

Installing Web Dependencies Via NPM

Within /web, run:

npm install

Running development frontend

Within /web, run:

npm run dev

By default, this will connect to localhost:5000 using HTTP protocol. You can customize the connection with these environment variables:

# Basic configuration - point to your Frigate instance
PROXY_HOST=<ip_address:port> npm run dev

# Advanced configurations
# Use HTTPS instead of HTTP (websocket will use WSS instead of WS)
PROXY_PROTOCOL=https PROXY_HOST=<ip_address:port> npm run dev

# Disable certificate validation for self-signed or invalid certs
PROXY_SECURE=false PROXY_PROTOCOL=https PROXY_HOST=<ip_address:port> npm run dev

Proxy Configuration Notes

  • PROXY_HOST: Sets the host and port for your Frigate instance (default: localhost:5000)
  • PROXY_PROTOCOL: Sets the protocol to use (http or https, default: http)
  • PROXY_SECURE: Controls certificate validation. Set to false when:
    • Using self-signed certificates
    • Working with invalid or expired certificates
    • Connecting to HTTPS services in development environments

These options are particularly useful when working with Frigate instances that use HTTPS but don't have proper certificate validation.

Extensions

Install these IDE extensions for an improved development experience:

  • eslint