A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
Find a file
2017-12-04 19:03:08 -03:00
.github update references to slack 2017-10-25 17:45:47 -04:00
.tx Convert project into a one package.json file structure 2017-11-29 01:43:49 -03:00
build Unzip daemon on /static/ dir /build.sh 2017-12-04 17:46:51 -03:00
src Remove old webpack related packages 2017-12-04 18:03:54 -03:00
static Move static resources into /static/ dir 2017-12-04 16:53:30 -03:00
.appveyor.yml build branches with prs on appveyor 2017-06-30 15:04:31 -04:00
.bumpversion.cfg Convert project into a one package.json file structure 2017-11-29 01:43:49 -03:00
.gitignore attempt to fix restructuring branch 2017-11-27 18:48:45 -05:00
.travis.yml only travis on releases 2017-06-23 11:30:17 -04:00
build.sh Fix build script to permit paths with spaces 2017-11-10 11:48:04 -05:00
CHANGELOG.md change header balance to 2 decimal places 2017-11-26 14:56:02 -05:00
CONTRIBUTING.md contributing 2017-09-28 08:14:54 -04:00
Dangerfile minor cleanup 2017-06-21 08:34:50 -04:00
electron-webpack.json Configure electron-webpack 2017-12-04 16:45:18 -03:00
LICENSE Initial commit 2017-01-16 14:05:32 -05:00
package.json Move node-sass to devDependencies 2017-12-04 19:03:08 -03:00
README.md Convert project into a one package.json file structure 2017-11-29 01:43:49 -03:00
watch.bat Convert project into a one package.json file structure 2017-11-29 01:43:49 -03:00
watch.sh Convert project into a one package.json file structure 2017-11-29 01:43:49 -03:00
webpack.renderer.additions.js Resolve package.json path 2017-12-04 17:09:40 -03:00
yarn.lock Move node-sass to devDependencies 2017-12-04 19:03:08 -03:00

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 on Linux and macOS

One-time Setup

  1. Clone this repo
  2. DEPS=true ./build.sh

This will download and install the LBRY app and its dependencies, including the LBRY daemon and command line utilities like node and yarn. The LBRY app requires Node >= 6; if you have an earlier version of Node installed and want to keep it, you can use nvm to switch back and forth.

Running

Run ./node_modules/.bin/electron .

Ongoing Development

./watch.sh

This will set up a monitor that will automatically compile any changes to JS or CSS folders inside of the src/renderer 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
npm install -g yarn
yarn install
npm rebuild node-sass
node_modules\.bin\node-sass --output dist\css --sourcemap=none src\renderer\scss\
node_modules\.bin\webpack --config src\renderer\webpack.prod.js
xcopy /E src\renderer\dist dist
  1. Download the lbry daemon and cli binaries and place them in dist\

Building lbry-app

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

Running the electron app

Run node_modules\.bin\electron .

Ongoing Development

Run watch.bat

This will set up a monitor that will automatically compile any changes to JS or CSS folders inside of the src\renderer 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 /src/main/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.