-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.example
More file actions
42 lines (33 loc) · 1.5 KB
/
env.example
File metadata and controls
42 lines (33 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Paper Digest 环境变量配置示例
# 复制此文件为 .env 并填入你的真实值
# ==================== 必需配置 ====================
# Paper Digest 分析配置(AI 分析论文用)
PAPER_ANALYZER_API_KEY=your-api-key-here
PAPER_ANALYZER_MODEL=kimi-for-coding
PAPER_ANALYZER_ENDPOINT=https://api.kimi.com/coding/v1
# 微信公众号配置(发布到公众号用)
WECHAT_APP_ID=your-wechat-app-id
WECHAT_APP_SECRET=your-wechat-app-secret
WECHAT_THUMB_MEDIA_ID=your-thumb-media-id
PAPER_DIGEST_AUTHOR=your-name
# 飞书配置(发布到飞书用)
FEISHU_APP_ID=your-feishu-app-id
FEISHU_APP_SECRET=your-feishu-app-secret
# Blog 发布配置(发布到 GitHub Pages 博客用)
PAPER_DIGEST_BLOG_REPO=~/code/github_repos/your-blog-repo
PAPER_DIGEST_BLOG_BASE_PATH=/your-blog-base-path
PAPER_DIGEST_BLOG_URL=https://yourusername.github.io/your-blog/posts
PAPER_DIGEST_GITHUB_REMOTE=origin
PAPER_DIGEST_REPO_URL=github.com/yourusername/your-repo
# ==================== 可选配置 ====================
# 图床配置(论文图片托管)
# 可选值: local, qiniu
PAPER_DIGEST_IMAGE_HOST=local
PAPER_DIGEST_IMAGE_BASE_URL=https://yourusername.github.io/your-images-repo
# 七牛云图床配置(如使用 qiniu)
# PAPER_DIGEST_S3_ENDPOINT=https://s3.cn-east-1.qiniucs.com
# PAPER_DIGEST_S3_BUCKET=your-bucket
# PAPER_DIGEST_S3_ACCESS_KEY=your-access-key
# PAPER_DIGEST_S3_SECRET_KEY=your-secret-key
# 小红书 Cookie(JSON 格式 base64 编码,用于发布到小红书)
XIAOHONGSHU_COOKIES=