4cecoder / quick-vid

Mirror

Home Page:https://notabug.org/jyamihud/FastLBRY-terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastLBRY terminal

█▓▓█▓▓▓▓▓▓█▓██▓▓▓▓▓▓▓█▓▓▓▓▓▓█▓▓▓▓██▓▓▓▓█▓▓▓▓█
▓▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▓▒▒▒▒▓▒▓
██░░░▒░░░░░░▒░░░░░░░▒░░░░░░░░░▒░░▒░░░░░░░░▒▓▓
▓▓░ ░          ░             ░    ■     ■░░▒▓
▓▒▒ ╔════════■   ░  ╔════╗ ╔════╗ ║  ░  ║ ░▓█
▓▒░ ║ ░      ║      ║    ║ ║    ║ ║     ║ ░▒▓
█▓░░║        ║      ╠════╣ ╠═╦══╝ ╚══╦══╝ ▒▒▓
▓▒▒ ╠══ AST ■║      ║    ║ ║ ╚══╗    ║   ░░▒█
█▒░ ║        ║      ║    ║ ║    ║    ║    ░▓▓
▓▓░ ║    ░   ╚═════■╚════╝ ■    ■ ░  ║ ░  ░▒▓
▓▒░░║ ░       THE TERMINAL CLIENT    ║    ▒▒█
█▒▒ ■      ░                  ░      ■ ▒░ ░▓▓
▓▒░░░░░░░▒░░░░▓░░░░░▒░░░░░░░░░▒░░░░▒░░░░░░░▒█
▓▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▓▒▒▓▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▓▒▒▒▒▒▓▓▓
█▓▓█▓▓▓▓▓████▓▓▓▓█▓▓▓▓█▓▓▓▓██▓▓▓█▓▓▓▓▓█▓▓▓▓██

This is one of the 3 programs that will be the FastLBRY project. There is not enough choice when it comes to LBRY. The two major clients are the Odysee.com website (which may become proprietary in the future) or LBRY Desktop which shares its source code with Odysee, making it a sub-optimal solution. LBRY Desktop is more local, but it's still a tiny browser with a website on it.

If you look on what's running on Odysee.com, you will discover a bloated mess of compiled JavaScript on top of other bloated mess of JavaScript. Pages barely contain HTML5 code. I've talked to them about this and all they could say was:

Thank you for the issue and write up. This is not something we plan to do anytime soon since we rely on the open-source videojs framework heavily. We may consider it in the future.

Fine. You won't do that. How about me? Maybe I can do that. It's Free / Libre Software we are talking about. You don't need a permission to start implementing things.

Here is the plan for this project:

  • FastLBRY Terminal. A fully featured, terminal application to interact with LBRY. It will allow watching videos, downloading files, viewing and sending comments, uploading new files, and more. This is mostly feature complete, and all of the features mentioned before are implemented already.
  • FastLBRY GTK. A fully featured graphical application. It will have all the same features as the FastLBRY Terminal but with a GUI that a basic user might understand. It will require a bit of UI design work. I don't want it to resemble YouTube. LBRY is way deeper then just a clone of YouTube. I want the design to showcase the LBRY network correctly. This is in its early stages. You can find its repository here.
  • FastLBRY HTML5. A fully featured server application, released under the GNU AGPL this time. That people could install to make instances of LBRY on the web. But instead of it being this bloated mess of JavaScript, it will be a straight forward HTML5 site, with little to no JavaScript. And only for secondary features ( like live notifications for comments ). So it will not break core features if the user decides to block all JavaScript.

Installation

If you have git installed (available in most GNU+Linux repositories as simply git) you can clone the repository using this command:

git clone https://notabug.org/jyamihud/FastLBRY-terminal.git

Or you can download a compressed version of the project by clicking the download symbol on the far right of the repository link.

To run the program, go to the directory it is cloned (or extracted) to and run:

python3 run.py

For Arch GNU+Linux users, FastLBRY Terminal is on the AUR as fastlbry-terminal-git. Once it is installed, you can run fastlbry-terminal from a terminal to run the program.

For now FastLBRY Terminal is a rolling-release piece of software, but we are steadily working our way to a 1.0 release. Technically there is a 0.5 release, but its use is highly discouraged as it is very out of date.

Python 3 is a dependency for running FastLBRY Terminal.

WE NEED HACKERS!!! WE NEED YOU!!!

This project requires a lot of work to be done. The good thing is that it's based on Python. Without using too many complex features. We do use the lbrynet SDK for now, though we would like to eventually rewrite the SDK under the GNU GPL later on.

If you know nothing about programming, this is a good way to start. If you know something about programming, this is a good opportunity to contribute. To learn things needed to hack on this project and to help it be where it needs to be you can use the following resources:

  • Python Basics to learn the basic syntax of python. You can use this as a handbook when ever you don't understand a line. Or when ever you need a way to implement a thing.
  • LBRY SDK API to learn all kinds of possible things that you can do with the SDK. Alternatively you can go to the folder flbry ( using cd flbry ) and then run the ./lbrynet --help command to see various commands of the SDK.
  • DuckDuckGo a search engine that can help you find answers for things that are not documented in any of the previous places. Sometimes you may need to go to the second page.
  • The Matrix Chat (#FastLBRY:matrix.org) where you can hang out with an already quite substantial amount of users / hackers of FastLBRY. The main developers are also there, so if you have any question what so ever just post it there.

VIDEO TUTORIAL ON HOW TO HACK IT

thumb

Click the image to watch on Librarian or... Direct Spee.ch link

Note: this video is on an outdated version of FastLBRY Terminal

Now open the run.py file in your preferred editor and start hacking.

Donation Information

This project has a built in donation system using LBC (LBRY's built-in cryptocurrency). Users choose to donate to the contributors and the funds are spread between the contributors.

...Read more about the Donation System here...

Plugins

FastLBRY Terminal now supports extensions. For information on how it works and what parts support extending please read the plugins manual.

To do list

To get an idea of what needs to be done, here is a checklist of things. Alternatively, you can look at the Issues page for various issues found by the users, that you can help to fix as well.

Basic Features:

  • Search / List channel publications / See Trending
  • Download / get https link / watch videos / read articles.
  • Setup and upload new publications
  • Read and write comments and replies
  • See wallet history
  • See balance
  • Send support / send LBC to addresses
  • View Following
  • Follow new channels
  • Login (currently requires logging in from LBRY Desktop) Issue #17

Nice to have things

  • Make UI fit to the terminal size.
  • Changing the lbrynet binary to a full python implementation. Issue #3
  • Analytics
  • Multi-Language support Issue #21, Issue #32

Licensing

The project is copyright J.Y.Amihud and Other Contributors 2021, under the GNU General Public License Version 3 or any later version. This choice will protect this project from becoming proprietary.

Unfortunately, the LBRY SDK which the project relies on is copyright LBRY Inc. and is under the Expat License (also known as the MIT license). Click here to read their license., which wasn't our choice. We are thinking about reimplementing the LBRY SDK under the GNU GPL sometime later so we do not have to use lbrynet.

User help

If you have a question or an issue please tell us about it. We are not magical wizards. We can't read your mind. And we don't have telemetry. So it's on you to tell us about errors and other annoyances. You can use the:

Happy Hacking!

About

Mirror

https://notabug.org/jyamihud/FastLBRY-terminal

License:Other


Languages

Language:Python 99.8%Language:Shell 0.2%