Getting started

Everything you need to fill in and run to get this template working.

Setup checklist

0/5 done

1. Install dependencies

Installs SvelteKit, Better Auth, Drizzle, AI SDKs and the rest.

npm install

2. Create your environment file

Then fill in the required values listed below.

cp .env.example .env

3. Generate a Better Auth secret

Paste the result into BETTER_AUTH_SECRET in .env.

npx @better-auth/cli secret

4. Push the database schema

Creates the user/session/account/verification tables in MariaDB.

npm run db:push

5. Start the dev server

Open http://localhost:5173 — you are ready to build.

npm run dev

Environment variables

VariableRequiredNotes
DATABASE_URLrequiredMariaDB/MySQL connection string
BETTER_AUTH_SECRETrequired32+ random chars
ORIGINrequiredApp URL, https:// in production
GOOGLE_CLIENT_ID / _SECREToptionalGoogle OAuth
MICROSOFT_CLIENT_ID / _SECREToptionalMicrosoft OAuth
OPENAI_API_KEYoptionalOpenAI models
GEMINI_API_KEYoptionalGoogle Gemini
DEEPSEEK_API_KEYoptionalDeepSeek models
PUBLIC_TURNSTILE_SITE_KEY / TURNSTILE_SECRET_KEYoptionalCaptcha

Overview

Markdown editor component

Supports the toolbar, paste & drag-and-drop images. Image upload requires being signed in.

Markdown supported · drag, paste or upload images 106 words · 662 chars
SubTranslate SubTranslate

AI-powered subtitle translation.

© 2026 SubTranslate · by BrosCorp Tech s.r.o.
encs