termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.09k stars 3k forks source link

[Package]: Jackett #9757

Open aicynide opened 2 years ago

aicynide commented 2 years ago

Package description

API Support for your favorite torrent trackers

Home page URL

https://github.com/Jackett/Jackett

Source code URL

https://github.com/Jackett/Jackett

Packaging policy acknowledgement

Additional information

No response

sauravmahuri2007 commented 1 year ago

Hi Guys,

I just wanted to update you that I could run the Jackett service on Android using Termux, Mono, and Jackett Mono build :)

Here are the steps I tried:

  1. Installed mono inside Termux using: pkg install mono
  2. Downloaded the Jackett Mono build they've attached to the release page and kept it inside anywhere in the home directory of Termux.
  3. Extracted the tar file using: tar -xvzf Jackett.Binaries.Mono.tar.gz
  4. Changed the directory: cd Jackett and executed the mono command: mono --debug JackettConsole.exe

That's it! It started the Jacett service at the address: http://[::]:9117

I hope this may help others to run the service locally as well as to make Jackett a termux-package.

Uka-Uka commented 1 year ago

@sauravmahuri2007 thanks for the info! I was able to run Jackett on my android TV, but when I tried to add a certain private index I received an error message saying "TSL support not available" however I managed to add other public indexes with no issues.

I already have that private index added with no problems on a windows machine.

sauravmahuri2007 commented 1 year ago

@Uka-Uka : Sorry, I am not sure about your issue. However, it would be nice if you mention the steps you followed to run Jacket in Android TV.

nyakaspeter commented 11 months ago

@Uka-Uka I got the same error and I couldn't get it working with the Mono version, but thankfully Ubuntu (or other distros) can be installed inside Termux and Jackett's ARM binary works from there, at least on my Poco F3. Here are the steps:

  1. Download & install Termux from F-Droid (the Google Play version is outdated), then open it and use the following commands
  2. pkg up to update all Termux packages, use termux-change-repo to change download location if it throws an error
  3. pkg install proot-distro
  4. proot-distro install ubuntu
  5. proot-distro login ubuntu
  6. apt-get update && apt-get upgrade -y to update Ubuntu packages
  7. apt-get install libicu-dev
  8. apt-get install wget (or use any other means to get the Jackett binary into the Ubuntu filesystem)
  9. wget https://github.com/Jackett/Jackett/releases/latest/download/Jackett.Binaries.LinuxARM64.tar.gz to download the latest ARM64 build of Jackett (ARM32 may work too)
  10. tar -xvzf Jackett.Binaries.LinuxARM64.tar.gz
  11. ./Jackett/jackett

And that's it after that Jackett was running on the phone, I could access the Web UI on http://localhost:9117 and after configuring indexers, it seems like sites using TLS are working too. Jackett shows an alert about running with root privileges, but I think that can be ignored. After this only the proot-distro login ubuntu and ./Jackett/jackett commands are needed to start Jackett when using Termux.

aretaleks commented 4 months ago

@nyakaspeter Hey, thanks for your input. I tried your steps, but got stuck on the last one. After entering ./Jackett/jackett I got this error: bash: ./Jackett/jackett: cannot execute: required file not found. Do you have an idea what could cause this? I'm running Termux on a Xiaomi TV box.