lbry-desktop/ui
Alex Liebowitz 1567a2de0a Revamp API wrapper code
- Refactoring throughout JSON-RPC, lbrynet and Lighthouse logic
 - Move JSON-RPC stuff into its own module
 - Add ability to directly call API methods on the lbry and lighthouse
   modules, e.g. lbry.file_list({name: 'what'})
 - New-style API calls use promises instead of callbacks.
 - Converted some lbrynet calls and all Lighthouse calls to use the new
   style
2017-03-09 17:54:46 -05:00
..
.travis Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
dist Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
js Revamp API wrapper code 2017-03-09 17:54:46 -05:00
scss Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
.babelrc Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
.bumpversion.cfg Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
.eslintrc.js Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
.gitignore Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
.travis.yml Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
CHANGELOG.md Revamp API wrapper code 2017-03-09 17:54:46 -05:00
Dangerfile Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
LICENSE.md Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
package.json switch from lbry-web-ui to ui 2017-03-09 12:31:40 -05:00
README.md Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
watch.sh Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
webpack.config.js Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00
webpack.dev.config.js Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d' 2017-03-09 12:11:46 -05:00

LBRY Web User Interface

This is the web-based frontend for the LBRY network. It is automatically installed when a user installs LBRY.

Development Setup

  • Install LBRY
  • Install node and npm (linux users: use this. if that doesn't work, this gist may be useful)
  • Checkout this project via git
  • Run ./watch.sh (this will npm install dependencies)
  • Run LBRY

While watch.sh is running, any change made to the js or scss folders will automatically be compiled into the dist folder.

While changes will automatically compile, they will not automatically be loaded by the app. Every time a file changes, you must run:

lbrynet-cli configure_ui path=/path/to/repo/dist

Then reload the page. This call can also be made directly via the browser Javascript console:

lbry.call('configure_ui', {path: '/path/to/ui'})

To reset your UI to the version packaged with the application, run:

lbrynet-cli configure_ui branch=master

This command also works to test non-released branches of lbry-web-ui