On Dlive, creators can't view a log of all donations during a stream since they'll expire after a certain time. This app tracks superchats for the entirety you have your browser tab open.
Install dependencies
yarn
Start development server on localhost:4141
yarn start
NOTE: For anything but mocked data development you need proxies. You'll need both a
cors-anywhere
HTTP proxy or two, and awebsocket
proxy. Why? Well in order for this webapp to function in the browser, we need to set certain headers on our requests to the Dlive API - and you can't set these headers in a browser. For this reason we filter through a proxy that will spoof the headers we need. The app will function in demo-mode without the proxies, but in order to connect to the Dlive API you'll need them. Copy.env.example
to a new file called.env
and fill in your proxy URLs. Feel free to open an issue if you have no idea how to make them (which I don't blame you for).
Build for production
yarn build