Coder Social home page Coder Social logo

frontend_v3's Introduction

Welcome to LedFx โœจ Making music come alive!

Build Status License Documentation Status Discord Contributor Covenant

https://raw.githubusercontent.com/LedFx/LedFx/main/ledfx_assets/banner.png

What is LedFx?

LedFx makes your LEDs dance to audio! What LedFx offers is the ability to take audio input, and instantaneously processes the audio into realtime light show to multiple LED strips/matrix. No need to spend hours on end to program one song to program your LEDs, as LedFx will do this all for you!

LedFx real-time LED strip music visualization effect controller using is a network based devices (ESP8266/ESP32/Raspberry Pi 4) with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266/ESP32 nodes allowing for cost effective synchronized effects across your entire house!

Demos

Visit our website to see LedFx in action!

You can also join our Discord where community members show off their projects. Check out the #projects or #showcase channels.

๐Ÿ“‘ Quick start guide and documentation๐Ÿ“–

Head over to releases to get the latest releases for Windows and Mac. For linux, use pip.

Bleeding edge (Experimental)

If you want the absolute bleeding edge and are not afraid of using the terminal, take a look at the detailed installation instructions here: Installation documentation.

Documentation

Documentation for the latest release can be found here: Stable documentation

Documentation built against this repository can be found here: Latest documentation

๐Ÿ˜ Show me how to make one!

The below image describes a basic setup - LedFx running on PC, communicating with a WLED Device controlling an LED strip.

https://raw.githubusercontent.com/LedFx/LedFx/main/docs/_static/topology.png

Component Example
Computer running LedFx Windows 10, LedFx.exe
Networked device controlling LED Strip ESP8266 NODEMCU v3 running WLED
Addressable LED strip DC5V WS2812B 5 meters 60LED/m IP67
Power supply for LED Strip and ESP 5V 10 amps LED Power Supply
Something to connect the wires together! Soldering iron/solder
  1. Build your networked LED Strip.
  2. Install LedFx.
  3. Direct computer audio output to LedFx.
    • By default on Windows LedFx will attempt to listen to your system audio.
    • More information for Linux and macOS users here.
    • Play some music in the background.
  4. Start LedFx.
    • Your WLED devices should appear in LedFx, automagically configured and ready to go! ๐ŸŽ†๐Ÿ”ฅ
    • If not, on the bottom click Home, -> Scan for WLED devices button, or click on the big plus sign and Add Device to add them manually.
    • If they're still not showing up, make sure they're powered on and properly connected to your WiFi.
  5. Start using effects!
    • Click on the device, select an effect eg scroll under Classic
    • Your lights should now be reacting realtime to your music! Enjoy the show ๐ŸŒˆ

๐Ÿง‘โ€๐Ÿ’ป Join the LedFx Community

Join the Discord server to discuss everything about LedFx! Discord

To join, click on the Discord button below:

https://discordapp.com/api/guilds/469985374052286474/widget.png?style=banner2

Contributing

Pull requests are welcome. Once tested, contact LedFx developer community on Discord to discuss the next step. We expect and require all contributors to read, understand and follow our code of conduct.

Credits: Contributors-&-About

License

GPL-3

frontend_v3's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

thematrixpill

frontend_v3's Issues

Make React-Flow Responsive

When resizing the window, react-flow items don't move/resize unless you refresh.

e.g going from fullscreen
image

to non-fullscreen
image

Unable to horizontially scroll, so you can't see anything.

When you refresh, it re-renders with updated card sizing
image

We should try and keep the nodes on-screen as much as we can.

Relinking effect and Controller not reflected in frontend

Upon creating an effect and controller, if you connect them together they link correctly.

If you remove the link by using "x", no connector is shown on the front-end as expected.

Dragging from the effect to the controller again shows another connect API hit, and the config appears to update however the frontend does not reflect it despite refreshing.

Main interface does not display

I have LedFx V3 running via docker, with the command docker run -p 8080:8080 ghcr.io/ledfx/ledfx_v3. I'm running the latest pre-release.

I find that when I open localhost:8080 in my browser, I briefly see the interface, only for the entire page to disappear a second or two later. The only contents of the webpage after this occurs are as follows:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <!-- <link rel="icon" type="image/svg+xml" href="/src/assets/favicon.svg" /> -->
    <link rel="icon" type="image/png" href="./assets/icon.56014cce.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta
      http-equiv="Content-Security-Policy"
      content="script-src 'self' 'unsafe-inline';"
    />
    <title>ledfx_frontend_v3</title>
    <script type="module" crossorigin src="./assets/index.81db614a.js"></script>
    <link rel="stylesheet" href="./assets/index.ef20bd19.css">
  </head>
  <body>
    <div id="root"></div>
    
  </body>
</html>

The console displays repeated errors reading TypeError: n.map is not a function

I'm using the latest version of Firefox on Pop!_OS Linux 22.04
My Docker version is Docker 20.10.12, build 20.10.12-0ubuntu4

Let me know if there's any other information that it would be helpful provide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.