Installation
Flatpak (recommended)
The installation of flatpak is the easiest, you can find the application on flathub. Follow the instructions over there. You will not need to install any prerequisites other than mentioned on the flatpak installation guide.
Appimage (currently broken)
Prerequisites
- mpv (or any other video player if you follow this
- youtube-dl (will often be installed with mpv)
Installation
To use the AppImage, just download it from the releases tab to your Pinephone. I recommend the usage of appimaged to integrate the application to your environment.
Alternative: Getting the binary
Downloading the binary
- Download the newest binary in the
Releases
tab of Github - Download
tubefeeder.desktop
,tubefeeder.png
tools/install.sh
, put these in the same folder as the downloaded binary - Jump to the section
Automated installation
Compiling the binary
Note: This method of installation is recommended, if you want the newest features and have experience in compiling.
Prerequisites (on your computer)
Compilation
- Clone this repository,
cd
into it - Run
docker build -t tubefeeder docker/
(this may take a long time) - Run
cross build --target=aarch64-unknown-linux-gnu
(this may also take a long time)
Installation on the Pinephone
Automated installation
- Enable ssh on the Pinephone, usually by running
sudo systemctl start sshd
- Run
chmod +x ./tools/install.sh
- Run
./tools/install.sh {user} {ip}
, replace{user}
with the user on the Pinephone (e.g.manjaro
) and{ip}
with the ip address of the device (usually starting with192.168.
)
Manual installation
- Enable ssh on the Pinephone, usually by running
sudo systemctl start sshd
- Copy the compiled binary to the Pinephone (e.g.
scp target/aarch64-unknown-linux-gnu/debug/tubefeeder {user}@{ip}:~/.local/bin/tubefeeder
, replace{user}@{ip}
with the user and ip of your device, create any directories if any errors happen) - Optional but highly encouraged:
- Change
{user}
in thetubefeeder.desktop
file to the user of your pinephone - Copy the .desktop file (e.g.
scp tubefeeder.desktop {user}@{ip}:~/.local/share/applications
) - Copy the .png file (e.g.
scp tubefeeder.png {user}@{ip}:~/.local/share/icons
)
- Change
Notice
Copyright: 2021 Julian Schmidhuber github@schmiddi.anonaddy.com
Unless otherwise noted content on this wiki may be used under the terms of the GNU FDL, either version 1.3 (https://www.gnu.org/licenses/fdl-1.3.html) or (at your opinion) any later version of the license, or (at your opinion) the CC-BY-SA-4.0-license (https://creativecommons.org/licenses/by-sa/4.0/legalcode).