A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
Find a file
Alex Liebowitz 9f743700b7 Refactor Menu component
Instead of having the menu keeping track of whether it's open, we now
leave it up to the surrounding component to mount and unmount it. This
avoids bubbling issues when listening for events on an external toggle
button.

We also now use the recommended callback style for refs instead of
named refs.
2017-01-16 23:33:31 -05:00
.travis Build the frontend assets on travis and deploy to S3 2016-07-22 10:59:39 -05:00
dist Bypass check for Flash being installed in MediaElement.js 2017-01-12 21:56:39 -05:00
js Refactor Menu component 2017-01-16 23:33:31 -05:00
scss Improve and refactor Download links 2017-01-16 23:33:28 -05:00
.babelrc Convert to ES6 modules 2016-12-06 14:28:10 -05:00
.bumpversion.cfg Bump version: 0.1.0 → 0.1.1 2016-11-02 11:38:05 -05:00
.eslintrc.js Convert to ES6 modules 2016-12-06 14:28:10 -05:00
.gitignore Add MediaElement.js to main repo (not just dist.zip) 2016-07-20 16:20:25 -04:00
.travis.yml Update .travis.yml to use Webpack 2016-12-16 16:26:14 -05:00
LICENSE.md simplify setup process 2016-08-17 15:15:09 -04:00
package.json Add Babel Polyfill 2016-12-31 22:56:05 -05:00
README.md Update setup instructions 2017-01-06 07:00:49 -05:00
watch.sh Update watch.sh for Webpack 2017-01-06 07:03:54 -05:00
webpack.config.js Add Babel Polyfill 2016-12-31 22:56:05 -05:00

LBRY Web User Interface

This is the frontend for LBRY's in-browser application, that is automatically installed when a user installs LBRY.

Development Setup

These steps will get you to change-reload-see:

  • Install LBRY
  • Install node and npm (this gist may be useful)
  • Run ./watch.sh (this will npm install dependencies). Changes made in sass and js will be auto compiled to dist
  • Run lbrynet-daemon --ui=/full/path/to/dist/ to start LBRY
  • lbry.call('configure_ui', {path: '/path/to/ui'}) can be used in JS console on web ui to switch ui path. This is also needed to trigger a reload after making changes to the UI.
  • lbrynet-daemon --branch=branchname can be used to test remote branches
  • Occasionally refreshing the cache may be necessary for changes to show up in browser

Common Issues

  1. Error: Couldn't find preset "es2015" relative to directory "js"

Fix with:

npm install babel-preset-es2015 --save
npm install babel-preset-react --save