Skip to content

Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.

1.5 KB
Raw Blame
# run `cp .env.example .env.local`
# optionally encrypt it: `pnpm exec dotenvx encrypt -f .env.local` (https://dotenvx.com/)

# for server side
SENTRY_ENABLED="false"
# for client side
NEXT_PUBLIC_SENTRY_ENABLED="false"

NEXT_PUBLIC_SENTRY_DSN=""

# Umami analytics website id (https://eu.umami.is/dashboard), script only loads in production
NEXT_PUBLIC_UMAMI_WEBSITE_ID=""


# Resend (For emails) Create account and paste API keys in .env.local 
RESEND_API_KEY=""

# Upstash Redis (For subscription tokens) Create account and paste API keys in .env.local 
UPSTASH_REDIS_REST_URL=""
UPSTASH_REDIS_REST_TOKEN=""

# Used for /api
AUTH_TOKEN=""

# Personal Info for sending invoice automatically, check /api/generate-invoice

# Sellet Info
SELLER_NAME="Adam Smith"
SELLER_ADDRESS="London, UK"
SELLER_VAT_NO="12345"
SELLER_EMAIL="[email protected]"
SELLER_ACCOUNT_NUMBER="12345"
SELLER_SWIFT_BIC="12345"

# Buyer Information
BUYER_NAME="Random Company"
BUYER_ADDRESS="Bristol, UK"
BUYER_VAT_NO="12345"
BUYER_EMAIL="[email protected]"

INVOICE_NET_PRICE="10000"
INVOICE_EMAIL_RECIPIENT="[email protected]"
INVOICE_EMAIL_COMPANY_TO="[email protected]"

# Telegram notifications
TELEGRAM_BOT_TOKEN=""
TELEGRAM_CHAT_ID=""

# Google drive api
GOOGLE_DRIVE_CLIENT_EMAIL="[email protected]"
GOOGLE_DRIVE_PRIVATE_KEY=""
GOOGLE_DRIVE_PARENT_FOLDER_ID=""

# GitHub token for the repo star count in the header (src/actions/fetch-github-stars.ts)
# A fine-grained token with no extra permissions is enough; left empty, the count shows 0
GITHUB_TOKEN=""