Webhost
No description available
Install / Use
/learn @banfeng-git/WebhostREADME
webhost自动化批量保号,每月1号自动登录一次面板,并且发送消息到Telegram
将代码fork到你的仓库并运行的操作步骤
1. Fork 仓库
-
访问原始仓库页面:
- 打开你想要 fork 的 GitHub 仓库页面。
-
Fork 仓库:
- 点击页面右上角的 "Fork" 按钮,将仓库 fork 到你的 GitHub 账户下。
2. 设置 GitHub Secrets
-
创建 Telegram Bot
- 在 Telegram 中找到
@BotFather,创建一个新 Bot,并获取 API Token。 - 获取到你的 Chat ID 方法一,在一休技术交流群里发送
/id@KinhRoBot获取,返回用户信息中的ID就是Chat ID - 获取到你的 Chat ID 方法二,可以通过向 Bot 发送一条消息,然后访问
https://api.telegram.org/bot<your_bot_token>/getUpdates找到 Chat ID。
- 在 Telegram 中找到
-
配置 GitHub Secrets
-
转到你 fork 的仓库页面。
-
点击
Settings,然后在左侧菜单中选择Secrets。 -
添加以下 Secrets:
WEBHOST: 账号信息,格式 账号1:密码 账号2:密码 账号3:密码TELEGRAM_BOT_TOKEN: 你的 Telegram Bot 的 API Token。TELEGRAM_CHAT_ID: 你的 Telegram Chat ID。
-
获取方法:
- 在 Telegram 中创建 Bot,并获取 API Token 和 Chat ID。
- 在 GitHub 仓库的 Secrets 页面添加这些值,确保它们安全且不被泄露。
-
3. 启动 GitHub Actions
-
配置 GitHub Actions
- 在你的 fork 仓库中,进入
Actions页面。 - 如果 Actions 没有自动启用,点击
Enable GitHub Actions按钮以激活它。
- 在你的 fork 仓库中,进入
-
运行工作流
- GitHub Actions 将会根据你设置的定时任务(例如每三天一次)自动运行脚本。
- 如果需要手动触发,可以在 Actions 页面手动运行工作流。
示例 Secrets 和获取方法总结
-
TELEGRAM_BOT_TOKEN
- 示例值:
1234567890:ABCDEFghijklmnopQRSTuvwxyZ - 获取方法: 在 Telegram 中使用
@BotFather创建 Bot 并获取 API Token。
- 示例值:
-
TELEGRAM_CHAT_ID
- 示例值:
1234567890 - 获取方法: 发送一条消息给你的 Bot,然后访问
https://api.telegram.org/bot<your_bot_token>/getUpdates获取 Chat ID。
- 示例值:
注意事项
- 保密性: Secrets 是敏感信息,请确保不要将它们泄露到公共代码库或未授权的人员。
- 更新和删除: 如果需要更新或删除 Secrets,可以通过仓库的 Secrets 页面进行管理。
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
