-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy path.env.example
More file actions
49 lines (37 loc) · 2.74 KB
/
.env.example
File metadata and controls
49 lines (37 loc) · 2.74 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
46
47
48
49
# ─────────────────────────────────────────────────────────────────────
# Siftly — Environment Variables
# Copy this file to .env.local and fill in your values.
# ─────────────────────────────────────────────────────────────────────
# Database — SQLite file path (no changes needed for local dev)
DATABASE_URL="file:./prisma/dev.db"
# ── Anthropic auth ───────────────────────────────────────────────────
# Option A: Claude CLI OAuth token (free under your Claude subscription)
# Locally, the app reads this from the macOS keychain automatically — no config needed.
# In Docker, extract it manually:
# security find-generic-password -s "Claude Code-credentials" -w \
# | python3 -c "import sys,json; print(json.load(sys.stdin)['claudeAiOauth']['accessToken'])"
# ANTHROPIC_CLI_KEY=
# Option B: Regular Anthropic API key (pay-as-you-go)
# Get yours at: https://console.anthropic.com (starts with sk-ant-api03-)
# ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
# Optional: custom API base URL (proxy or local model server)
# ANTHROPIC_BASE_URL=
# ── MiniMax auth ────────────────────────────────────────────────────
# MiniMax API key (get one at https://platform.minimaxi.com)
# MINIMAX_API_KEY=eyJ...
# Optional: custom MiniMax API base URL (defaults to https://api.minimax.io/v1)
# MINIMAX_BASE_URL=
# ── OpenAI auth ─────────────────────────────────────────────────────
# OpenAI API key (alternative provider)
# OPENAI_API_KEY=sk-...
# Optional: custom OpenAI API base URL
# OPENAI_BASE_URL=
# ── Access control (optional) ────────────────────────────────────────
# Set BOTH to enable HTTP Basic Auth on the entire app.
# Leave unset for unrestricted local access (the default).
# Recommended when exposing Siftly via a public URL (e.g. Cloudflare Tunnel).
# SIFTLY_USERNAME=admin
# SIFTLY_PASSWORD=your-passphrase-here
# ── Import options ──────────────────────────────────────────────────
# Automatically trigger AI categorization after a successful import.
# AUTO_CATEGORIZE_AFTER_IMPORT=true