de08c04158
Still needs logic to notify the form when there's invalid input Add address validation to Send page Trim address input on Send page Adds trim prop to FormField Improve LBRY address regexp On Send page, don't prevent form submit, and only show error on blur This isn't a full fix (it only handles blur, it's still the form's job to do validation on submit). A proper solution to this (that can generalize to other forms) will probably involve looking at all of the inputs and asking each one whether it has an error, which will require some tricky state management. On Send page, use error message from daemon Update CHANGELOG.md Further improve invalid address regexp - Remove incorrect check for second character - Add "O" to chars excluded from b58 section - Allow for 33-character addresses Don't internationalize daemon error message on Send page remove console, add i18n |
||
---|---|---|
.github | ||
.tx | ||
app | ||
build | ||
ui | ||
.appveyor.yml | ||
.bumpversion.cfg | ||
.gitignore | ||
.travis.yml | ||
build.sh | ||
CHANGELOG.md | ||
Dangerfile | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
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.
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
- Install npm and node (v6 and above required, use nvm if having trouble)
- Install keytar and libsecret (see keytar repository )
- Install yarn by running: npm install -g yarn (may require elevated permissions)
- Check out this repo.
- Set up a Python virtual environment, or live on the wild side.
- Run
./build.sh
. This builds the UI assets and puts them intoapp/dist
. It also downloads lbry daemon.
Running
Run ./node_modules/.bin/electron app
Ongoing Development
cd ui
./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
This project has currently only been worked on in Linux and macOS. If you are on Windows, you can checkout out the build steps in appveyor.yml and probably figure out something from there.
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.