Skip to content

dariubs/directory.surf

Repository files navigation

Directory Surf

Edit .env

To run Directory Surf, create a .env file from the example:

cp .env.example .env

Then, fill in the required values as described below:

App Base Info

  • APP_NAME – Name of your app (displayed in UI/logs). You choose this.
  • APP_PORT – Port your app runs on locally (e.g., 3000). Common default: 3000.
  • APP_DOMAIN – Your app’s full domain (e.g., https://myapp.com). Used in auth/cookies/emails.
  • ADMIN_EMAIL – Email of the app admin; used for contact or admin access.

Database

  • DATABASE_URL – Full PostgreSQL connection string (e.g., postgres://user:pass@host:port/db). 🔍 Find this in your PostgreSQL provider or your local DB setup.

Stripe (Payments)

Cloudflare R2 (Object Storage)

  • CLOUDFLARE_R2_ACCESS_KEY / SECRET_KEY – API credentials for accessing R2 storage. 🔍 Found in Cloudflare Dashboard > R2 > API Tokens.

  • CLOUDFLARE_R2_BUCKET_NAME – Name of your R2 bucket. 🔍 Set when creating the bucket in Cloudflare R2.

  • CLOUDFLARE_R2_ENDPOINT – Public endpoint for your R2 bucket. 🔍 Provided by Cloudflare when setting up R2.

Email Service

  • RESEND_API_KEY – API key for sending emails with Resend. 🔍 Get it from your Resend dashboard.

CAPTCHA – Cloudflare Turnstile

  • TURNSTILE_SITE_KEY – Public key for embedding Turnstile CAPTCHA. 🔍 Available from Cloudflare Turnstile Dashboard.

  • TURNSTILE_SECRET_KEY – Secret for backend CAPTCHA verification. 🔍 Also found in Turnstile settings.

🔐 OAuth – GitHub

🔐 OAuth – Google

Releases

No releases published

Packages

No packages published