Skip to content

Open source CapCut alternative.

TypeScript

Configure Donkey Supabase local stack

David Lee916c7f8e5db
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..a835361a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ https://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2026 Donkey
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/site/.env.example b/site/.env.example
index 4c49c7ca..65e47e0c 100644
--- a/site/.env.example
+++ b/site/.env.example
@@ -1,3 +1,2 @@
DATABASE_URL="postgresql://postgres:[PASSWORD]@[PROJECT-REF].pooler.supabase.com:6543/postgres?pgbouncer=true&connection_limit=1"
-NEXT_PUBLIC_SUPABASE_URL="https://[PROJECT-REF].supabase.co"
-NEXT_PUBLIC_SUPABASE_ANON_KEY="[SUPABASE-ANON-KEY]"
+DIRECT_URL="postgresql://postgres:[PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres"
diff --git a/site/README.md b/site/README.md
index c1044941..6d82ce13 100644
--- a/site/README.md
+++ b/site/README.md
@@ -15,8 +15,7 @@ Create a Supabase project, copy `.env.example` to `.env`, and set:
```bash
DATABASE_URL="postgresql://postgres:[PASSWORD]@[PROJECT-REF].pooler.supabase.com:6543/postgres?pgbouncer=true&connection_limit=1"
-NEXT_PUBLIC_SUPABASE_URL="https://[PROJECT-REF].supabase.co"
-NEXT_PUBLIC_SUPABASE_ANON_KEY="[SUPABASE-ANON-KEY]"
+DIRECT_URL="postgresql://postgres:[PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres"
```
Run the development server:
@@ -32,7 +31,6 @@ Open [http://localhost:3000](http://localhost:3000). The public health route is
- Next.js App Router with TypeScript and Tailwind CSS.
- shadcn/ui initialized with the `base-nova` style and `@/components` aliases.
- Prisma 7 configured for Supabase Postgres.
-- Supabase JS client helper for server-side use.
- Vercel-compatible `build`, `start`, and `postinstall` scripts.
## Guidelines
@@ -43,7 +41,9 @@ Read [Frontend and Next.js Guidelines](docs/frontend-nextjs-guidelines.md) befor
Prisma is configured in `prisma/schema.prisma` and `prisma.config.ts`. The starter schema includes a `WaitlistEntry` model as a first writable table.
-Do not commit `.env`. Set the same variables in Vercel before deploying. Use Supabase's pooled connection string for `DATABASE_URL` in serverless deployments.
+Do not commit `.env`. Set `DATABASE_URL` and `DIRECT_URL` in Vercel before deploying. Database access must go through API/server code; do not expose database configuration with `NEXT_PUBLIC_`.
+
+Use Supabase's pooled connection string for `DATABASE_URL` in serverless runtime code. Use the direct, non-pooled connection string for `DIRECT_URL`; Prisma CLI commands use it through `prisma.config.ts` for migrations and schema pushes.
## Scripts
diff --git a/site/docs/frontend-nextjs-guidelines.md b/site/docs/frontend-nextjs-guidelines.md
index 9e190b04..8bfab78f 100644
--- a/site/docs/frontend-nextjs-guidelines.md
+++ b/site/docs/frontend-nextjs-guidelines.md
@@ -10,7 +10,6 @@ This app is the `site` Next.js project. It is intended to run the public site an
- shadcn/ui with the `base-nova` style, Base UI primitives, `class-variance-authority`, `tailwind-merge`, and `tw-animate-css`.
- `lucide-react` for icons.
- Prisma `7` with `@prisma/adapter-pg`, `pg`, and generated client output in `src/generated/prisma`.
-- Supabase JS for Supabase service access.
- Zod for request and payload validation.
- ESLint `9` with `eslint-config-next`.
- Vercel for hosting the site and API.
@@ -19,7 +18,9 @@ This app is the `site` Next.js project. It is intended to run the public site an
- Keep route segments, layouts, pages, loading states, and route handlers in `src/app`.
- Keep shared UI primitives in `src/components`, with shadcn components under `src/components/ui`.
-- Keep server-only helpers in `src/lib`, such as `src/lib/prisma.ts` and `src/lib/supabase/server.ts`.
+- Keep route-specific experiences in a dedicated component folder near the route, such as `src/app/_components/landing` for the home landing page.
+- Split route-specific UI into focused component files rather than placing every section, primitive, hook, and data object into one large component file.
+- Keep server-only helpers in `src/lib`, such as `src/lib/prisma.ts`.
- Keep generated Prisma files out of hand edits. Update `prisma/schema.prisma`, then run `npm run db:generate`.
- Use absolute imports through the `@/*` alias. Avoid barrel `index.ts` files unless a package-level public API truly needs one.
@@ -27,7 +28,7 @@ This app is the `site` Next.js project. It is intended to run the public site an
- Treat components as Server Components by default.
- Add `"use client"` only when a component needs state, event handlers, effects, refs, browser APIs, or client-only hooks.
-- Keep server secrets, Prisma, Supabase server helpers, and direct database access out of Client Components.
+- Keep server secrets, Prisma, and direct database access out of Client Components.
- Pass plain serializable data from Server Components into Client Components.
- Prefer small client boundaries around interactive controls instead of making whole pages client-rendered.
@@ -38,7 +39,7 @@ This app is the `site` Next.js project. It is intended to run the public site an
- Keep API responses explicit with `NextResponse.json(...)`.
- Do not call `fetch(...)` directly from React components. Put browser-facing API calls in a focused API client module, then import that client into components.
- Use Prisma only from server-side code. Import the singleton from `src/lib/prisma.ts`.
-- Use Supabase environment variables from server-side code unless the variable is explicitly safe and prefixed with `NEXT_PUBLIC_`.
+- Use `DATABASE_URL` for pooled serverless runtime database access and `DIRECT_URL` for Prisma CLI operations. `prisma.config.ts` should point CLI operations at the direct URL when it is available.
## Styling and UI
@@ -60,7 +61,7 @@ This app is the `site` Next.js project. It is intended to run the public site an
## Environment and Deployment
- Do not commit `.env`. Keep safe placeholders in `.env.example`.
-- Set `DATABASE_URL`, `NEXT_PUBLIC_SUPABASE_URL`, and `NEXT_PUBLIC_SUPABASE_ANON_KEY` in Vercel.
+- Set `DATABASE_URL` and `DIRECT_URL` in Vercel.
- Use Supabase's pooled Postgres connection string for serverless deployments.
- Do not run Prisma migrations casually. Choose the migration workflow deliberately for the target Supabase project.
- Run `npm run lint` and `npm run build` before shipping changes.
diff --git a/site/package-lock.json b/site/package-lock.json
index d946004c..d94f7162 100644
--- a/site/package-lock.json
+++ b/site/package-lock.json
@@ -7,6 +7,7 @@
"": {
"name": "site",
"version": "0.1.0",
+ "license": "Apache-2.0",
"hasInstallScript": true,
"dependencies": {
"@base-ui/react": "^1.4.1",
@@ -32,6 +33,7 @@
"@types/react": "^19",
"@types/react-dom": "^19",
"dotenv": "^17.4.2",
+ "dotenv-cli": "^11.0.0",
"eslint": "^9",
"eslint-config-next": "16.2.6",
"prisma": "^7.8.0",
@@ -4750,6 +4752,51 @@
"url": "https://dotenvx.com"
}
},
+ "node_modules/dotenv-cli": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/dotenv-cli/-/dotenv-cli-11.0.0.tgz",
+ "integrity": "sha512-r5pA8idbk7GFWuHEU7trSTflWcdBpQEK+Aw17UrSHjS6CReuhrrPcyC3zcQBPQvhArRHnBo/h6eLH1fkCvNlww==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.6",
+ "dotenv": "^17.1.0",
+ "dotenv-expand": "^12.0.0",
+ "minimist": "^1.2.6"
+ },
+ "bin": {
+ "dotenv": "cli.js"
+ }
+ },
+ "node_modules/dotenv-expand": {
+ "version": "12.0.3",
+ "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-12.0.3.tgz",
+ "integrity": "sha512-uc47g4b+4k/M/SeaW1y4OApx+mtLWl92l5LMPP0GNXctZqELk+YGgOPIIC5elYmUH4OuoK3JLhuRUYegeySiFA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "dotenv": "^16.4.5"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
+ "node_modules/dotenv-expand/node_modules/dotenv": {
+ "version": "16.6.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz",
+ "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
"node_modules/dunder-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
diff --git a/site/package.json b/site/package.json
index c9e58088..e0c4674b 100644
--- a/site/package.json
+++ b/site/package.json
@@ -2,6 +2,8 @@
"name": "site",
"version": "0.1.0",
"private": true,
+ "homepage": "https://donkeyuse.com",
+ "license": "Apache-2.0",
"scripts": {
"dev": "next dev",
"build": "next build",
@@ -9,7 +11,9 @@
"lint": "eslint",
"postinstall": "prisma generate",
"db:generate": "prisma generate",
- "db:pull": "prisma db pull"
+ "db:pull": "prisma db pull",
+ "prisma:dev": "dotenv -e .env.development -- npx prisma migrate dev",
+ "prisma:prod": "dotenv -e .env -- prisma db push"
},
"dependencies": {
"@base-ui/react": "^1.4.1",
@@ -35,6 +39,7 @@
"@types/react": "^19",
"@types/react-dom": "^19",
"dotenv": "^17.4.2",
+ "dotenv-cli": "^11.0.0",
"eslint": "^9",
"eslint-config-next": "16.2.6",
"prisma": "^7.8.0",
diff --git a/site/prisma.config.ts b/site/prisma.config.ts
index fceb01e2..acbb97eb 100644
--- a/site/prisma.config.ts
+++ b/site/prisma.config.ts
@@ -4,6 +4,7 @@ import "dotenv/config";
import { defineConfig } from "prisma/config";
const databaseUrl = process.env["DATABASE_URL"];
+const directUrl = process.env["DIRECT_URL"];
export default defineConfig({
schema: "prisma/schema.prisma",
@@ -11,6 +12,6 @@ export default defineConfig({
path: "prisma/migrations",
},
datasource: {
- url: databaseUrl,
+ url: directUrl ?? databaseUrl,
},
});
diff --git a/site/src/app/_components/landing/Agents.tsx b/site/src/app/_components/landing/Agents.tsx
new file mode 100644
index 00000000..96939900
--- /dev/null
+++ b/site/src/app/_components/landing/Agents.tsx
@@ -0,0 +1,127 @@
+"use client";
+
+import {
+ Headline,
+ NumberBadge,
+ SectionLabel,
+ TapedCard,
+} from "@/app/_components/landing/LandingPrimitives";
+import { agentCards } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK, tagPill } from "@/app/_components/landing/theme";
+
+export function Agents() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={3}>Our technology</SectionLabel>
+ <Headline>
+ A team of specialised agents.
+ <br />
+ <span style={{ fontStyle: "italic" }}>Always on your Mac.</span>
+ </Headline>
+ <p
+ style={{
+ marginTop: 24,
+ fontSize: 17,
+ lineHeight: 1.55,
+ maxWidth: 600,
+ color: "#454545",
+ }}
+ >
+ Each Donkey agent is purpose-built for one slice of your day. They share
+ context, hand off cleanly, and live quietly in the notch until you need
+ them.
+ </p>
+ <div style={{ marginTop: 48 }}>
+ <TapedCard color="coral" tapeColor="yellow">
+ <div style={{ padding: isDesktop ? 48 : 28 }}>
+ <div style={tagPill}>AI agents - The main act</div>
+ <h3
+ style={{
+ fontWeight: 900,
+ fontSize: isDesktop ? 42 : 32,
+ lineHeight: 1.05,
+ margin: "0 0 32px",
+ maxWidth: 720,
+ }}
+ >
+ Four agents, controlled by you, delivering better outcomes,
+ faster.
+ </h3>
+ <div
+ style={{
+ display: "grid",
+ gridTemplateColumns: isDesktop ? "1fr 1fr" : "1fr",
+ gap: 16,
+ }}
+ >
+ {agentCards.map((agent) => (
+ <div
+ key={agent.n}
+ style={{
+ borderRadius: 16,
+ background: "#fff",
+ border: `2px solid ${BLACK}`,
+ padding: 24,
+ }}
+ >
+ <div
+ style={{
+ display: "flex",
+ alignItems: "flex-start",
+ gap: 16,
+ }}
+ >
+ <NumberBadge n={agent.n} color={agent.color} />
+ <div style={{ flex: 1, paddingTop: 4 }}>
+ <div
+ style={{
+ fontSize: 11,
+ fontWeight: 800,
+ letterSpacing: "0.1em",
+ textTransform: "uppercase",
+ color: "#666",
+ marginBottom: 6,
+ }}
+ >
+ {agent.tag}
+ </div>
+ <h4
+ style={{
+ fontWeight: 900,
+ fontSize: 22,
+ lineHeight: 1.15,
+ margin: "0 0 12px",
+ }}
+ >
+ {agent.title}
+ </h4>
+ <p
+ style={{
+ fontSize: 15,
+ lineHeight: 1.55,
+ color: "#333",
+ margin: 0,
+ }}
+ >
+ {agent.body}
+ </p>
+ </div>
+ </div>
+ </div>
+ ))}
+ </div>
+ </div>
+ </TapedCard>
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/DonkeyLanding.tsx b/site/src/app/_components/landing/DonkeyLanding.tsx
new file mode 100644
index 00000000..1b4c74df
--- /dev/null
+++ b/site/src/app/_components/landing/DonkeyLanding.tsx
@@ -0,0 +1,40 @@
+"use client";
+
+import { Agents } from "@/app/_components/landing/Agents";
+import { FinalCTA } from "@/app/_components/landing/FinalCTA";
+import { Footer } from "@/app/_components/landing/Footer";
+import { Hero } from "@/app/_components/landing/Hero";
+import { HowItWorks } from "@/app/_components/landing/HowItWorks";
+import { OpenSource } from "@/app/_components/landing/OpenSource";
+import { Pricing } from "@/app/_components/landing/Pricing";
+import { Solutions } from "@/app/_components/landing/Solutions";
+import { TopNav } from "@/app/_components/landing/TopNav";
+import { TrustedBy } from "@/app/_components/landing/TrustedBy";
+import { VsThePast } from "@/app/_components/landing/VsThePast";
+import { BG, BLACK } from "@/app/_components/landing/theme";
+
+export default function DonkeyLanding() {
+ return (
+ <main
+ style={{
+ minHeight: "100vh",
+ background: BG,
+ color: BLACK,
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
+ WebkitFontSmoothing: "antialiased",
+ }}
+ >
+ <TopNav />
+ <Hero />
+ <TrustedBy />
+ <Solutions />
+ <Agents />
+ <HowItWorks />
+ <VsThePast />
+ <OpenSource />
+ <Pricing />
+ <FinalCTA />
+ <Footer />
+ </main>
+ );
+}
diff --git a/site/src/app/_components/landing/FinalCTA.tsx b/site/src/app/_components/landing/FinalCTA.tsx
new file mode 100644
index 00000000..d13d31e9
--- /dev/null
+++ b/site/src/app/_components/landing/FinalCTA.tsx
@@ -0,0 +1,111 @@
+"use client";
+
+import { ArrowRight } from "lucide-react";
+
+import { PillButton } from "@/app/_components/landing/LandingPrimitives";
+import { GITHUB_REPO_URL } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK, CORAL } from "@/app/_components/landing/theme";
+
+export function FinalCTA() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ id="download"
+ style={{
+ padding: isDesktop ? "64px 48px 120px" : "48px 24px 80px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <div style={{ position: "relative" }}>
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ transform: "translate(8px, 8px)",
+ borderRadius: 24,
+ background: CORAL,
+ }}
+ />
+ <div
+ style={{
+ position: "relative",
+ borderRadius: 24,
+ border: `2px solid ${BLACK}`,
+ background: BLACK,
+ color: "#fff",
+ padding: isDesktop ? "80px 48px" : "40px 24px",
+ textAlign: "center",
+ }}
+ >
+ <div
+ style={{
+ position: "absolute",
+ top: -10,
+ left: "50%",
+ transform: "translateX(-50%) rotate(-2deg)",
+ width: 80,
+ height: 18,
+ borderRadius: 3,
+ border: `2px solid ${BLACK}`,
+ background: CORAL,
+ }}
+ />
+ <div
+ style={{
+ fontSize: 12,
+ fontWeight: 800,
+ letterSpacing: "0.12em",
+ textTransform: "uppercase",
+ color: "rgba(255,255,255,0.6)",
+ marginBottom: 20,
+ }}
+ >
+ Start with Donkey
+ </div>
+ <h2
+ style={{
+ fontWeight: 900,
+ fontSize: "clamp(40px, 7vw, 80px)",
+ lineHeight: 0.95,
+ margin: "0 0 16px",
+ }}
+ >
+ Let Donkey
+ <br />
+ carry the load.
+ </h2>
+ <p
+ style={{
+ color: "rgba(255,255,255,0.7)",
+ fontSize: isDesktop ? 18 : 16,
+ marginBottom: 32,
+ maxWidth: 480,
+ marginLeft: "auto",
+ marginRight: "auto",
+ }}
+ >
+ Free during beta. Installs in 90 seconds.
+ </p>
+ <div
+ style={{
+ display: "flex",
+ flexWrap: "wrap",
+ gap: 12,
+ justifyContent: "center",
+ }}
+ >
+ <PillButton href={GITHUB_REPO_URL} variant="primary" size="lg">
+ Download for Mac <ArrowRight size={18} />
+ </PillButton>
+ <PillButton href="#pricing" variant="secondary" size="lg">
+ See pricing
+ </PillButton>
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/Footer.tsx b/site/src/app/_components/landing/Footer.tsx
new file mode 100644
index 00000000..f0a05699
--- /dev/null
+++ b/site/src/app/_components/landing/Footer.tsx
@@ -0,0 +1,89 @@
+"use client";
+
+import { Link, Play, Send, type LucideIcon } from "lucide-react";
+
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK } from "@/app/_components/landing/theme";
+
+type SocialLink = {
+ href: string;
+ icon: LucideIcon;
+ label: string;
+};
+
+export function Footer() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+ const socialLinks: SocialLink[] = [
+ { href: "https://www.linkedin.com", icon: Link, label: "LinkedIn" },
+ { href: "https://www.youtube.com", icon: Play, label: "YouTube" },
+ { href: "https://twitter.com", icon: Send, label: "Twitter" },
+ ];
+
+ return (
+ <footer
+ style={{
+ borderTop: `2px solid ${BLACK}`,
+ padding: isDesktop ? "80px 48px" : "64px 24px",
+ }}
+ >
+ <div style={{ maxWidth: 1400, margin: "0 auto" }}>
+ <div
+ style={{
+ display: "flex",
+ alignItems: "center",
+ gap: 16,
+ marginBottom: 32,
+ flexWrap: "wrap",
+ }}
+ >
+ <span style={{ fontWeight: 900, fontSize: isDesktop ? 48 : 40 }}>
+ donkey
+ </span>
+ {socialLinks.map((link) => {
+ const Icon = link.icon;
+
+ return (
+ <a
+ aria-label={link.label}
+ href={link.href}
+ key={link.label}
+ style={{
+ width: 40,
+ height: 40,
+ borderRadius: 8,
+ border: `2px solid ${BLACK}`,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ color: BLACK,
+ textDecoration: "none",
+ background: "#fff",
+ }}
+ >
+ <Icon size={18} />
+ </a>
+ );
+ })}
+ </div>
+ <div
+ style={{
+ display: "flex",
+ alignItems: "flex-end",
+ justifyContent: "space-between",
+ gap: 16,
+ flexWrap: "wrap",
+ fontSize: 13,
+ color: "#666",
+ }}
+ >
+ <div>
+ <div style={{ fontWeight: 800, color: BLACK, marginBottom: 4 }}>
+ </div>
+ <div>2026 Donkey, Inc. Made for Macs.</div>
+ </div>
+ </div>
+ </div>
+ </footer>
+ );
+}
diff --git a/site/src/app/_components/landing/Hero.tsx b/site/src/app/_components/landing/Hero.tsx
new file mode 100644
index 00000000..4d7b64f7
--- /dev/null
+++ b/site/src/app/_components/landing/Hero.tsx
@@ -0,0 +1,71 @@
+"use client";
+
+import { ArrowRight } from "lucide-react";
+
+import { PillButton, SectionLabel } from "@/app/_components/landing/LandingPrimitives";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+
+export function Hero() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ id="top"
+ style={{
+ padding: isDesktop ? "64px 48px 120px" : "32px 24px 80px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={1}>Your Mac, on autopilot</SectionLabel>
+ <h1
+ style={{
+ fontWeight: 900,
+ lineHeight: 0.9,
+ fontSize: "clamp(56px, 9vw, 112px)",
+ margin: 0,
+ maxWidth: "14ch",
+ }}
+ >
+ Get work
+ <br />
+ done while
+ <br />
+ <span style={{ fontStyle: "italic" }}>you sleep.</span>
+ </h1>
+ <p
+ style={{
+ marginTop: 32,
+ fontSize: isDesktop ? 20 : 18,
+ lineHeight: 1.55,
+ maxWidth: 560,
+ color: "#454545",
+ }}
+ >
+ Donkey gets work done on your Mac. Tell it what to do: research,
+ drafting, scheduling, scraping, and it runs the rest of your machine for
+ you.
+ </p>
+ <div style={{ marginTop: 36, display: "flex", flexWrap: "wrap", gap: 12 }}>
+ <PillButton href="#download" variant="primary" size="lg">
+ Download for Mac <ArrowRight size={18} />
+ </PillButton>
+ </div>
+ <div
+ style={{
+ marginTop: 28,
+ display: "flex",
+ alignItems: "center",
+ gap: 14,
+ fontSize: 13,
+ color: "#666",
+ flexWrap: "wrap",
+ }}
+ >
+ <span style={{ fontWeight: 600 }}>macOS 14+</span>
+ <span aria-hidden="true">-</span>
+ <span>Free during beta</span>
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/HowItWorks.tsx b/site/src/app/_components/landing/HowItWorks.tsx
new file mode 100644
index 00000000..92d2b0a6
--- /dev/null
+++ b/site/src/app/_components/landing/HowItWorks.tsx
@@ -0,0 +1,102 @@
+"use client";
+
+import {
+ Headline,
+ NumberBadge,
+ SectionLabel,
+ TapedCard,
+} from "@/app/_components/landing/LandingPrimitives";
+import { workflowSteps } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK } from "@/app/_components/landing/theme";
+
+export function HowItWorks() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={4}>How it works</SectionLabel>
+ <Headline>
+ Ask. Watch. <span style={{ fontStyle: "italic" }}>Approve.</span>
+ </Headline>
+ <p
+ style={{
+ marginTop: 24,
+ fontSize: 17,
+ lineHeight: 1.55,
+ maxWidth: 600,
+ color: "#454545",
+ }}
+ >
+ Donkey runs locally on your Mac. You stay in the loop on every important
+ step, without being on the hook for every keystroke.
+ </p>
+
+ <div style={{ marginTop: 48, display: "grid", gap: 24 }}>
+ {workflowSteps.map((step) => (
+ <TapedCard
+ key={step.n}
+ color="cream"
+ shadowColor="coral"
+ tapeColor={step.color}
+ >
+ <div
+ style={{
+ padding: 24,
+ display: "flex",
+ alignItems: "flex-start",
+ gap: 20,
+ }}
+ >
+ <NumberBadge n={step.n} color={step.color} />
+ <div style={{ flex: 1 }}>
+ <h3
+ style={{
+ fontWeight: 900,
+ fontSize: 26,
+ lineHeight: 1.15,
+ margin: "0 0 8px",
+ }}
+ >
+ {step.title}
+ </h3>
+ <p
+ style={{
+ fontSize: 15,
+ lineHeight: 1.55,
+ color: "#222",
+ margin: "0 0 12px",
+ }}
+ >
+ {step.body}
+ </p>
+ <div
+ style={{
+ display: "inline-flex",
+ alignItems: "center",
+ borderRadius: 999,
+ border: `2px solid ${BLACK}`,
+ padding: "4px 14px",
+ fontSize: 11,
+ fontWeight: 800,
+ letterSpacing: "0.08em",
+ textTransform: "uppercase",
+ background: "rgba(255,255,255,0.5)",
+ }}
+ >
+ {step.timing}
+ </div>
+ </div>
+ </div>
+ </TapedCard>
+ ))}
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/LandingPrimitives.tsx b/site/src/app/_components/landing/LandingPrimitives.tsx
new file mode 100644
index 00000000..f1b7bbc0
--- /dev/null
+++ b/site/src/app/_components/landing/LandingPrimitives.tsx
@@ -0,0 +1,215 @@
+import type { CSSProperties, ReactNode } from "react";
+
+import { BLACK, CARD, CORAL, type CardColor } from "@/app/_components/landing/theme";
+
+type ButtonVariant = "primary" | "dark" | "secondary";
+type ButtonSize = "sm" | "md" | "lg";
+
+type TapedCardProps = {
+ children: ReactNode;
+ color?: CardColor;
+ shadowColor?: CardColor;
+ style?: CSSProperties;
+ tapeColor?: CardColor;
+ tapePosition?: "left" | "right" | "center";
+};
+
+export function TapedCard({
+ children,
+ color = "blue",
+ shadowColor,
+ style,
+ tapeColor,
+ tapePosition = "left",
+}: TapedCardProps) {
+ const tapeSide =
+ tapePosition === "left"
+ ? { left: 32 }
+ : tapePosition === "right"
+ ? { right: 32 }
+ : { left: "50%" };
+ const tapeTransform =
+ tapePosition === "center"
+ ? "translateX(-50%) rotate(-2deg)"
+ : "rotate(-2deg)";
+
+ return (
+ <div style={{ position: "relative", ...style }}>
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ transform: "translate(6px, 6px)",
+ borderRadius: 16,
+ background: shadowColor ? CARD[shadowColor] : BLACK,
+ }}
+ />
+ <div
+ style={{
+ position: "relative",
+ borderRadius: 16,
+ border: `2px solid ${BLACK}`,
+ background: CARD[color],
+ }}
+ >
+ {tapeColor ? (
+ <div
+ style={{
+ position: "absolute",
+ top: -10,
+ width: 60,
+ height: 18,
+ borderRadius: 3,
+ border: `2px solid ${BLACK}`,
+ background: CARD[tapeColor],
+ boxShadow: "0 1px 2px rgba(0,0,0,0.1)",
+ transform: tapeTransform,
+ ...tapeSide,
+ }}
+ />
+ ) : null}
+ {children}
+ </div>
+ </div>
+ );
+}
+
+type PillButtonProps = {
+ children: ReactNode;
+ href?: string;
+ size?: ButtonSize;
+ variant?: ButtonVariant;
+};
+
+export function PillButton({
+ children,
+ href,
+ size = "md",
+ variant = "primary",
+}: PillButtonProps) {
+ const sizes: Record<ButtonSize, CSSProperties> = {
+ sm: { padding: "8px 16px", fontSize: 14 },
+ md: { padding: "12px 20px", fontSize: 15 },
+ lg: { padding: "16px 28px", fontSize: 16 },
+ };
+ const variants: Record<ButtonVariant, CSSProperties> = {
+ primary: {
+ background: CORAL,
+ color: BLACK,
+ border: `2px solid ${BLACK}`,
+ },
+ dark: { background: BLACK, color: "#fff", border: `2px solid ${BLACK}` },
+ secondary: {
+ background: "#fff",
+ color: BLACK,
+ border: `2px solid ${BLACK}`,
+ },
+ };
+ const sharedStyle: CSSProperties = {
+ display: "inline-flex",
+ alignItems: "center",
+ justifyContent: "center",
+ gap: 8,
+ borderRadius: 999,
+ fontWeight: 700,
+ cursor: "pointer",
+ minHeight: size === "lg" ? 56 : 40,
+ textDecoration: "none",
+ transition: "transform 0.15s ease, opacity 0.15s ease",
+ ...sizes[size],
+ ...variants[variant],
+ };
+
+ if (href) {
+ return (
+ <a href={href} style={sharedStyle}>
+ {children}
+ </a>
+ );
+ }
+
+ return (
+ <button type="button" style={sharedStyle}>
+ {children}
+ </button>
+ );
+}
+
+type SectionLabelProps = {
+ children: ReactNode;
+ number: number;
+};
+
+export function SectionLabel({ children, number }: SectionLabelProps) {
+ const display = String(number);
+
+ return (
+ <div
+ style={{
+ display: "flex",
+ alignItems: "center",
+ gap: 8,
+ fontSize: 13,
+ fontWeight: 800,
+ letterSpacing: "0.12em",
+ textTransform: "uppercase",
+ marginBottom: 24,
+ }}
+ >
+ <span style={{ fontSize: 18, lineHeight: 1 }}>{display}.</span>
+ <span>{children}</span>
+ </div>
+ );
+}
+
+type NumberBadgeProps = {
+ color: CardColor;
+ n: number;
+};
+
+export function NumberBadge({ color, n }: NumberBadgeProps) {
+ return (
+ <div
+ style={{
+ width: 56,
+ height: 56,
+ borderRadius: 12,
+ border: `2px solid ${BLACK}`,
+ background: CARD[color],
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ fontWeight: 900,
+ fontSize: 22,
+ flexShrink: 0,
+ }}
+ >
+ {String(n).padStart(2, "0")}
+ </div>
+ );
+}
+
+type HeadlineProps = {
+ children: ReactNode;
+ size?: "xl" | "lg";
+};
+
+export function Headline({ children, size = "xl" }: HeadlineProps) {
+ const sizes: Record<NonNullable<HeadlineProps["size"]>, string> = {
+ xl: "clamp(44px, 7vw, 80px)",
+ lg: "clamp(36px, 5.5vw, 64px)",
+ };
+
+ return (
+ <h2
+ style={{
+ fontWeight: 900,
+ lineHeight: 0.95,
+ fontSize: sizes[size],
+ margin: 0,
+ }}
+ >
+ {children}
+ </h2>
+ );
+}
diff --git a/site/src/app/_components/landing/OpenSource.tsx b/site/src/app/_components/landing/OpenSource.tsx
new file mode 100644
index 00000000..88c1ea20
--- /dev/null
+++ b/site/src/app/_components/landing/OpenSource.tsx
@@ -0,0 +1,190 @@
+"use client";
+
+import { ArrowRight } from "lucide-react";
+
+import {
+ Headline,
+ PillButton,
+ SectionLabel,
+ TapedCard,
+} from "@/app/_components/landing/LandingPrimitives";
+import { GITHUB_REPO_URL, openSourceReasons } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK } from "@/app/_components/landing/theme";
+
+export function OpenSource() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={6}>Open source</SectionLabel>
+ <Headline>
+ Donkey is yours. <span style={{ fontStyle: "italic" }}>All of it.</span>
+ </Headline>
+ <p
+ style={{
+ marginTop: 24,
+ fontSize: 17,
+ lineHeight: 1.55,
+ maxWidth: 600,
+ color: "#454545",
+ }}
+ >
+ Donkey is Apache 2.0-licensed and built in the open. Read the source,
+ run your own build, contribute an agent: it is all on GitHub.
+ </p>
+
+ <div style={{ marginTop: 32 }}>
+ <TapedCard color="cream" shadowColor="coral" tapeColor="coral">
+ <div style={{ padding: isDesktop ? 40 : 24 }}>
+ <div
+ style={{
+ background: BLACK,
+ borderRadius: 12,
+ padding: isDesktop ? "24px" : "20px 18px",
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, monospace',
+ fontSize: isDesktop ? 15 : 13,
+ color: "#fff",
+ overflowX: "auto",
+ }}
+ >
+ <div
+ style={{
+ display: "flex",
+ alignItems: "center",
+ gap: 8,
+ marginBottom: 16,
+ color: "#888",
+ }}
+ >
+ <span
+ style={{
+ width: 10,
+ height: 10,
+ borderRadius: 999,
+ background: "#FF5F57",
+ }}
+ />
+ <span
+ style={{
+ width: 10,
+ height: 10,
+ borderRadius: 999,
+ background: "#FEBC2E",
+ }}
+ />
+ <span
+ style={{
+ width: 10,
+ height: 10,
+ borderRadius: 999,
+ background: "#28C840",
+ }}
+ />
+ <span style={{ marginLeft: 8, fontSize: 12 }}>
+ ~/ - DonkeyUse-com/Donkey
+ </span>
+ </div>
+ <div style={{ color: "#b7b7b7", whiteSpace: "nowrap" }}>
+ <span style={{ color: "#5FFFB9" }}>$</span> git clone{" "}
+ {GITHUB_REPO_URL}
+ </div>
+ <div style={{ color: "#b7b7b7", marginTop: 4, whiteSpace: "nowrap" }}>
+ <span style={{ color: "#5FFFB9" }}>$</span> cd donkey && make
+ run
+ </div>
+ <div style={{ color: "#5FFFB9", marginTop: 12 }}>
+ Donkey running locally - http://localhost:5005
+ </div>
+ </div>
+
+ <div
+ style={{
+ marginTop: 24,
+ display: "flex",
+ flexWrap: "wrap",
+ gap: 12,
+ alignItems: "center",
+ }}
+ >
+ <PillButton href={GITHUB_REPO_URL} variant="dark" size="md">
+ Star on GitHub <ArrowRight size={14} />
+ </PillButton>
+ <PillButton href="/prototype" variant="secondary" size="md">
+ View prototype
+ </PillButton>
+ </div>
+ </div>
+ </TapedCard>
+ </div>
+
+ <div
+ style={{
+ marginTop: 24,
+ display: "grid",
+ gridTemplateColumns: isDesktop ? "1fr 1fr" : "1fr",
+ gap: 16,
+ }}
+ >
+ {openSourceReasons.map((reason) => (
+ <TapedCard key={reason.title} color={reason.color} tapeColor="cream">
+ <div
+ style={{
+ padding: 24,
+ display: "flex",
+ alignItems: "flex-start",
+ gap: 16,
+ }}
+ >
+ <div
+ style={{
+ width: 56,
+ minWidth: 56,
+ height: 48,
+ borderRadius: 12,
+ border: `2px solid ${BLACK}`,
+ background: "#fff",
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ fontSize: 12,
+ fontWeight: 900,
+ }}
+ >
+ {reason.icon}
+ </div>
+ <div style={{ flex: 1 }}>
+ <h3
+ style={{
+ fontWeight: 900,
+ fontSize: 22,
+ lineHeight: 1.15,
+ margin: "0 0 8px",
+ }}
+ >
+ {reason.title}
+ </h3>
+ <p
+ style={{
+ fontSize: 14,
+ lineHeight: 1.55,
+ color: "#222",
+ margin: 0,
+ }}
+ >
+ {reason.body}
+ </p>
+ </div>
+ </div>
+ </TapedCard>
+ ))}
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/Pricing.tsx b/site/src/app/_components/landing/Pricing.tsx
new file mode 100644
index 00000000..d275b6cf
--- /dev/null
+++ b/site/src/app/_components/landing/Pricing.tsx
@@ -0,0 +1,113 @@
+"use client";
+
+import { ArrowRight } from "lucide-react";
+
+import {
+ Headline,
+ PillButton,
+ SectionLabel,
+ TapedCard,
+} from "@/app/_components/landing/LandingPrimitives";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+
+export function Pricing() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ id="pricing"
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={7}>Pricing</SectionLabel>
+ <Headline>
+ Free for now. <span style={{ fontStyle: "italic" }}>Forever curious.</span>
+ </Headline>
+ <div
+ style={{
+ marginTop: 48,
+ display: "grid",
+ gridTemplateColumns: isDesktop ? "1fr 1fr" : "1fr",
+ gap: 24,
+ }}
+ >
+ <TapedCard color="cream" tapeColor="coral">
+ <div style={{ padding: isDesktop ? 36 : 28 }}>
+ <div style={{ fontWeight: 900, fontSize: 22, marginBottom: 8 }}>
+ Free
+ </div>
+ <div style={{ display: "flex", alignItems: "baseline", gap: 8 }}>
+ <span style={{ fontWeight: 900, fontSize: isDesktop ? 56 : 44 }}>
+ $0
+ </span>
+ </div>
+ <div
+ style={{
+ fontSize: 13,
+ fontWeight: 700,
+ color: "#444",
+ marginBottom: 24,
+ }}
+ >
+ during beta
+ </div>
+ <p
+ style={{
+ fontSize: 15,
+ lineHeight: 1.55,
+ color: "#222",
+ margin: "0 0 28px",
+ }}
+ >
+ Everything Donkey can do, no caps, no credit card. We want you
+ using it.
+ </p>
+ <PillButton href="#download" variant="dark" size="md">
+ Get Donkey <ArrowRight size={14} />
+ </PillButton>
+ </div>
+ </TapedCard>
+
+ <TapedCard color="coral" tapeColor="yellow" tapePosition="right">
+ <div style={{ padding: isDesktop ? 36 : 28 }}>
+ <div style={{ fontWeight: 900, fontSize: 22, marginBottom: 8 }}>
+ Enterprise
+ </div>
+ <div style={{ display: "flex", alignItems: "baseline", gap: 8 }}>
+ <span style={{ fontWeight: 900, fontSize: isDesktop ? 56 : 44 }}>
+ Let&apos;s talk
+ </span>
+ </div>
+ <div
+ style={{
+ fontSize: 13,
+ fontWeight: 700,
+ color: "#222",
+ marginBottom: 24,
+ }}
+ >
+ built around your team
+ </div>
+ <p
+ style={{
+ fontSize: 15,
+ lineHeight: 1.55,
+ color: "#1a1a1a",
+ margin: "0 0 28px",
+ }}
+ >
+ Running Donkey across an org? Reach out and we will figure out
+ what makes sense.
+ </p>
+ <PillButton href="mailto:[email protected]" variant="dark" size="md">
+ Contact us <ArrowRight size={14} />
+ </PillButton>
+ </div>
+ </TapedCard>
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/Solutions.tsx b/site/src/app/_components/landing/Solutions.tsx
new file mode 100644
index 00000000..a6215794
--- /dev/null
+++ b/site/src/app/_components/landing/Solutions.tsx
@@ -0,0 +1,68 @@
+"use client";
+
+import {
+ Headline,
+ SectionLabel,
+ TapedCard,
+} from "@/app/_components/landing/LandingPrimitives";
+import { solutionCards } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { tagPill } from "@/app/_components/landing/theme";
+
+export function Solutions() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={2}>Solutions</SectionLabel>
+ <Headline>Built for the people who actually ship.</Headline>
+ <p
+ style={{
+ marginTop: 24,
+ fontSize: 17,
+ lineHeight: 1.55,
+ maxWidth: 600,
+ color: "#454545",
+ }}
+ >
+ Every role has its own grind. Donkey tunes the engine: research,
+ drafting, ops, code, scheduling, to the way you actually work.
+ </p>
+ <div
+ style={{
+ marginTop: 48,
+ display: "grid",
+ gridTemplateColumns: isDesktop ? "1fr 1fr" : "1fr",
+ gap: 24,
+ }}
+ >
+ {solutionCards.map((card) => (
+ <TapedCard key={card.tag} color={card.color} tapeColor="cream">
+ <div style={{ padding: isDesktop ? "36px 32px 40px" : "28px" }}>
+ <div style={tagPill}>{card.tag}</div>
+ <h3
+ style={{
+ fontWeight: 900,
+ fontSize: isDesktop ? 32 : 28,
+ lineHeight: 1.05,
+ margin: "0 0 16px",
+ }}
+ >
+ {card.title}
+ </h3>
+ <p style={{ fontSize: 16, lineHeight: 1.55, color: "#222", margin: 0 }}>
+ {card.body}
+ </p>
+ </div>
+ </TapedCard>
+ ))}
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/TopNav.tsx b/site/src/app/_components/landing/TopNav.tsx
new file mode 100644
index 00000000..d2cebe99
--- /dev/null
+++ b/site/src/app/_components/landing/TopNav.tsx
@@ -0,0 +1,53 @@
+"use client";
+
+import { ArrowRight, Smile } from "lucide-react";
+
+import { PillButton } from "@/app/_components/landing/LandingPrimitives";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK } from "@/app/_components/landing/theme";
+
+export function TopNav() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <nav
+ style={{
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "space-between",
+ padding: isDesktop ? "28px 48px" : "24px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <a
+ href="#top"
+ style={{
+ display: "flex",
+ alignItems: "center",
+ gap: 8,
+ color: BLACK,
+ textDecoration: "none",
+ }}
+ >
+ <div
+ style={{
+ width: 36,
+ height: 36,
+ borderRadius: 8,
+ background: BLACK,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ }}
+ >
+ <Smile color="#fff" size={20} />
+ </div>
+ <span style={{ fontWeight: 900, fontSize: 24 }}>donkey</span>
+ </a>
+ <PillButton href="#download" variant="dark" size="sm">
+ Download <ArrowRight size={14} />
+ </PillButton>
+ </nav>
+ );
+}
diff --git a/site/src/app/_components/landing/TrustedBy.tsx b/site/src/app/_components/landing/TrustedBy.tsx
new file mode 100644
index 00000000..92852146
--- /dev/null
+++ b/site/src/app/_components/landing/TrustedBy.tsx
@@ -0,0 +1,76 @@
+"use client";
+
+import { ArrowRight } from "lucide-react";
+
+import { GITHUB_REPO_URL } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK, CREAM } from "@/app/_components/landing/theme";
+
+export function TrustedBy() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+
+ return (
+ <section
+ style={{
+ borderTop: `2px solid ${BLACK}`,
+ borderBottom: `2px solid ${BLACK}`,
+ background: CREAM,
+ }}
+ >
+ <a
+ href={GITHUB_REPO_URL}
+ style={{
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "space-between",
+ gap: 16,
+ maxWidth: 1400,
+ margin: "0 auto",
+ padding: isDesktop ? "20px 48px" : "18px 24px",
+ color: BLACK,
+ textDecoration: "none",
+ flexWrap: "wrap",
+ }}
+ >
+ <div
+ style={{
+ display: "flex",
+ alignItems: "center",
+ gap: 12,
+ flexWrap: "wrap",
+ }}
+ >
+ <span
+ style={{
+ fontSize: 12,
+ fontWeight: 800,
+ letterSpacing: "0.12em",
+ textTransform: "uppercase",
+ whiteSpace: "nowrap",
+ background: BLACK,
+ color: "#fff",
+ padding: "4px 10px",
+ borderRadius: 6,
+ }}
+ >
+ Open source
+ </span>
+ <span style={{ fontSize: isDesktop ? 16 : 15, fontWeight: 700 }}>
+ Donkey is Apache 2.0-licensed and built in the open.
+ </span>
+ </div>
+ <span
+ style={{
+ display: "inline-flex",
+ alignItems: "center",
+ gap: 6,
+ fontSize: 14,
+ fontWeight: 800,
+ }}
+ >
+ View on GitHub <ArrowRight size={14} />
+ </span>
+ </a>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/VsThePast.tsx b/site/src/app/_components/landing/VsThePast.tsx
new file mode 100644
index 00000000..6dc49d46
--- /dev/null
+++ b/site/src/app/_components/landing/VsThePast.tsx
@@ -0,0 +1,178 @@
+"use client";
+
+import { Check, X } from "lucide-react";
+
+import { Headline, SectionLabel } from "@/app/_components/landing/LandingPrimitives";
+import { comparisonRows } from "@/app/_components/landing/data";
+import { useMediaQuery } from "@/app/_components/landing/useMediaQuery";
+import { BLACK, CARD, CORAL } from "@/app/_components/landing/theme";
+
+type ComparisonCellProps = {
+ ok: boolean;
+};
+
+function ComparisonCell({ ok }: ComparisonCellProps) {
+ return (
+ <div style={{ display: "flex", justifyContent: "center" }}>
+ <div
+ style={{
+ width: 32,
+ height: 32,
+ borderRadius: 999,
+ border: `2px solid ${BLACK}`,
+ background: ok ? CARD.mint : CORAL,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ }}
+ >
+ {ok ? <Check size={16} strokeWidth={3} /> : <X size={16} strokeWidth={3} />}
+ </div>
+ </div>
+ );
+}
+
+export function VsThePast() {
+ const isDesktop = useMediaQuery("(min-width: 768px)");
+ const colWidths = isDesktop
+ ? "1.6fr 0.9fr 0.9fr 0.9fr"
+ : "1.45fr 0.8fr 0.8fr 0.8fr";
+
+ return (
+ <section
+ style={{
+ padding: isDesktop ? "96px 48px" : "80px 24px",
+ maxWidth: 1400,
+ margin: "0 auto",
+ }}
+ >
+ <SectionLabel number={5}>A new category</SectionLabel>
+ <Headline>
+ Donkey vs <span style={{ fontStyle: "italic" }}>the rest.</span>
+ </Headline>
+ <p
+ style={{
+ marginTop: 24,
+ fontSize: 17,
+ lineHeight: 1.55,
+ maxWidth: 600,
+ color: "#454545",
+ }}
+ >
+ You have been choosing between cloud chatbots that cannot touch your
+ files and human assistants who cannot scale past 9-5. Donkey is the
+ third option.
+ </p>
+ <div style={{ marginTop: 48, position: "relative", overflowX: "auto" }}>
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ transform: "translate(6px, 6px)",
+ borderRadius: 16,
+ background: BLACK,
+ }}
+ />
+ <div
+ style={{
+ position: "relative",
+ minWidth: 620,
+ borderRadius: 16,
+ border: `2px solid ${BLACK}`,
+ background: "#fff",
+ overflow: "hidden",
+ }}
+ >
+ <div
+ style={{
+ display: "grid",
+ gridTemplateColumns: colWidths,
+ borderBottom: `2px solid ${BLACK}`,
+ }}
+ >
+ <div style={{ padding: isDesktop ? "24px" : "16px 12px" }}>
+ <div
+ style={{
+ fontSize: 11,
+ fontWeight: 800,
+ letterSpacing: "0.1em",
+ textTransform: "uppercase",
+ color: "#777",
+ marginBottom: 4,
+ }}
+ >
+ The capability
+ </div>
+ <div style={{ fontWeight: 900, fontSize: isDesktop ? 20 : 15 }}>
+ What you need
+ </div>
+ </div>
+ {["ChatGPT", "Donkey", "Humans"].map((label) => (
+ <div
+ key={label}
+ style={{
+ padding: isDesktop ? "24px 12px" : "16px 8px",
+ borderLeft: `2px solid ${BLACK}`,
+ textAlign: "center",
+ background: label === "Donkey" ? CORAL : "#fff",
+ }}
+ >
+ <div style={{ fontSize: 11, fontWeight: 800, marginBottom: 4 }}>
+ {label === "ChatGPT" ? "A" : label === "Donkey" ? "B" : "C"}
+ </div>
+ <div style={{ fontWeight: 900, fontSize: isDesktop ? 18 : 14 }}>
+ {label}
+ </div>
+ </div>
+ ))}
+ </div>
+ {comparisonRows.map((row) => (
+ <div
+ key={row.label}
+ style={{
+ display: "grid",
+ gridTemplateColumns: colWidths,
+ borderBottom: "1px solid rgba(0,0,0,0.1)",
+ }}
+ >
+ <div
+ style={{
+ padding: isDesktop ? "20px 24px" : "14px 12px",
+ fontWeight: 800,
+ fontSize: isDesktop ? 15 : 13,
+ }}
+ >
+ {row.label}
+ </div>
+ <div
+ style={{
+ padding: isDesktop ? "20px 12px" : "14px 8px",
+ borderLeft: `2px solid ${BLACK}`,
+ }}
+ >
+ <ComparisonCell ok={row.gpts} />
+ </div>
+ <div
+ style={{
+ padding: isDesktop ? "20px 12px" : "14px 8px",
+ borderLeft: `2px solid ${BLACK}`,
+ background: "rgba(236,120,104,0.1)",
+ }}
+ >
+ <ComparisonCell ok={row.donkey} />
+ </div>
+ <div
+ style={{
+ padding: isDesktop ? "20px 12px" : "14px 8px",
+ borderLeft: `2px solid ${BLACK}`,
+ }}
+ >
+ <ComparisonCell ok={row.humans} />
+ </div>
+ </div>
+ ))}
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/site/src/app/_components/landing/data.ts b/site/src/app/_components/landing/data.ts
new file mode 100644
index 00000000..1d86bf52
--- /dev/null
+++ b/site/src/app/_components/landing/data.ts
@@ -0,0 +1,150 @@
+import type { CardColor } from "@/app/_components/landing/theme";
+
+export const GITHUB_REPO_URL = "https://github.com/DonkeyUse-com/Donkey";
+
+export const solutionCards = [
+ {
+ color: "blue",
+ tag: "01 - Knowledge workers",
+ title: "Drafts, research and inbox triage on tap.",
+ body: "PMs, founders and operators get back the hour-long detours: comp research, drafting, summarising threads, scheduling.",
+ },
+ {
+ color: "yellow",
+ tag: "02 - Engineers",
+ title: "Donkey handles the un-fun half of the job.",
+ body: "Triage bug reports, scaffold migrations, run flaky tests, prepare PR descriptions. Stays on your machine, on your branch.",
+ },
+ {
+ color: "mint",
+ tag: "03 - Designers",
+ title: "Source references, version, ship.",
+ body: "Mine Pinterest and Dribbble for boards. Rename, label and version your Figma library while you focus on the next sketch.",
+ },
+ {
+ color: "pink",
+ tag: "04 - Solo operators",
+ title: "A full back office without the headcount.",
+ body: "Expense logging, invoice chasing, calendar tetris across time zones, lead enrichment. Donkey runs the chores.",
+ },
+] satisfies Array<{
+ body: string;
+ color: CardColor;
+ tag: string;
+ title: string;
+}>;
+
+export const agentCards = [
+ {
+ n: 1,
+ color: "blue",
+ tag: "Coder agent",
+ title: "Ships code while you sleep.",
+ body: "Drafts PRs, runs migrations, fixes flaky tests, writes commit messages that actually describe the change.",
+ },
+ {
+ n: 2,
+ color: "yellow",
+ tag: "Browser agent",
+ title: "Reads the web for you.",
+ body: "Comparison shopping, competitive research, scraping pricing pages, without you ever opening a tab.",
+ },
+ {
+ n: 3,
+ color: "mint",
+ tag: "Inbox agent",
+ title: "Drafts replies before you read them.",
+ body: "Knows your tone, your contacts, your past threads. Surfaces what matters; drafts everything else.",
+ },
+ {
+ n: 4,
+ color: "pink",
+ tag: "Scheduler agent",
+ title: "Finds time across time zones.",
+ body: "Books, reschedules, prep-docs. Drops the right Zoom link in the right invite without being asked twice.",
+ },
+] satisfies Array<{
+ body: string;
+ color: CardColor;
+ n: number;
+ tag: string;
+ title: string;
+}>;
+
+export const workflowSteps = [
+ {
+ n: 1,
+ color: "coral",
+ title: "Tell Donkey",
+ timing: "Seconds",
+ body: "Hit Command-K in the notch. Type or speak the task. Donkey picks the right agent and asks any clarifying questions up front.",
+ },
+ {
+ n: 2,
+ color: "blue",
+ title: "Watch it work",
+ timing: "Minutes",
+ body: "The agent runs on your Mac with your apps, your files, your accounts. You can step in any time; it pauses cleanly and waits.",
+ },
+ {
+ n: 3,
+ color: "yellow",
+ title: "Approve and ship",
+ timing: "Ongoing",
+ body: "Donkey shows you the diff: a draft, a PR, a calendar slot, and you approve. The next agent picks up where this one left off.",
+ },
+] satisfies Array<{
+ body: string;
+ color: CardColor;
+ n: number;
+ timing: string;
+ title: string;
+}>;
+
+export const comparisonRows = [
+ { label: "Runs locally on your Mac", gpts: false, donkey: true, humans: true },
+ { label: "Handles 20+ apps end-to-end", gpts: false, donkey: true, humans: true },
+ {
+ label: "Streams progress in the notch",
+ gpts: false,
+ donkey: true,
+ humans: false,
+ },
+ { label: "Pauses for your review", gpts: false, donkey: true, humans: true },
+ { label: "Works offline and on-device", gpts: false, donkey: true, humans: true },
+ { label: "24/7 availability", gpts: true, donkey: true, humans: false },
+ { label: "Predictable monthly cost", gpts: true, donkey: true, humans: false },
+ { label: "Onboarding under 5 minutes", gpts: true, donkey: true, humans: false },
+];
+
+export const openSourceReasons = [
+ {
+ color: "blue",
+ icon: "View",
+ title: "Audit every line.",
+ body: "Donkey runs on your machine and touches your files. You should know exactly what it does. Every commit is public.",
+ },
+ {
+ color: "yellow",
+ icon: "Models",
+ title: "Bring your own model.",
+ body: "Swap in any LLM provider: OpenAI, Ollama, or another local model. Donkey is the runtime, not a wrapper around one API.",
+ },
+ {
+ color: "mint",
+ icon: "SDK",
+ title: "Write your own agents.",
+ body: "Fork Coder, build a Researcher, ship it back upstream, or keep it private.",
+ },
+ {
+ color: "pink",
+ icon: "Own",
+ title: "No vendor lock-in.",
+ body: "Self-host the whole thing. Donkey runs without our cloud, our auth, or our blessing. You stay in control.",
+ },
+] satisfies Array<{
+ body: string;
+ color: CardColor;
+ icon: string;
+ title: string;
+}>;
diff --git a/site/src/app/_components/landing/theme.ts b/site/src/app/_components/landing/theme.ts
new file mode 100644
index 00000000..aef58990
--- /dev/null
+++ b/site/src/app/_components/landing/theme.ts
@@ -0,0 +1,31 @@
+import type { CSSProperties } from "react";
+
+export const BG = "#F5EFE0";
+export const CREAM = "#FAF6EC";
+export const CORAL = "#EC7868";
+export const BLACK = "#0F0E0D";
+
+export const CARD = {
+ coral: "#EC7868",
+ blue: "#A8D5E8",
+ yellow: "#F5D875",
+ pink: "#F2B5C4",
+ mint: "#B7E4C7",
+ purple: "#C8BEE5",
+ cream: "#FAF6EC",
+ white: "#FFFFFF",
+} as const;
+
+export const tagPill: CSSProperties = {
+ display: "inline-block",
+ background: BLACK,
+ color: "#fff",
+ fontSize: 11,
+ fontWeight: 800,
+ letterSpacing: "0.08em",
+ padding: "6px 12px",
+ borderRadius: 6,
+ marginBottom: 24,
+};
+
+export type CardColor = keyof typeof CARD;
diff --git a/site/src/app/_components/landing/useMediaQuery.ts b/site/src/app/_components/landing/useMediaQuery.ts
new file mode 100644
index 00000000..74114c84
--- /dev/null
+++ b/site/src/app/_components/landing/useMediaQuery.ts
@@ -0,0 +1,18 @@
+"use client";
+
+import { useSyncExternalStore } from "react";
+
+export function useMediaQuery(query: string) {
+ return useSyncExternalStore(
+ (onStoreChange) => {
+ const mediaQuery = window.matchMedia(query);
+ mediaQuery.addEventListener("change", onStoreChange);
+
+ return () => {
+ mediaQuery.removeEventListener("change", onStoreChange);
+ };
+ },
+ () => window.matchMedia(query).matches,
+ () => false,
+ );
+}
diff --git a/site/src/app/api/health/route.ts b/site/src/app/api/health/route.ts
index 78a66915..3ca4373b 100644
--- a/site/src/app/api/health/route.ts
+++ b/site/src/app/api/health/route.ts
@@ -7,10 +7,7 @@ export function GET() {
ok: true,
services: {
databaseUrlConfigured: Boolean(process.env.DATABASE_URL),
- supabaseUrlConfigured: Boolean(process.env.NEXT_PUBLIC_SUPABASE_URL),
- supabaseAnonKeyConfigured: Boolean(
- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY
- ),
+ directUrlConfigured: Boolean(process.env.DIRECT_URL),
},
});
}
diff --git a/site/src/app/layout.tsx b/site/src/app/layout.tsx
index 27fd9162..24ec3fe8 100644
--- a/site/src/app/layout.tsx
+++ b/site/src/app/layout.tsx
@@ -13,8 +13,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
- title: "Site",
- description: "Next.js site and API backed by Supabase and Prisma.",
+ title: "Donkey",
+ description: "Donkey gets work done on your Mac while you stay in control.",
};
export default function RootLayout({
diff --git a/site/src/app/page.tsx b/site/src/app/page.tsx
index 4fe85614..7a76b284 100644
--- a/site/src/app/page.tsx
+++ b/site/src/app/page.tsx
@@ -1,108 +1,7 @@
-import {
- ArrowRight,
- CheckCircle2,
- Database,
- Server,
- Sparkles,
-} from "lucide-react";
-import Link from "next/link";
+import DonkeyLanding from "@/app/_components/landing/DonkeyLanding";
-import { buttonVariants } from "@/components/ui/button";
-
-const stackItems = [
- {
- label: "Next.js",
- detail: "App Router, TypeScript, Tailwind, Vercel-ready build scripts",
- icon: Server,
- },
- {
- label: "Prisma",
- detail: "Generated client, Supabase Postgres connection, sample model",
- icon: Database,
- },
- {
- label: "shadcn/ui",
- detail: "Component registry, design tokens, button primitive, utility helper",
- icon: Sparkles,
- },
-];
+export const dynamic = "force-static";
export default function Home() {
- return (
- <main className="min-h-screen bg-background text-foreground">
- <section className="mx-auto flex min-h-screen w-full max-w-6xl flex-col px-6 py-8 sm:px-8 lg:px-10">
- <nav className="flex items-center justify-between border-b border-border pb-5">
- <Link href="/" className="text-sm font-semibold tracking-wide">
- Site
- </Link>
- <Link
- className={buttonVariants({ size: "sm", variant: "outline" })}
- href="/api/health"
- >
- API health
- <ArrowRight />
- </Link>
- </nav>
-
- <div className="grid flex-1 items-center gap-10 py-12 lg:grid-cols-[1.05fr_0.95fr]">
- <div className="max-w-2xl">
- <div className="mb-6 inline-flex items-center gap-2 rounded-md border border-emerald-200 bg-emerald-50 px-3 py-1.5 text-sm font-medium text-emerald-900">
- <CheckCircle2 className="size-4" />
- Ready for Vercel and Supabase
- </div>
- <h1 className="text-4xl font-semibold leading-tight text-balance sm:text-5xl">
- A clean Next.js foundation for the site and API.
- </h1>
- <p className="mt-5 max-w-xl text-base leading-7 text-muted-foreground sm:text-lg">
- TypeScript, Prisma, shadcn/ui, and Supabase configuration are
- wired together so the project can move straight into product
- work.
- </p>
- <div className="mt-8 flex flex-col gap-3 sm:flex-row">
- <Link
- className={buttonVariants({ size: "lg" })}
- href="/api/health"
- >
- Check API
- <ArrowRight />
- </Link>
- <a
- className={buttonVariants({ size: "lg", variant: "outline" })}
- href="https://vercel.com/new"
- rel="noreferrer"
- target="_blank"
- >
- Deploy
- </a>
- </div>
- </div>
-
- <div className="grid gap-3">
- {stackItems.map((item) => {
- const Icon = item.icon;
-
- return (
- <div
- className="rounded-lg border border-border bg-card p-5 text-card-foreground shadow-sm"
- key={item.label}
- >
- <div className="flex items-start gap-4">
- <div className="rounded-md bg-emerald-100 p-2 text-emerald-900">
- <Icon className="size-5" />
- </div>
- <div>
- <h2 className="text-base font-semibold">{item.label}</h2>
- <p className="mt-1 text-sm leading-6 text-muted-foreground">
- {item.detail}
- </p>
- </div>
- </div>
- </div>
- );
- })}
- </div>
- </div>
- </section>
- </main>
- );
+ return <DonkeyLanding />;
}
diff --git a/site/src/lib/supabase/server.ts b/site/src/lib/supabase/server.ts
deleted file mode 100644
index 3dfeac36..00000000
--- a/site/src/lib/supabase/server.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { createClient } from "@supabase/supabase-js";
-
-export function createSupabaseServerClient() {
- const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL;
- const supabaseAnonKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;
-
- if (!supabaseUrl || !supabaseAnonKey) {
- throw new Error("Missing Supabase environment variables.");
- }
-
- return createClient(supabaseUrl, supabaseAnonKey, {
- auth: {
- autoRefreshToken: false,
- persistSession: false,
- },
- });
-}
diff --git a/site/supabase/.gitignore b/site/supabase/.gitignore
new file mode 100644
index 00000000..ad9264f0
--- /dev/null
+++ b/site/supabase/.gitignore
@@ -0,0 +1,8 @@
+# Supabase
+.branches
+.temp
+
+# dotenvx
+.env.keys
+.env.local
+.env.*.local
diff --git a/site/supabase/config.toml b/site/supabase/config.toml
new file mode 100644
index 00000000..906fa868
--- /dev/null
+++ b/site/supabase/config.toml
@@ -0,0 +1,335 @@
+# For detailed configuration reference documentation, visit:
+# https://supabase.com/docs/guides/local-development/cli/config
+# A string used to distinguish different Supabase projects on the same host. Defaults to the
+# working directory name when running `supabase init`.
+project_id = "donkey"
+
+[api]
+enabled = true
+# Port to use for the API URL.
+port = 54331
+# Schemas to expose in your API. Tables, views and stored procedures in this schema will get API
+# endpoints. `public` and `graphql_public` schemas are included by default.
+schemas = ["public", "graphql_public"]
+# Extra schemas to add to the search_path of every request.
+extra_search_path = ["public", "extensions"]
+# The maximum number of rows returns from a view, table, or stored procedure. Limits payload size
+# for accidental or malicious requests.
+max_rows = 1000
+
+[api.tls]
+# Enable HTTPS endpoints locally using a self-signed certificate.
+enabled = false
+
+[db]
+# Port to use for the local database URL.
+port = 54332
+# Port used by db diff command to initialize the shadow database.
+shadow_port = 54330
+# The database major version to use. This has to be the same as your remote database's. Run `SHOW
+# server_version;` on the remote database to check.
+major_version = 17
+
+[db.pooler]
+enabled = false
+# Port to use for the local connection pooler.
+port = 54339
+# Specifies when a server connection can be reused by other clients.
+# Configure one of the supported pooler modes: `transaction`, `session`.
+pool_mode = "transaction"
+# How many server connections to allow per user/database pair.
+default_pool_size = 20
+# Maximum number of client connections allowed.
+max_client_conn = 100
+
+# [db.vault]
+# secret_key = "env(SECRET_VALUE)"
+
+[db.migrations]
+# If disabled, migrations will be skipped during a db push or reset.
+enabled = true
+# Specifies an ordered list of schema files that describe your database.
+# Supports glob patterns relative to supabase directory: "./schemas/*.sql"
+schema_paths = []
+
+[db.seed]
+# If enabled, seeds the database after migrations during a db reset.
+enabled = true
+# Specifies an ordered list of seed files to load during db reset.
+# Supports glob patterns relative to supabase directory: "./seeds/*.sql"
+sql_paths = ["./seed.sql"]
+
+[db.network_restrictions]
+# Enable management of network restrictions.
+enabled = false
+# List of IPv4 CIDR blocks allowed to connect to the database.
+# Defaults to allow all IPv4 connections. Set empty array to block all IPs.
+allowed_cidrs = ["0.0.0.0/0"]
+# List of IPv6 CIDR blocks allowed to connect to the database.
+# Defaults to allow all IPv6 connections. Set empty array to block all IPs.
+allowed_cidrs_v6 = ["::/0"]
+
+[realtime]
+enabled = true
+# Bind realtime via either IPv4 or IPv6. (default: IPv4)
+# ip_version = "IPv6"
+# The maximum length in bytes of HTTP request headers. (default: 4096)
+# max_header_length = 4096
+
+[studio]
+enabled = true
+# Port to use for Supabase Studio.
+port = 54333
+# External URL of the API server that frontend connects to.
+api_url = "http://127.0.0.1"
+# OpenAI API Key to use for Supabase AI in the Supabase Studio.
+openai_api_key = "env(OPENAI_API_KEY)"
+
+# Email testing server. Emails sent with the local dev setup are not actually sent - rather, they
+# are monitored, and you can view the emails that would have been sent from the web interface.
+[inbucket]
+enabled = true
+# Port to use for the email testing server web interface.
+port = 54334
+# Uncomment to expose additional ports for testing user applications that send emails.
+# smtp_port = 54325
+# pop3_port = 54326
+# admin_email = "[email protected]"
+# sender_name = "Admin"
+
+[storage]
+enabled = true
+# The maximum file size allowed (e.g. "5MB", "500KB").
+file_size_limit = "50MiB"
+
+# Image transformation API is available to Supabase Pro plan.
+# [storage.image_transformation]
+# enabled = true
+
+# Uncomment to configure local storage buckets
+# [storage.buckets.images]
+# public = false
+# file_size_limit = "50MiB"
+# allowed_mime_types = ["image/png", "image/jpeg"]
+# objects_path = "./images"
+
+[auth]
+enabled = true
+# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
+# in emails.
+site_url = "http://127.0.0.1:3000"
+# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
+additional_redirect_urls = ["https://127.0.0.1:3000"]
+# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
+jwt_expiry = 3600
+# Path to JWT signing key. DO NOT commit your signing keys file to git.
+# signing_keys_path = "./signing_keys.json"
+# If disabled, the refresh token will never expire.
+enable_refresh_token_rotation = true
+# Allows refresh tokens to be reused after expiry, up to the specified interval in seconds.
+# Requires enable_refresh_token_rotation = true.
+refresh_token_reuse_interval = 10
+# Allow/disallow new user signups to your project.
+enable_signup = true
+# Allow/disallow anonymous sign-ins to your project.
+enable_anonymous_sign_ins = false
+# Allow/disallow testing manual linking of accounts
+enable_manual_linking = false
+# Passwords shorter than this value will be rejected as weak. Minimum 6, recommended 8 or more.
+minimum_password_length = 6
+# Passwords that do not meet the following requirements will be rejected as weak. Supported values
+# are: `letters_digits`, `lower_upper_letters_digits`, `lower_upper_letters_digits_symbols`
+password_requirements = ""
+
+[auth.rate_limit]
+# Number of emails that can be sent per hour. Requires auth.email.smtp to be enabled.
+email_sent = 2
+# Number of SMS messages that can be sent per hour. Requires auth.sms to be enabled.
+sms_sent = 30
+# Number of anonymous sign-ins that can be made per hour per IP address. Requires enable_anonymous_sign_ins = true.
+anonymous_users = 30
+# Number of sessions that can be refreshed in a 5 minute interval per IP address.
+token_refresh = 150
+# Number of sign up and sign-in requests that can be made in a 5 minute interval per IP address (excludes anonymous users).
+sign_in_sign_ups = 30
+# Number of OTP / Magic link verifications that can be made in a 5 minute interval per IP address.
+token_verifications = 30
+# Number of Web3 logins that can be made in a 5 minute interval per IP address.
+web3 = 30
+
+# Configure one of the supported captcha providers: `hcaptcha`, `turnstile`.
+# [auth.captcha]
+# enabled = true
+# provider = "hcaptcha"
+# secret = ""
+
+[auth.email]
+# Allow/disallow new user signups via email to your project.
+enable_signup = true
+# If enabled, a user will be required to confirm any email change on both the old, and new email
+# addresses. If disabled, only the new email is required to confirm.
+double_confirm_changes = true
+# If enabled, users need to confirm their email address before signing in.
+enable_confirmations = false
+# If enabled, users will need to reauthenticate or have logged in recently to change their password.
+secure_password_change = false
+# Controls the minimum amount of time that must pass before sending another signup confirmation or password reset email.
+max_frequency = "1s"
+# Number of characters used in the email OTP.
+otp_length = 6
+# Number of seconds before the email OTP expires (defaults to 1 hour).
+otp_expiry = 3600
+
+# Use a production-ready SMTP server
+# [auth.email.smtp]
+# enabled = true
+# host = "smtp.sendgrid.net"
+# port = 587
+# user = "apikey"
+# pass = "env(SENDGRID_API_KEY)"
+# admin_email = "[email protected]"
+# sender_name = "Admin"
+
+# Uncomment to customize email template
+# [auth.email.template.invite]
+# subject = "You have been invited"
+# content_path = "./supabase/templates/invite.html"
+
+[auth.sms]
+# Allow/disallow new user signups via SMS to your project.
+enable_signup = false
+# If enabled, users need to confirm their phone number before signing in.
+enable_confirmations = false
+# Template for sending OTP to users
+template = "Your code is {{ .Code }}"
+# Controls the minimum amount of time that must pass before sending another sms otp.
+max_frequency = "5s"
+
+# Use pre-defined map of phone number to OTP for testing.
+# [auth.sms.test_otp]
+# 4152127777 = "123456"
+
+# Configure logged in session timeouts.
+# [auth.sessions]
+# Force log out after the specified duration.
+# timebox = "24h"
+# Force log out if the user has been inactive longer than the specified duration.
+# inactivity_timeout = "8h"
+
+# This hook runs before a new user is created and allows developers to reject the request based on the incoming user object.
+# [auth.hook.before_user_created]
+# enabled = true
+# uri = "pg-functions://postgres/auth/before-user-created-hook"
+
+# This hook runs before a token is issued and allows you to add additional claims based on the authentication method used.
+# [auth.hook.custom_access_token]
+# enabled = true
+# uri = "pg-functions://<database>/<schema>/<hook_name>"
+
+# Configure one of the supported SMS providers: `twilio`, `twilio_verify`, `messagebird`, `textlocal`, `vonage`.
+[auth.sms.twilio]
+enabled = false
+account_sid = ""
+message_service_sid = ""
+# DO NOT commit your Twilio auth token to git. Use environment variable substitution instead:
+auth_token = "env(SUPABASE_AUTH_SMS_TWILIO_AUTH_TOKEN)"
+
+# Multi-factor-authentication is available to Supabase Pro plan.
+[auth.mfa]
+# Control how many MFA factors can be enrolled at once per user.
+max_enrolled_factors = 10
+
+# Control MFA via App Authenticator (TOTP)
+[auth.mfa.totp]
+enroll_enabled = false
+verify_enabled = false
+
+# Configure MFA via Phone Messaging
+[auth.mfa.phone]
+enroll_enabled = false
+verify_enabled = false
+otp_length = 6
+template = "Your code is {{ .Code }}"
+max_frequency = "5s"
+
+# Configure MFA via WebAuthn
+# [auth.mfa.web_authn]
+# enroll_enabled = true
+# verify_enabled = true
+
+# Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`,
+# `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin_oidc`, `notion`, `twitch`,
+# `twitter`, `slack`, `spotify`, `workos`, `zoom`.
+[auth.external.apple]
+enabled = false
+client_id = ""
+# DO NOT commit your OAuth provider secret to git. Use environment variable substitution instead:
+secret = "env(SUPABASE_AUTH_EXTERNAL_APPLE_SECRET)"
+# Overrides the default auth redirectUrl.
+redirect_uri = ""
+# Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure,
+# or any other third-party OIDC providers.
+url = ""
+# If enabled, the nonce check will be skipped. Required for local sign in with Google auth.
+skip_nonce_check = false
+
+# Allow Solana wallet holders to sign in to your project via the Sign in with Solana (SIWS, EIP-4361) standard.
+# You can configure "web3" rate limit in the [auth.rate_limit] section and set up [auth.captcha] if self-hosting.
+[auth.web3.solana]
+enabled = false
+
+# Use Firebase Auth as a third-party provider alongside Supabase Auth.
+[auth.third_party.firebase]
+enabled = false
+# project_id = "my-firebase-project"
+
+# Use Auth0 as a third-party provider alongside Supabase Auth.
+[auth.third_party.auth0]
+enabled = false
+# tenant = "my-auth0-tenant"
+# tenant_region = "us"
+
+# Use AWS Cognito (Amplify) as a third-party provider alongside Supabase Auth.
+[auth.third_party.aws_cognito]
+enabled = false
+# user_pool_id = "my-user-pool-id"
+# user_pool_region = "us-east-1"
+
+# Use Clerk as a third-party provider alongside Supabase Auth.
+[auth.third_party.clerk]
+enabled = false
+# Obtain from https://clerk.com/setup/supabase
+# domain = "example.clerk.accounts.dev"
+
+[edge_runtime]
+enabled = true
+# Supported request policies: `oneshot`, `per_worker`.
+# `per_worker` (default) — enables hot reload during local development.
+# `oneshot` — fallback mode if hot reload causes issues (e.g. in large repos or with symlinks).
+policy = "per_worker"
+# Port to attach the Chrome inspector for debugging edge functions.
+inspector_port = 8083
+# The Deno major version to use.
+deno_version = 2
+
+# [edge_runtime.secrets]
+# secret_key = "env(SECRET_VALUE)"
+
+[analytics]
+enabled = true
+port = 54337
+# Configure one of the supported backends: `postgres`, `bigquery`.
+backend = "postgres"
+
+# Experimental features may be deprecated any time
+[experimental]
+# Configures Postgres storage engine to use OrioleDB (S3)
+orioledb_version = ""
+# Configures S3 bucket URL, eg. <bucket_name>.s3-<region>.amazonaws.com
+s3_host = "env(S3_HOST)"
+# Configures S3 bucket region, eg. us-east-1
+s3_region = "env(S3_REGION)"
+# Configures AWS_ACCESS_KEY_ID for S3 bucket
+s3_access_key = "env(S3_ACCESS_KEY)"
+# Configures AWS_SECRET_ACCESS_KEY for S3 bucket
+s3_secret_key = "env(S3_SECRET_KEY)"