.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
ANTHROPIC_API_KEY
secret
Anthropic (recommended for best results)
OPENAI_API_KEY
secret
OpenAI
DEEPSEEK_API_KEY
secret
DeepSeek
DATABASE_URL
secret
SQLite (default, no setup required)
LANCEDB_PATH
LanceDB vector store path (used when DATABASE_URL is SQLite) When DATABASE_URL is PostgreSQL, pgvector is used instead — no separate path…
GRAPH_PATH
Dependency graph storage path
REPOWISE_API_KEY
secret
Optional API key to protect repowise API endpoints Leave empty for fully open access (suitable for local use)
REPOWISE_HOST
Server bind address and port
REPOWISE_PORT
REPOWISE_MCP_PORT
MCP server port (SSE transport)
REPOWISE_DEFAULT_PROVIDER
Default provider: anthropic | openai | ollama | litellm
REPOWISE_DEFAULT_MODEL
Default model (depends on provider)
REPOWISE_MAX_CONCURRENT
Max concurrent LLM calls during generation
REPOWISE_REASONING
Reasoning mode for supported docs-generation providers: auto | off | minimal auto = provider default; off = disable Qwen3/OpenRouter effort…
REPOWISE_CASCADE_BUDGET
Max pages to regenerate per maintenance run
REPOWISE_DEBUG
Set to "true" to enable debug logging
REPOWISE_LOG_LEVEL
Log level: DEBUG | INFO | WARNING | ERROR
brew install flyctl && fly launch --from https://github.com/dsthakurrawat/repowise
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/dsthakurrawat/repowise
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/dsthakurrawat/repowise