{"id":19006599,"url":"https://github.com/deepred5/yande-telegram-bot","last_synced_at":"2025-04-22T19:24:18.912Z","repository":{"id":35531039,"uuid":"178530591","full_name":"deepred5/yande-telegram-bot","owner":"deepred5","description":"🔞 yande.re telegram bot","archived":false,"fork":false,"pushed_at":"2022-12-09T17:43:25.000Z","size":149,"stargazers_count":25,"open_issues_count":7,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-17T11:59:07.888Z","etag":null,"topics":["telegram-bot","yande"],"latest_commit_sha":null,"homepage":"https://t.me/yande5_bot","language":"JavaScript","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/deepred5.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}},"created_at":"2019-03-30T08:10:07.000Z","updated_at":"2025-01-23T12:33:17.000Z","dependencies_parsed_at":"2023-01-15T22:54:04.768Z","dependency_job_id":null,"html_url":"https://github.com/deepred5/yande-telegram-bot","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/deepred5%2Fyande-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fyande-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fyande-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fyande-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepred5","download_url":"https://codeload.github.com/deepred5/yande-telegram-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250307073,"owners_count":21409030,"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":["telegram-bot","yande"],"created_at":"2024-11-08T18:33:12.581Z","updated_at":"2025-04-22T19:24:18.865Z","avatar_url":"https://github.com/deepred5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yande-telegram-bot\n\n\u003ca href=\"https://yande.re\"\u003e\u003cimg src=\"https://assets.yande.re/assets/logo_small-418e8d5ec0229f274edebe4af43b01aa29ed83b715991ba14bb41ba06b5b57b5.png\"\u003e\u003c/a\u003e\n\n\n### [yande5_bot](https://t.me/yande5_bot)\n\n\u003cimg src=\"./bot.jpg\" width=\"66\" style=\"border-radius: 50%;\"\u003e\n\nTelegram搜索`@yande5_bot`或点击这里[yande5_bot](https://t.me/yande5_bot)\n\n使用方法:\n* /latest 3 获取最新3张图片\n* /popular 1d(1d/1w/1m/1y) 获取1天(天/周/月/年)的popular图片\n* /random 3 获取随机3张图片\n* /tag bra 3 获取标签为bra的3张图片\n* /help 帮助信息\n* /about 关于\n* /start 开始使用\n\n### [dailyYande](https://t.me/dailyYande)\n\n\u003cimg src=\"./channel.jpg\" width=\"66\" style=\"border-radius: 50%;\"\u003e\n\nTelegram搜索`@dailyYande`或者点击这里[dailyYande](https://t.me/dailyYande)\n\n使用`@yande5_bot`机器人管理`@dailyYande` channel\n\n每晚20:00准时发送当日popular图片，每周日21:00准时发送本周popular图片\n\n### 部署\n参考[从零开始写一个Telegram Bot](http://anata.me/2019/03/30/%E4%BB%8E%E9%9B%B6%E5%BC%80%E5%A7%8B%E5%86%99%E4%B8%80%E4%B8%AATelegram-Bot/#%E7%BA%BF%E4%B8%8A%E9%83%A8%E7%BD%B2)\n\n`config.js`\n```javascript\nmodule.exports = {\n  token: '你的token',\n  socksPassword: '本地开发时的ss梯子密码',\n  url: 'webhook模式下的转发地址',\n  port: 'webhook模式下express监听端口',\n  myId: '用户Id',\n  dailyYandeChannelId: '频道Id' // 需要bot为该频道的管理员\n}\n```\n\n`nginx配置`\n```conf\n# 代理yande bot\nlocation /bot${你的token} {\n    proxy_pass http://127.0.0.1:9000; # 对应config.js里面的port端口\n    proxy_http_version 1.1;\n    proxy_set_header X_FORWARDED_PROTO https;\n    proxy_set_header X-Real-IP $remote_addr;\n    proxy_set_header X-Forwarded-For $remote_addr;\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header Host $host;\n}\n```\n\n`pm2启动`\n```bash\npm2 start start.json\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepred5%2Fyande-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepred5%2Fyande-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepred5%2Fyande-telegram-bot/lists"}