Skip to content

JustusUlbrich/Leuchtknoten-ui

Repository files navigation

Leuchtknoten-ui

React Frontend of Leuchtknoten.

preview-small.mp4

It features an interactive node editor, which is used to create patterns for the LED controller running on the esp32.

The goal was to make the frontend small enough to fit on the esp32 flash, so it can be served directly from there.

Usage

Please note that currently the hostname of the led controller is hard coded as REACT_APP_BASE_URL in /.env. When you change the hostname of the controller you have to adjust this here as well.

After running the frontend locally or accessing the frontend from the LED controller you can:

Main UI

  1. Create a new pattern
  2. Open/edit existing pattern
  3. Change led controller settings

Edit

Edit

Settings

Settings

Development

Use yarn install to install all dependencies and yarn start to run the frontend locally.

After making changes you need to run yarn build. It will merge all styles and javascript into a single static .html so it can't easily be served from the esp. Just copy /public/index.html to your data folder of Leuchtknoten and rebuild / reupload the file system.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

React Frontend of Leuchtknoten project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published