JProxy Logo

stars forks docker pulls MIT License

็ฎ€ไฝ“ไธญๆ–‡ | English
- [๐ŸŒŸ Introduce](#-introduce) - [๐Ÿงฑ Install](#-install) - [Docker](#docker) - [Windows](#windows) - [โ˜ƒ๏ธ Basic Configuration](#๏ธ-basic-configuration) - [๐Ÿ˜˜ Contributing](#-contributing) - [๐Ÿ‘ Related Efforts](#-related-efforts) - [๐Ÿƒ License](#-license) ## ๐ŸŒŸ Introduce A proxy between `Sonarr / Radarr` and `Jackett / Prowlarr`, mainly used to optimize search and improve recognition rate ```mermaid 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) ``` ![20230405044128](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-05/20230405044128.webp) ![20230406181845](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-06/20230406181845.webp) ![20230414101425](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-14/20230414101425.webp) ## ๐Ÿงฑ Install ### Docker ```text 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](https://github.com/LuckyPuppy514/jproxy/blob/main/docker/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](https://kutt.lckp.top/yrnerc), install and configure environment variables 2. [Download windows.zip](https://github.com/LuckyPuppy514/jproxy/releases) ๏ผŒ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](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-06/20230406181038.webp) โ‘  Fill in `Sonarr Server Url`, `API KEY`, and `Indexer Address` in `System - Configure` (Jackett or Prowlarr) ![20230404182207](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-04/20230404182207.webp) ![20230414101841](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-14/20230414101841.webp) ๐Ÿ’ก After saving, it should normally be as shown in the picture below โœ…, otherwise please check the input and network connectivity ![20230414101757](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-14/20230414101757.webp) โ‘ก For the first use, it is recommended to manually synchronize `Series Title` and `Series Rule` once (it will be automatically synchronized later) ![20230406182240](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-06/20230406182240.webp) ![20230406182304](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-06/20230406182304.webp) โ‘ข 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](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-04-04/20230404172541.webp) Prowlarr `http://192.168.6.15:9696` โžก๏ธ `http://192.168.6.14:8117/sonarr/prowlarr` ![20230806210024](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-08-06/20230806210024.webp) And change `Authentication Required` to `Disabled for Local Addresses` ![20230806211107](https://github.com/LuckyPuppy514/image/raw/main/2023/2023-08-06/20230806211107.webp) [๐ŸŽ—๏ธ For advanced configuration and usage, see wiki](https://github.com/LuckyPuppy514/jproxy/wiki) ## ๐Ÿ˜˜ Contributing Feel free to dive in๏ผ[Open an issue](https://github.com/LuckyPuppy514/jproxy/issues/new/choose) or submit PRs. - [arco-design-pro-vue](https://github.com/arco-design/arco-design-pro-vue) - [spring-boot](https://github.com/spring-projects/spring-boot) - [sqlite](https://github.com/sqlite/sqlite) - [liquibase](https://github.com/liquibase/liquibase) - [mybatis](https://github.com/mybatis/mybatis-3) - [mybatis-plus](https://github.com/baomidou/mybatis-plus) - [caffeine](https://github.com/ben-manes/caffeine) - [knife4j](https://github.com/xiaoymin/knife4j) - [charon](https://github.com/mkopylec/charon-spring-boot-starter) - [jib](https://github.com/GoogleContainerTools/jib) ## ๐Ÿ‘ Related Efforts - [Sonarr](https://github.com/Sonarr/Sonarr) - [Radarr](https://github.com/radarr/radarr) - [Jackett](https://github.com/Jackett/Jackett) - [Prowlarr](https://github.com/Prowlarr/Prowlarr) - [qBittorrent](https://github.com/qbittorrent/qBittorrent) ## ๐Ÿƒ License [MIT](https://github.com/LuckyPuppy514/jproxy/blob/main/LICENSE) ยฉ LuckyPuppy514