Skip to content

Latest commit

 

History

History
169 lines (125 loc) · 8.98 KB

README.en_US.md

File metadata and controls

169 lines (125 loc) · 8.98 KB

JProxy Logo

stars forks docker pulls MIT License

简体中文 | English

🌟 Introduce

A proxy between Sonarr / Radarr and Jackett / Prowlarr, mainly used to optimize search and improve recognition rate

graph LR
    1[Sonarr / Radarr] == request Jackett / Prowlarr Torznab interface ==> 2(JProxy) == proxy Sonarr / Radarr request ==> 3(Jackett / Prowlarr)

    3(Jackett / Prowlarr) == return raw result ==> 2(JProxy) == return formatted result ==> 1(Sonarr / Radarr)
    
    2(JProxy) == optimize search keywords ==> 2(JProxy)
    2(JProxy) == format search result ==> 2(JProxy)
Loading

20230405044128 20230406181845 20230414101425

🧱 Install

Docker

version: '3.0'
services:
   jproxy:
      image: luckypuppy514/jproxy:latest
      container_name: jproxy
      restart: unless-stopped
      environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai
      - JAVA_OPTS=-Xms512m -Xmx512m
      ports:
      - 8117:8117
      volumes:
      - /docker/jproxy/database:/app/database

If you want deploy via docker run ,see docker-run.sh

Parameter Default Description
PUID 0 User ID
PGID 0 Group ID
TZ Asia/Shanghai Timezone
JAVA_OPTS -Xms512m -Xmx512m JVM parameters
CACHE_EXPIRES 4320 Cache expiration time (minutes)
TOKEN_EXPIRES 10080 Login expiration time (minutes)
SYNC_INTERVAL 3 Synchronization interval (minutes)
RENAME_FILE true File rename switch (true/false)
MIN_COUNT 8 Append title of primary language (without season and episode number) to search while current result count less than this value
INDEXER_RESULT_CACHE_EXPIRES 15 Indexer result cache expiration time (minutes)

If you need to set a proxy, you can append the corresponding proxy parameters in JAVA_OPTS

  • HTTP Proxy -Xms512m -Xmx512m -Dhttp.proxyHost=192.168.6.2 -Dhttp.proxyPort=12345
  • SOCKS Proxy -Xms512m -Xmx512m -DsocksProxyHost=192.168.6.2 -DsocksProxyPort=54321

Windows

  1. Download jdk17, install and configure environment variables
  2. Download windows.zip ,unzip to the installation directory
Filename Explanation Remark
startup.bat starup script -
shutdown.bat shutdown script -
startup-daemon.bat startup background script hidden window running in the background
database database keep it while upgrade
config configuration files -
jproxy.jar Runnable jar package -

☃️ Basic Configuration

  • URL: http://127.0.0.1:8117/login
  • User: jproxy
  • Password: jproxy@2023

20230406181038

① Fill in Sonarr Server Url, API KEY, and Indexer Address in System - Configure (Jackett or Prowlarr)

20230404182207 20230414101841

💡 After saving, it should normally be as shown in the picture below ✅, otherwise please check the input and network connectivity

20230414101757

② For the first use, it is recommended to manually synchronize Series Title and Series Rule once (it will be automatically synchronized later)

20230406182240 20230406182304

③ Modify the IP and Port of the indexer to the IP and Port of JProxy, and append the path

Jackett

http://192.168.6.15:9117/api/v2.0/...... ➡️ http://192.168.6.14:8117/sonarr/jackett/api/v2.0/......

20230404172541

Prowlarr

http://192.168.6.15:9696 ➡️ http://192.168.6.14:8117/sonarr/prowlarr

20230806210024

And change Authentication Required to Disabled for Local Addresses

20230806211107

🎗️ For advanced configuration and usage, see wiki

😘 Contributing

Feel free to dive in!Open an issue or submit PRs.

👏 Related Efforts

🃏 License

MIT © LuckyPuppy514