{"id":20253380,"url":"https://github.com/fireinrain/javbus-telegram-bot","last_synced_at":"2025-04-10T23:43:07.800Z","repository":{"id":61850572,"uuid":"361408737","full_name":"fireinrain/javbus-telegram-bot","owner":"fireinrain","description":"A  telegram bot that help you to get latest javbus film information easily","archived":false,"fork":false,"pushed_at":"2023-10-15T14:45:20.000Z","size":5787,"stargazers_count":23,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T23:43:02.565Z","etag":null,"topics":["bot","javbus","telegram","telegram-bot"],"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/fireinrain.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":"2021-04-25T11:24:35.000Z","updated_at":"2025-03-05T13:36:38.000Z","dependencies_parsed_at":"2024-11-14T13:15:51.519Z","dependency_job_id":null,"html_url":"https://github.com/fireinrain/javbus-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fjavbus-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fjavbus-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fjavbus-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fireinrain%2Fjavbus-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fireinrain","download_url":"https://codeload.github.com/fireinrain/javbus-telegram-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317726,"owners_count":21083527,"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":["bot","javbus","telegram","telegram-bot"],"created_at":"2024-11-14T10:23:38.374Z","updated_at":"2025-04-10T23:43:07.782Z","avatar_url":"https://github.com/fireinrain.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### telegram bot for javbus\n\n部署一个Javbus Film 搜索机器人, 柯学涩涩。\n\n运行环境:\n\n```bash\nJDK 11/JDK1.8(需要修改pom.xml文件的参数)\n```\n\n远程使用说明：\n\n```bash\n1. 找个国外的主机\n2. git clone https://github.com/fireinrain/javbus-telegram-bot.git\n3. cd 到仓库目录, 执行 `mvn clean \u0026\u0026 mvn package`\n4. cd target\n5. 将javbus-tg-bot-jar-with-dependencies.jar包上传到远程机器\n6. 设置环境变量 `vim /etc/profile`  将`export JAVBUS_BOT_NAME=xxxx` `export JAVBUS_BOT_TOKEN=xxxx` 加入到行尾\n7. `source /etc/profile`\n7. 启动: nohup java -jar javbus-tg-bot-jar-with-dependencies.jar \u003e/dev/null 2\u003e\u00261 \u0026\n8. 完成部署\n```\n\ndocker 运行\n\n```bash\n推荐使用docker-compose 安装\n\n1. 在远程环境创建目录 javbus-tg-bot\n2. 下载本仓库中的docker-compose.yml 文件\n3. 将docker-compose文件中的 JAVBUS_BOT_NAME,JAVBUS_BOT_TOKEN 修改为你自己的参数\n4. `docker-compose -f docker-compose.yml up -d`  进行启动\n\n注意: 如果您部署的vps无法访问javdb 官网 那么就需要在docker-compose 文件中开启socks5 代理\n\n\n\n```\n\n本地开发:\n\n```bash\n本项目如果要在本地部署跑起来，需要现在 tg上面 找到botfather，申请bot的BOT_TOKEN\n\n拿到bot token 后 可以替换setting.properties中的相同名字的配置，并设置Bot name\n\n然后运行TelegramBotApp 作为入口类即可\n\n提示: telegram bot设置命令列表的话 需要去bot father那边设置，选好你的bot name，然后将命令列表发给它\n比如:\n    code - 查询指定番号(视频预览)\n    trending - 查询热门演员或者作品(star/film)\n    latest - 查询演员最新作品(可能无磁力,视频预览)\n    maglatest - 查询演员最新磁力作品(视频预览)\n    star - 查询演员最多30条作品\n    starmag - 查询演员所有磁力作品\n    starall - 查询演员所有作品(包含无磁力作品)\n    starinfo - 查询演员个人信息\n    states - 查询机器人服务信息(/states all)\n    \n注意: 因为telegram 在大陆是被屏蔽的，所以在本地使用的话 需要开启代理，并将代理的端口设置到\nsetting.properties 中。\n\n```\n\n功能列表:\n![功能截图](asserts/img.png)\n\n功能截图:\n\n1. 查询番号信息\n   命令: /code IPX-306\n   结果:\n   ![功能截图](asserts/img_1.png)\n   ![功能截图](asserts/img_2.png)\n   ![功能截图](asserts/img_3.png)\n2. 获取演员最新一部作品信息(可能没有磁力链接)\n   命令: /latest 三上悠亚\n   结果:\n   ![功能截图](asserts/img_4.png)\n3. 获取演员最新一部含有磁力作品信息(可能没有磁力链接)\n   命令: /maglatest 三上悠亚\n   结果:\n   ![功能截图](asserts/img_5.png)\n4. 获取演员最新30部作品信息(可能没有磁力链接)\n   命令: /star 三上悠亚\n   结果:\n   ![功能截图](asserts/img_6.png)\n5. 获取演员所有作品信息\n   命令: /starall 三上悠亚\n   结果:\n   ![功能截图](asserts/img_7.png)\n6. 获取演员所有含有磁力作品信息\n   命令: /starmag 三上悠亚\n   结果:\n   ![功能截图](asserts/img_8.png)\n7. 获取演员个人信息\n   命令: /starinfo 三上悠亚\n   结果:\n   ![功能截图](asserts/img_9.png)\n8. 获取服务器统计信息\n   命令: /states all\n   ![功能截图](asserts/img_10.png)\n9. 获取热门演员\n   命令: /trending star\n   ![功能截图](asserts/img_11.png)\n10. 获取热门作品\n    命令: /trending film\n    ![功能截图](asserts/img_12.png)\n\n最后:\n如果本项目对您有帮助的话，star是对我最大的支持，万分感谢","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffireinrain%2Fjavbus-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffireinrain%2Fjavbus-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffireinrain%2Fjavbus-telegram-bot/lists"}