Files
CloudFlare-AI-Insight-Daily/wrangler.toml
justlovemaki 8374c32ae5 feat(数据源): 添加Reddit数据源并优化现有功能
新增Reddit数据源支持,包括获取、翻译和展示功能
优化Twitter数据源显示逻辑
添加fetch请求超时处理
调整数据源配置和分类
更新页脚链接和图片地址
2025-07-15 17:56:40 +08:00

54 lines
2.1 KiB
TOML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# wrangler.toml
name = "ai-daily"
main = "src/index.js" # <-- Important: path to your main worker script
compatibility_date = "2025-05-20" # Or your project's compatibility date
workers_dev = true
kv_namespaces = [
{ binding = "DATA_KV", id = "kv数据库的ID" }
]
[vars]
IMG_PROXY = "" #图片代理链接,用于处理图片不显示
OPEN_TRANSLATE = "true"
USE_MODEL_PLATFORM = "GEMINI" #GEMINI, OPEN
GEMINI_API_KEY = "xxxxxx-xxxxxx"
GEMINI_API_URL = "https://api-proxy.me/gemini" #网上公共的代理api
DEFAULT_GEMINI_MODEL = "gemini-2.5-flash-preview-05-20"
OPENAI_API_KEY = "sk-xxxxxx" # Replace with your actual OpenAI API Key
OPENAI_API_URL = "https://api.deepseek.com" # Or your OpenAI compatible API URL
DEFAULT_OPEN_MODEL = "deepseek-chat"
FOLO_COOKIE_KV_KEY = "folo_auth_cookie"
FOLO_DATA_API = "https://api.follow.is/entries"
FOLO_FILTER_DAYS = 3
AIBASE_FEED_ID = "69533603812632576"
AIBASE_FETCH_PAGES = "3"
XIAOHU_FEED_ID = "151846580097413120"
XIAOHU_FETCH_PAGES = "2"
HGPAPERS_FEED_ID = "41359648680482832"
HGPAPERS_FETCH_PAGES = "2"
JIQIZHIXIN_FEED_ID = "41459996870678583"
JIQIZHIXIN_FETCH_PAGES = "1"
QBIT_FEED_ID = "58864180026527744"
QBIT_FETCH_PAGES = "1"
XINZHIYUAN_FEED_ID = "60901577013168128"
XINZHIYUAN_FETCH_PAGES = "1"
TWITTER_LIST_ID = "153028784690326528"
TWITTER_FETCH_PAGES = "2"
REDDIT_LIST_ID = "167576006499975168"
REDDIT_FETCH_PAGES = "2"
PROJECTS_API_URL = "https://git-trending.justlikemaki.vip/topone/?since=daily"
GITHUB_TOKEN = "github_pat_xxxxxx"
GITHUB_REPO_OWNER = "justlovemaki"
GITHUB_REPO_NAME = "CloudFlare-AI-Insight-Daily"
GITHUB_BRANCH = "main"
LOGIN_USERNAME = "root"
LOGIN_PASSWORD = "toor"
DAILY_TITLE = "AI洞察日报"
DAILY_TITLE_MIN = " `AI 日报` "
PODCAST_TITLE = "来生小酒馆"
PODCAST_BEGIN = "嘿亲爱的V欢迎收听新一期的来生情报站我是你们的老朋友何夕2077"
PODCAST_END = "今天的情报就到这里,注意隐蔽,赶紧撤离"
BOOK_LINK = ""
INSERT_FOOT = "false"
INSERT_APP_URL = "<h3>[查看完整版AI日报↗ https://ai.hubtoday.app/](https://ai.hubtoday.app/)</h3>"