forked from mirror/crumbs-original
Send an email to collaborators when they are added to a shared note. Uses nodemailer with optional SMTP configuration (auto-enabled when SMTP_HOST is set). Users can opt out via the notifyOnShare preference. https://claude.ai/code/session_01P4HSMr7QvKw9TMNikUJD9e
33 lines
799 B
Bash
33 lines
799 B
Bash
# Database path (relative to project root or absolute)
|
|
DATABASE_URL=./data/crumbs.db
|
|
|
|
# Server origin (required for CSRF protection and OAuth redirect URLs)
|
|
ORIGIN=http://localhost:3000
|
|
|
|
# Node environment
|
|
NODE_ENV=development
|
|
|
|
# --- OAuth Providers (optional, auto-enabled when set) ---
|
|
|
|
# Google OAuth 2.0
|
|
# AUTH_GOOGLE_CLIENT_ID=
|
|
# AUTH_GOOGLE_CLIENT_SECRET=
|
|
|
|
# GitHub OAuth
|
|
# AUTH_GITHUB_CLIENT_ID=
|
|
# AUTH_GITHUB_CLIENT_SECRET=
|
|
|
|
# Generic OIDC (e.g. Authentik, Keycloak, Okta)
|
|
# AUTH_OIDC_ISSUER=https://your-idp.example.com
|
|
# AUTH_OIDC_CLIENT_ID=
|
|
# AUTH_OIDC_CLIENT_SECRET=
|
|
# AUTH_OIDC_DISPLAY_NAME=SSO
|
|
|
|
# --- Email Notifications (optional, auto-enabled when SMTP_HOST is set) ---
|
|
|
|
# SMTP_HOST=smtp.example.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USER=
|
|
# SMTP_PASS=
|
|
# SMTP_FROM=Crumbs <noreply@example.com>
|