A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
Find a file
alexliebowitz f78c6a65bb Merge pull request #27 from lbryio/ux_gonna_give_it_to_ya
Wicked awesome UX overhaul
2016-08-09 11:03:57 -04:00
.travis Build the frontend assets on travis and deploy to S3 2016-07-22 10:59:39 -05:00
dist crude ability to jump to discover 2016-08-09 08:22:06 -04:00
js Make search not get stuck on Dewey Decimals message 2016-08-09 10:58:35 -04:00
scss unify item tiles 2016-08-09 08:42:32 -04:00
.gitignore Add MediaElement.js to main repo (not just dist.zip) 2016-07-20 16:20:25 -04:00
.travis.yml Build the frontend assets on travis and deploy to S3 2016-07-22 10:59:39 -05:00
dist.zip Clean up and Package 2016-08-02 08:35:18 -05:00
README.md minor formatting fix 2016-07-24 11:55:24 -04:00
watch.sh Update watch.sh 2016-04-10 16:25:26 -04: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)
  • Install babel (npm install -g babel-cli)
  • Install babel presets (npm install babel-preset-es2015 babel-preset-react)
  • Install SASS
  • Run ./watch.sh
  • Run lbrynet-daemon --ui=/full/path/to/dist/
  • Changes made in js and sass will be auto compiled to dist
  • lbrynet-daemon --branch=branchname can be used to test remote branches
  • lbry.call('configure_ui', {path: '/path/to/ui'}) can be used in JS console on web ui to switch ui path
  • 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