Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
65 lines (63 loc) · 3.25 KB
/
Copy path.env.example
File metadata and controls
65 lines (63 loc) · 3.25 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Secrets are managed with Doppler (project: tronbrowser). Prefer:
# doppler run -- pnpm <script>
# This file documents the variables and is a fallback for local .env use
# (copy to .env and fill in; .env is gitignored). Doppler is the source of truth.
#
# --- Storage ---------------------------------------------------------------
# Postgres. The API refuses to start on anything else (no file fallback).
# TRONBROWSER_DB_URL is accepted as an alias for the same value.
# The password belongs in Doppler, not here; this placeholder has none.
DATABASE_URL=postgres://tronbrowser@localhost:5432/tronbrowser
#
# Legacy Turso/libSQL database, kept only until the Postgres cutover is proven.
# Read by scripts/db-migrate.mjs for the old schema and by the one-off copy:
# npx libsql-pg copy --from "$TRONBROWSER_DB_URL" --token "$TRONBROWSER_DB_AUTH_TOKEN" --to "$DATABASE_URL" --verify
# TRONBROWSER_DB_URL=libsql://your-db.turso.io
# TRONBROWSER_DB_AUTH_TOKEN=your-turso-token
# TRONBROWSER_DB_PATH=/home/you/.tronbrowser/db.sqlite
#
# --- AI providers (Bring Your Own Keys) -----------------------------------
# Free / self-hosted: bring your own keys. The paid cloud tier uses OUR keys,
# stored in the DB (ai_provider_keys, scoped per app) — NOT here.
# Same 8 providers used across Profullstack apps (crawlproof.com):
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GEMINI_API_KEY=
DEEPSEEK_API_KEY=
PERPLEXITY_API_KEY=
HUGGINGFACE_API_KEY=
MOONSHOT_API_KEY= # Kimi (Moonshot AI); KIMI_API_KEY also accepted
DASHSCOPE_API_KEY= # Qwen (Alibaba); QWEN_API_KEY also accepted
# Local runtimes need no key: Ollama / LM Studio / vLLM.
# --- CoinPay OAuth (x402 payments) ----------------------------------------
COINPAY_CLIENT_ID=
COINPAY_REDIRECT_URI=tronbrowser://oauth/coinpay
# Override only for self-hosted CoinPay:
# COINPAY_AUTHORIZE_URL=https://coinpayportal.com/api/oauth/authorize
# COINPAY_TOKEN_URL=https://coinpayportal.com/api/oauth/token
# --- Extension store (tronbrowser.dev/store) -------------------------------
APP_URL=https://tronbrowser.dev
# The $1 listing fee: a CoinPay hosted checkout session (any coin or PayPal).
# `npx @profullstack/coinpay-onboard site tronbrowser.dev --webhook <url>` writes these.
COINPAY_API_URL=https://coinpayportal.com/api
COINPAY_BUSINESS_ID=
COINPAY_API_KEY= # business cp_live_ key
COINPAY_WEBHOOK_SECRET= # for /api/store/payments/coinpay/webhook
# vu1nz.com security scan (non-gating; recorded 'skipped' if unset):
VU1NZ_API_URL=
VU1NZ_API_KEY=
# Git registry mirror (audit trail). Repo + token; no-op if unset:
STORE_REGISTRY_REPO= # e.g. profullstack/tronbrowsers.dev
# STORE_REGISTRY_BRANCH=main
# STORE_REGISTRY_PREFIX=apps/extensions/registry
GITHUB_TOKEN=
# Bundle hosting on files.profullstack.com (AgentBBS Files over SFTP):
FILES_PUBLIC_BASE=https://files.profullstack.com
FILES_SCP_TARGET=files@files.profullstack.com
# Full-auto publisher provisioning: the store SSHes the BBS host and runs
# `agentbbs provision-user`. Unset = keys saved, operator provisions manually.
BBS_SSH_HOST= # e.g. bbs.profullstack.com
BBS_SSH_USER= # operator login with the agentbbs CLI
BBS_SSH_KEY= # path to the operator private key (mounted secret)
# BBS_SSH_PORT=22
# AGENTBBS_BIN=agentbbs