Initial portal commit: landing + 9 AI-powered apps
Apps: - dwg-rooms: extract room numbers from DWG/DXF - dwg-counting: count symbols in PDF drawings (OpenCV template matching) - contract-check: review PDF contracts against a checklist (Claude vision + Tesseract OCR fallback) - email-drafter: bullet notes → polished Czech/English business emails - invoice-extractor: PDF/image invoice → structured data → Excel - translator: Czech-first translator across 19 languages with tone control - vv-check: find inconsistent unit prices across VV sheets in one workbook - vv-compare: diff original vs new VV files (changes / added / removed) - feature-request: portal users submit ideas + sample files Infrastructure: - LiteLLM gateway with per-app virtual keys + budgets - Langfuse observability - Geist font, shared theme, cross-subdomain back link + theme sync via cookie/URL - Caddy reverse proxy on *.klas.chat
This commit is contained in:
26
.env.example
Normal file
26
.env.example
Normal file
@@ -0,0 +1,26 @@
|
||||
# --- Required ---
|
||||
|
||||
# Secret used by Auth.js to sign session JWTs. Generate with:
|
||||
# openssl rand -base64 32
|
||||
AUTH_SECRET=change-me-please
|
||||
|
||||
# Public URL of the portal. In dev this is the Caddy-served URL.
|
||||
NEXTAUTH_URL=https://ai.klas.chat
|
||||
|
||||
# --- Dev access (Credentials provider) ---
|
||||
# Single-password gate used while Microsoft Entra is not yet provisioned.
|
||||
# Leave empty in production to disable the password fallback.
|
||||
DEV_PORTAL_PASSWORD=
|
||||
|
||||
# --- Microsoft Entra ID (production) ---
|
||||
# Fill these once an admin provisions an app registration in Entra.
|
||||
# Leaving them empty hides the "Continue with Microsoft" button.
|
||||
AUTH_MICROSOFT_ENTRA_ID_ID=
|
||||
AUTH_MICROSOFT_ENTRA_ID_SECRET=
|
||||
# Tenant-specific issuer, e.g. https://login.microsoftonline.com/<tenant-id>/v2.0
|
||||
AUTH_MICROSOFT_ENTRA_ID_ISSUER=
|
||||
|
||||
# --- Langfuse (optional, only when you uncomment the langfuse services) ---
|
||||
# LANGFUSE_DB_PASSWORD=
|
||||
# LANGFUSE_NEXTAUTH_SECRET=
|
||||
# LANGFUSE_SALT=
|
||||
Reference in New Issue
Block a user