.env in the repo root. If .env does not exist, pnpm local and node scripts/run-compose.mjs bootstrap create it from .env.example. If BETTER_AUTH_SECRET or INTERNAL_CRON_SECRET are blank or still set to replace-me, those startup paths generate secure values automatically before launch.
Core
Required for any setup path.LLM / Response Analysis
At least one LLM key is required to run response analysis after prompt collection.Google OAuth
Required if you want users to sign in to the OneGlanse web app with Google.
Note: these are for web app authentication only. Monitoring Google AI Overview uses a separate browser session captured via
pnpm auth.
VPS Auth Upload
Used when transferring local provider sessions to a self-hosted VPS.Proxy
Required on VPS deployments where direct connections to AI providers are blocked. This is needed because most VPS providers use datacenter IP ranges, and those IPs are commonly blocked or challenged by AI chat products. OneGlanse uses the proxy only for provider website traffic from the VPS browser runtime. For ThorData on VPS, the recommended setup is to whitelist your VPS IP first, generate the endpoint withWhitelisted IPs + API Link, keep Sticky session enabled for prompt runs, and pick a valid country where the providers are supported and your audience is located.
Recommended ThorData setup
If you are using ThorData, whitelist your VPS public IP in the ThorData dashboard before generating the proxy endpoint. That keeps authentication simpler and is the recommended setup for OneGlanse on VPS deployments. Use these ThorData endpoint generator settings:- Authentication method:
Whitelisted IPs - Endpoint type:
API Link - Session setting:
Sticky session - Country: choose a valid country where the providers are available and where your target audience is located
THORDATA_PROXY_API_URL. Keep sticky sessions enabled for prompt runs so the provider flow stays on a stable residential IP long enough for sign-in and response collection to complete reliably.
Agent / Runtime Overrides
Override the browser runtime defaults. Only needed if the pinned defaults aren’t working for your environment. OneGlanse uses Camoufox as its provider browser runtime. This is an anti-fingerprint Firefox-based browser chosen because standard Chrome / Chromium automation is less reliable for authenticated scraping against provider chat UIs.Self-Host Storage & Docker Images
Database Services (Self-Host / Docker Compose)
These configure the Postgres and ClickHouse containers. Used bydocker-compose.yml.