A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
Find a file
Job Evers-Meltzer 2aa10261d9 Improve startup checking
Before this fix, if the daemon wasn't accepting connections
the UI would get an error and then be stuck on the loading screen.

We now check if the daemon is accepting connections first, and then
check for the status.
2017-01-18 09:30:46 -06: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 Improve startup checking 2017-01-18 09:30:46 -06:00
scss Pad buttons using margin on content instead of padding on container 2017-01-16 23:44:06 -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 Fix clamp.js import 2017-01-16 23:42:09 -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 Stage 2 Babel preset 2017-01-16 23:33:32 -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