-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (41 loc) · 1.89 KB
/
.env.example
File metadata and controls
48 lines (41 loc) · 1.89 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
# TSV Ledger Environment Variables Template
# ===========================================
# 1. Copy this file: cp .env.example .env
# 2. Fill in your actual keys in .env
# 3. NEVER commit .env - it's protected by .gitignore
# ============================================
# ANTHROPIC (for Claude Vision API testing)
# ============================================
# Get API key at: https://console.anthropic.com
ANTHROPIC_API_KEY=sk-ant-YOUR_KEY_HERE
# ============================================
# CLOUDFLARE (for Worker deployment)
# ============================================
# Create API Token at: https://dash.cloudflare.com/profile/api-tokens
# Required permissions: Workers Scripts:Edit, D1:Edit
CLOUDFLARE_API_TOKEN=YOUR_TOKEN_HERE
# Optional: Only needed if not using API token
CLOUDFLARE_EMAIL=your-email@example.com
CLOUDFLARE_PASSWORD=YOUR_PASSWORD_HERE
# ============================================
# OAUTH PROVIDERS (for authentication)
# ============================================
# Contributors: Create your own OAuth apps!
# The app works fine in local mode without auth.
# GitHub OAuth App
# Create at: https://github.com/settings/developers
# Callback URL: https://your-worker.your-subdomain.workers.dev/auth/github/callback
GITHUB_CLIENT_ID=YOUR_GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET=YOUR_GITHUB_CLIENT_SECRET
# Google OAuth Client
# Create at: https://console.cloud.google.com/apis/credentials
# Callback URL: https://your-worker.your-subdomain.workers.dev/auth/google/callback
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
# ============================================
# OPENROUTER (optional - for AI categorization)
# ============================================
# Get free API key at: https://openrouter.ai/keys
OPENROUTER_EMAIL=your-email@example.com
OPENROUTER_PASSWORD=YOUR_PASSWORD_HERE
OPENROUTER_API_KEY=sk-or-v1-YOUR_KEY_HERE