first commit

This commit is contained in:
0Xiao0
2026-03-23 10:45:02 +08:00
commit e6e4cd8119
40 changed files with 5364 additions and 0 deletions

24
.env.example Normal file
View File

@ -0,0 +1,24 @@
# 核心凭证配置 (必填)
APP_ID=your_app_id
APP_SECRET=your_app_secret
LARK_HOST=https://open.feishu.cn
# 单表查询配置 (get_records, batch_get_records)
DEFAULT_APP_TOKEN=your_default_app_token
DEFAULT_TABLE_ID=your_default_table_id
BATCH_TABLE_ID=your_batch_table_id
# 导出网页视图配置 (严格 JSON 数组格式)
WEB_VIEW_TABS=[{"name": "默认分组", "app_token": "your_app_token", "table_id": "your_table_id"}]
# AI 总结配置 (可选,用于 outline_view.html 生成摘要)
AI_API_KEY=your_ai_api_key
AI_BASE_URL=https://api.openai.com/v1
AI_MODEL=gpt-4o
# 多表合并功能配置 (可选)
MERGE_SOURCE_APP_TOKEN_1=source_token_1
MERGE_SOURCE_TABLE_ID_1=source_id_1
MERGE_SOURCE_APP_TOKEN_2=source_token_2
MERGE_SOURCE_TABLE_ID_2=source_id_2
MERGE_TARGET_APP_TOKEN=target_token