A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
Find a file
Alex Liebowitz b2fd38a1c8 Reduce padding around text buttons
After moving the padding to the content of buttons, we ended up with
extra padding around text buttons that wasn't there before. The
"Download" bar doesn't look great with no padding at all, but it needs
to match the text buttons so the text doesn't jump to the right when
it switches from "Download" (text button) to "Connecting" (progress bar).

So we pad both text buttons and progress bars just a little bit, less
than a standard button but enough that progress bars look OK.
2017-01-23 18:58: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 Reduce padding around text buttons 2017-01-23 18:58:31 -05:00
scss Reduce padding around text buttons 2017-01-23 18:58:31 -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