Skip to content

alecf/wled-pro

Repository files navigation

WLED Pro

A modern UI for WLED built with React, TypeScript, and Vite.

Features

  • Power on/off control
  • Brightness slider
  • Device info display
  • Real-time state sync via TanStack Query

Development

# Install dependencies
npm install

# Start dev server
npm run dev

# Run tests
npm test

# Build for production
npm run build

Connecting to WLED

By default, the app expects to be served from the WLED device itself (same origin). For development with a remote WLED device, you can configure the API base URL:

import { setDefaultWledApi } from './api/wled'
setDefaultWledApi('http://192.168.1.100')

Project Structure

src/
├── api/          # WLED API client
├── components/   # React components
├── hooks/        # Custom React hooks (useWled*)
├── test/         # Test setup
└── types/        # TypeScript type definitions

Tech Stack

  • React 19
  • TypeScript
  • Vite
  • TanStack React Query
  • Vitest + Testing Library

About

New WLED frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages