-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
45 lines (36 loc) · 1.33 KB
/
Copy path.env.example
File metadata and controls
45 lines (36 loc) · 1.33 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
43
44
45
# FeedCraft Environment Variables Example
# Copy this file to .env and customize for your local development
# Server Configuration
LISTEN_ADDR=:8080
ENV=dev
# LOG_LEVEL=info
# Sentry (optional)
SENTRY_DSN=
# Database Configuration
FC_DB_SQLITE_PATH=./db
# Cache Configuration
FC_REDIS_URI=redis://localhost:6379/
# Outbound HTTP User-Agent defaults
FC_HTTP_USER_AGENT_FEED="FeedCraft/2.0"
FC_HTTP_USER_AGENT_HTML="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
# LLM Configuration
FC_LLM_API_BASE=https://api.openai.com/v1
FC_LLM_API_KEY=sk-your-api-key-here
FC_LLM_API_MODEL=gpt-3.5-turbo
FC_LLM_API_TYPE=openai
FC_DEFAULT_TARGET_LANG=zh-CN
# Embedding Configuration (for embedding-filter feature)
# If not set, falls back to LLM configuration above
FC_EMBEDDING_API_TYPE=openai
FC_EMBEDDING_API_BASE=https://api.openai.com/v1
FC_EMBEDDING_API_KEY=sk-your-api-key-here
FC_EMBEDDING_API_MODEL=text-embedding-3-small
FC_EMBEDDING_INSTRUCTION=
# Max texts per batch sent to embedding service. Adjust based on model size and hardware. (default: 5)
FC_EMBEDDING_BATCH_SIZE=5
# Browser Rendering (for fulltext-plus feature)
FC_PUPPETEER_HTTP_ENDPOINT=http://localhost:3000
# Frontend Configuration
FRONTEND_PORT=5173
FRONTEND_HOST=localhost
VITE_API_BASE_URL=http://localhost:8080