feat: Implement Telegram bot with Claude authentication, mail service, and identity spoofing, refactoring core logic into new modules.
This commit is contained in:
33
config.toml.example
Normal file
33
config.toml.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# ============================================================
|
||||
# autoClaude 配置文件模板
|
||||
# 复制本文件为 config.toml 并填入实际值
|
||||
# ============================================================
|
||||
|
||||
# --- Claude ---
|
||||
[claude]
|
||||
url = "https://claude.ai/api/auth/send_magic_link"
|
||||
|
||||
# --- Stripe ---
|
||||
[stripe]
|
||||
pk = "pk_live_51MExQ9BjIQrRQnuxA9s9ahUkfIUHPoc3NFNidarWIUhEpwuc1bdjSJU9medEpVjoP4kTUrV2G8QWdxi9GjRJMUri005KO5xdyD"
|
||||
product_id = "prod_TXU4hGh2EDxASl"
|
||||
|
||||
# --- Telegram Bot ---
|
||||
[telegram]
|
||||
bot_token = "your_bot_token_here" # @BotFather 获取
|
||||
allowed_users = [] # 允许使用的用户ID列表(空=不限制)
|
||||
|
||||
# --- 邮箱系统(轮询使用,API 接口相同)---
|
||||
# 可添加多个 [[mail]] 块
|
||||
|
||||
[[mail]]
|
||||
base_url = "https://mail.example.com/"
|
||||
admin_email = "admin@example.com"
|
||||
admin_pass = "your_password"
|
||||
domains = ["example.com"]
|
||||
|
||||
# [[mail]]
|
||||
# base_url = "https://mail2.example.com/"
|
||||
# admin_email = "admin@mail2.example.com"
|
||||
# admin_pass = "pass2"
|
||||
# domains = ["domain2.com", "domain3.com"]
|
||||
Reference in New Issue
Block a user