A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
Find a file
2017-10-20 13:22:34 +05:30
.github update daemon to 0.15 2017-08-15 17:04:09 -04:00
.tx Merge branch 'master' into master 2017-06-22 08:50:36 -04:00
app Use Single Instance App mode on Linux 2017-10-12 18:52:17 -04:00
build add message about installing dependencies in build 2017-09-21 09:29:56 -04:00
ui Quick fix for "checked propType" errors spewing in console, for settings 2017-10-18 23:21:01 +05:30
.appveyor.yml build branches with prs on appveyor 2017-06-30 15:04:31 -04:00
.bumpversion.cfg Bump version: 0.17.0rc3 → 0.17.0 2017-10-12 13:04:17 -04:00
.gitignore Merge branch 'i18n' 2017-08-24 13:43:16 -04:00
.travis.yml only travis on releases 2017-06-23 11:30:17 -04:00
build.sh add message about installing dependencies in build 2017-09-21 09:29:56 -04:00
CHANGELOG.md I wrote the changelog but it disappeared 2017-10-18 23:26:41 +05:30
CONTRIBUTING.md contributing 2017-09-28 08:14:54 -04:00
Dangerfile minor cleanup 2017-06-21 08:34:50 -04:00
LICENSE Initial commit 2017-01-16 14:05:32 -05:00
package.json Upgrade to Electron 1.7.9 2017-10-12 18:30:24 -04:00
README.md update windows build instructions 2017-09-27 15:35:08 -04:00
yarn.lock I'm not sure whether we have to commit yarn.lock too 2017-10-20 13:22:34 +05:30

LBRY App

This is a graphical browser for the decentralized content marketplace provided by the LBRY protocol. It is essentially the lbry daemon bundled with a UI using Electron.

App Screenshot

Installing

We provide installers for Windows, macOS, and Debian-based Linux.

Windows macOS Linux
Latest Stable Release Download Download Download
Latest Prerelease Download Download Download

Our releases page also contains the latest release, pre-releases, and past builds.

To install from source or make changes to the application, continue reading below.

Development

One-time Setup

  1. Install npm and node (v6 and above required, use nvm if having trouble)
  2. Install keytar and libsecret (see keytar repository )
  3. Install yarn by running: npm install -g yarn (may require elevated permissions)
  4. Check out this repo.
  5. Set up a Python virtual environment, or live on the wild side.
  6. Run ./build.sh. This builds the UI assets and puts them into app/dist. It also downloads lbry daemon.

Running

Run ./node_modules/.bin/electron app

Ongoing Development

  1. cd ui
  2. ./watch.sh

This will set up a monitor that will automatically compile any changes to JS or CSS folders inside of the ui folder. This allows you to make changes and see them immediately by reloading the app.

Packaging

We use electron-builder to create distributable packages, which is run by calling:

node_modules/.bin/build -p never

Development on Windows

Windows Dependency

  1. Download and install git from github.io (configure to use command prompt integration)
  2. Download and install npm and node from nodejs.org
  3. Download and install python 2.7 from python.org
  4. Download and Install Microsoft Visual C++ Compiler for Python 2.7 from Microsoft
  5. Download and install .NET Framework 2.0 Software Development Kit (SDK) (x64) from Microsoft (may need to extract setup.exe and install manually by running install.exe as Administrator)

One-time Setup

  1. Open command prompt as adminstrator and run the following:
npm install --global --production windows-build-tools
exit
  1. Open command prompt in the root of the project and run the following:
python -m pip install -r build\requirements.txt
python build\set_version.py
npm install -g yarn
yarn install
  1. Change directory to app and run the following;
yarn install
node_modules\.bin\electron-rebuild
node_modules\.bin\electron-rebuild
cd ..
  1. Change directory to ui and run the following:
yarn install
npm rebuild node-sass
node node_modules\node-sass\bin\node-sass --output dist\css --sourcemap=none scss\
node_modules\.bin\webpack --config webpack.dev.config.js
xcopy /E dist ..\app\dist
cd ..
  1. Download the lbry daemon and cli binaries and place them in app\dist\

Building lbry-app

  1. run node_modules\.bin\build -p never from the root of the project.

Running the electron app

  1. Run node_modules\.bin\electron app

Ongoing Development

  1. cd ui
  2. watch.bat

This will set up a monitor that will automatically compile any changes to JS or CSS folders inside of the ui folder. This allows you to make changes and see them immediately by reloading the app.

Internationalization

If you want to help translating the lbry-app, you can copy the en.json file in /app/locales and modify the values while leaving the keys as their original English strings. An example for this would be: "Skip": "Überspringen", Translations should automatically show up in options.