The website for twinny, the private AI coding assistant for VS Code, and twinny-server, its team gateway.
SvelteKit 2 + Svelte 5, no CSS framework, self-hosted fonts. The only third-party request
is Google Analytics. Pages are prerendered and served by @sveltejs/adapter-node.
npm install
npm run dev # http://localhost:5173
npm run build # → build/
node build # serve the production build (PORT=3000)The contact form posts to /api/contact, the one server route; it sends the enquiry by email
through Resend and needs the variables in .env.example. Without them it answers 503.
docker build -t twinny-ui . builds the same thing into an image.
src/app.css— the design tokens, shared with the extension sidebar and the gateway admin page: dark ground, one green accent, monospace, hairlines, square corners.src/routes/+layout.svelte— nav and footer.src/routes/+page.svelte— the landing page, composed fromsrc/lib/components/.src/lib/const.ts— every external URL.src/routes/api/contact/+server.ts— the enquiry form's endpoint.