{"id":21085302,"url":"https://github.com/nekolr/peashooter","last_synced_at":"2025-03-23T00:42:23.442Z","repository":{"id":44429728,"uuid":"509636849","full_name":"nekolr/peashooter","owner":"nekolr","description":"🌻 rss convertor","archived":false,"fork":false,"pushed_at":"2025-03-05T02:04:21.000Z","size":1092,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-05T03:18:37.178Z","etag":null,"topics":["indexer","rss","sonarr"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nekolr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-02T02:21:32.000Z","updated_at":"2025-03-05T02:04:25.000Z","dependencies_parsed_at":"2024-05-08T04:27:39.226Z","dependency_job_id":"63c6fb71-17ff-4957-9b08-f378f53de867","html_url":"https://github.com/nekolr/peashooter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekolr%2Fpeashooter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekolr%2Fpeashooter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekolr%2Fpeashooter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekolr%2Fpeashooter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nekolr","download_url":"https://codeload.github.com/nekolr/peashooter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040188,"owners_count":20551299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["indexer","rss","sonarr"],"created_at":"2024-11-19T20:31:38.430Z","updated_at":"2025-03-23T00:42:23.415Z","avatar_url":"https://github.com/nekolr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 简介\nPeashooter（豌豆射手）用一句话概括就是 RSS 转换器，使用它可以将 BT 站发布的 RSS 内容转换成 [Sonarr](https://github.com/Sonarr/Sonarr) 能够正确识别的内容，从而完成自动化（目前半自动）追番。\n\n## 使用\n\n### 拉取镜像\n`docker pull nekolr/peashooter:latest`\n\n### 启动镜像\n\n```bash\ndocker run --name peashooter -d  \\\n    -v /data/peashooter:/data/peashooter \\\n    -p 8962:8962 \\\n    -e PEASHOOTER_USERNAME=admin \\ \n    -e PEASHOOTER_PASSWORD=admin \\\n    nekolr/peashooter:latest\n```\n\n### 设置\n![settings](/resources/settings.png)\n\n需要设置 sonarr、qbittorrent、themoviedb，如果需要，还可以设置代理。\n\n### 数据源\n ![datasource](/resources/datasource.png)\n \n这里使用蜜柑的数据，同步间隔决定多长时间刷新该数据源的内容。\n\n### 分组\n![group_01](/resources/group_01.png)\n\n打开分组菜单，选择添加分组，然后选择刚才添加的数据源进行查看。\n\n![group_02](/resources/group_02.png)\n\n随便选择一条记录并点击鼠标右键，会弹出**生成正则表达式的选项卡**，点击即可在匹配器中自动填充表达式。\n\n![group_03](/resources/group_03.png)\n\n在匹配器中，选中剧集号，然后使用**替换选择文本为集数**即可将剧集号修改为对应的表达式。\n\n![group_04](/resources/group_04.png)\n\n接下来在选择剧集中搜索对应的番剧，这里其实是搜索 sonarr 中已经添加的番剧，如果搜索不到，请使用右侧的刷新按钮，等待刷新后再次搜索。接着选择数据源，并给分组起一个名字，修改季度信息等。\n\n![group_05](/resources/group_05.png)\n\n接下来即可点击**测试匹配效果**按钮检查一下能否正确匹配到相关的剧集。\n\n![group_06](/resources/group_06.png)\n\n点击**发布所有分组的 RSS 索引**，这会为 sonarr 添加一个 Indexer。\n\n![indexer](/resources/indexer.png)\n\n好了，enjoy it。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekolr%2Fpeashooter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekolr%2Fpeashooter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekolr%2Fpeashooter/lists"}