-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 1.1 KB
/
.env.example
File metadata and controls
36 lines (29 loc) · 1.1 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
PORT=8787
CLIENT_PORT=5173
SESSION_SECRET=
# Canonical app URL used for OAuth redirect_uri generation.
# Local default: http://localhost:5173
APP_URL=http://localhost:5173
DATABASE_PATH=./.data/input.db
# GitHub Personal Acces Token for public gist reads (60/hr → 5000/hr)
# A fine-grained token with zero permissions works.
# Register at https://github.com/settings/personal-access-tokens
GITHUB_TOKEN=
# GitHub OAuth App settings
# Register at https://github.com/settings/developers
# Set callback URL to: http://localhost:8787/api/auth/github/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# GitHub App settings
# Register at https://github.com/settings/apps/new
GITHUB_APP_ID=123456
GITHUB_APP_SLUG=your-github-app-slug
# Provide exactly one of these:
# GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
GITHUB_APP_PRIVATE_KEY_PATH=/absolute/path/to/private-key.pem
# Frontend API cache TTLs (milliseconds)
VITE_GISTS_CACHE_TTL_MS=120000
VITE_GIST_DETAIL_CACHE_TTL_MS=120000
VITE_REPO_CONTENTS_CACHE_TTL_MS=120000
# Reader AI (OpenRouter proxy)
OPENROUTER_API_KEY=