diff --git a/out/openapi.json b/out/openapi.json index b92675ce3e..e56645a2ad 100644 --- a/out/openapi.json +++ b/out/openapi.json @@ -11,7 +11,7 @@ "name": "Apache-2.0", "identifier": "Apache-2.0" }, - "version": "25.7.2" + "version": "25.7.3" }, "paths": { "/actors": { diff --git a/site/next.config.ts b/site/next.config.ts index 37cbe7e52b..d8f0bb8fa9 100644 --- a/site/next.config.ts +++ b/site/next.config.ts @@ -24,199 +24,186 @@ const nextConfig = { }, async redirects() { return [ - // Next.js redirects for Cloudflare deployment - - // Permanent redirects for common 404s (consolidated from duplicates) - - // Convenience Redirects - { - source: '/docs', - destination: '/docs/actors', - permanent: false, - }, - - // Redirects for moved Cloud docs + // Redirects for moved Cloud docs { - source: '/docs/actors-low-level', - destination: '/docs/cloud/actors', + source: "/docs/actors-low-level", + destination: "/docs/cloud/actors", permanent: false, }, // Redirects for moved Cloud docs { - source: '/docs/hub', - destination: '/docs/cloud/hub', + source: "/docs/hub", + destination: "/docs/cloud/hub", permanent: false, }, { - source: '/docs/install', - destination: '/docs/cloud/install', + source: "/docs/install", + destination: "/docs/cloud/install", permanent: false, }, { - source: '/docs/limitations', - destination: '/docs/cloud/limitations', + source: "/docs/limitations", + destination: "/docs/cloud/limitations", permanent: false, }, { - source: '/docs/local-development', - destination: '/docs/cloud/local-development', + source: "/docs/local-development", + destination: "/docs/cloud/local-development", permanent: false, }, { - source: '/docs/networking', - destination: '/docs/cloud/networking', + source: "/docs/networking", + destination: "/docs/cloud/networking", permanent: false, }, { - source: '/docs/pricing', - destination: '/docs/cloud/pricing', + source: "/docs/pricing", + destination: "/docs/cloud/pricing", permanent: false, }, { - source: '/docs/quickstart', - destination: '/docs/cloud/quickstart', + source: "/docs/quickstart", + destination: "/docs/cloud/quickstart", permanent: false, }, { - source: '/docs/solutions/:slug*', - destination: '/docs/cloud/solutions/:slug*', + source: "/docs/solutions/:slug*", + destination: "/docs/cloud/solutions/:slug*", permanent: false, }, { - source: '/docs/tokens', - destination: '/docs/cloud/tokens', + source: "/docs/tokens", + destination: "/docs/cloud/tokens", permanent: false, }, { - source: '/docs/troubleshooting', - destination: '/docs/cloud/troubleshooting', + source: "/docs/troubleshooting", + destination: "/docs/cloud/troubleshooting", permanent: false, }, { - source: '/docs/workers', - destination: '/docs/cloud/workers', + source: "/docs/workers", + destination: "/docs/cloud/workers", permanent: false, }, { - source: '/docs/javascript-runtime', - destination: '/docs/cloud/actors', + source: "/docs/javascript-runtime", + destination: "/docs/cloud/actors", permanent: false, }, { - source: '/docs/container-runtime', - destination: '/docs/cloud/containers', + source: "/docs/container-runtime", + destination: "/docs/cloud/containers", permanent: false, }, // Additional redirects for missing pages from CSV { - source: '/docs/general/authentication', - destination: '/docs/actors/authentication', + source: "/docs/general/authentication", + destination: "/docs/actors/authentication", permanent: false, }, { - source: '/docs/general/authentication/', - destination: '/docs/actors/authentication', + source: "/docs/general/authentication/", + destination: "/docs/actors/authentication", permanent: false, }, { - source: '/docs/general/testing', - destination: '/docs/actors/testing', + source: "/docs/general/testing", + destination: "/docs/actors/testing", permanent: false, }, { - source: '/docs/general/testing/', - destination: '/docs/actors/testing', + source: "/docs/general/testing/", + destination: "/docs/actors/testing", permanent: false, }, { - source: '/docs/actors/communicating-with-actors', - destination: '/docs/actors/communicating-between-actors', + source: "/docs/actors/communicating-with-actors", + destination: "/docs/actors/communicating-between-actors", permanent: false, }, { - source: '/docs/actors/communicating-with-actors/', - destination: '/docs/actors/communicating-between-actors', + source: "/docs/actors/communicating-with-actors/", + destination: "/docs/actors/communicating-between-actors", permanent: false, }, { - source: '/actors/communicating-with-actors', - destination: '/docs/actors/communicating-between-actors', + source: "/actors/communicating-with-actors", + destination: "/docs/actors/communicating-between-actors", permanent: false, }, { - source: '/actors/communicating-with-actors/', - destination: '/docs/actors/communicating-between-actors', + source: "/actors/communicating-with-actors/", + destination: "/docs/actors/communicating-between-actors", permanent: false, }, { - source: '/clients/javascript', - destination: '/docs/clients/javascript', + source: "/clients/javascript", + destination: "/docs/clients/javascript", permanent: false, }, { - source: '/clients/javascript/', - destination: '/docs/clients/javascript', + source: "/clients/javascript/", + destination: "/docs/clients/javascript", permanent: false, }, - // Handle specific API variants without trailing slash that may not be caught by :slug* pattern { - source: '/docs/api/regions/list', - destination: '/docs/cloud/api/regions/list', + source: "/docs/api/regions/list", + destination: "/docs/cloud/api/regions/list", permanent: false, }, { - source: '/docs/api/actors/create', - destination: '/docs/cloud/api/actors/create', + source: "/docs/api/actors/create", + destination: "/docs/cloud/api/actors/create", permanent: false, }, { - source: '/docs/api/actors/upgrade-all', - destination: '/docs/cloud/api/actors/upgrade-all', + source: "/docs/api/actors/upgrade-all", + destination: "/docs/cloud/api/actors/upgrade-all", permanent: false, }, { - source: '/docs/api/actors/upgrade', - destination: '/docs/cloud/api/actors/upgrade', + source: "/docs/api/actors/upgrade", + destination: "/docs/cloud/api/actors/upgrade", permanent: false, }, { - source: '/docs/api/actors/destroy', - destination: '/docs/cloud/api/actors/destroy', + source: "/docs/api/actors/destroy", + destination: "/docs/cloud/api/actors/destroy", permanent: false, }, { - source: '/docs/api/routes/update', - destination: '/docs/cloud/api/routes/update', + source: "/docs/api/routes/update", + destination: "/docs/cloud/api/routes/update", permanent: false, }, // Additional missing API endpoints { - source: '/docs/api/actors/get', - destination: '/docs/cloud/api/actors/get', + source: "/docs/api/actors/get", + destination: "/docs/cloud/api/actors/get", permanent: false, }, { - source: '/docs/api/actors/list', - destination: '/docs/cloud/api/actors/list', + source: "/docs/api/actors/list", + destination: "/docs/cloud/api/actors/list", permanent: false, }, { - source: '/docs/api', - destination: '/docs/cloud/api', + source: "/docs/api", + destination: "/docs/cloud/api", permanent: false, }, // Missing documentation pages { - source: '/docs/containers', - destination: '/docs/cloud/containers', + source: "/docs/containers", + destination: "/docs/cloud/containers", permanent: false, }, - ]; }, webpack: (config) => { diff --git a/site/public/llms-full.txt b/site/public/llms-full.txt index 317ea63fe0..9ced765890 100644 --- a/site/public/llms-full.txt +++ b/site/public/llms-full.txt @@ -4637,6 +4637,35 @@ registry.start( # Webhooks TODO +## Overview + +# Overview + +## Primitives + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks + +## Concepts + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks + +## Support + + Set up actors with Node.js, Bun, and web frameworks + + Set up actors with Node.js, Bun, and web frameworks ## Better Auth # Better Auth diff --git a/site/public/llms.txt b/site/public/llms.txt index 41197f1b2a..ac8bd11109 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -19,6 +19,7 @@ https://rivet.gg/blog/2025-09-12-performance-lifecycle-updates https://rivet.gg/blog/2025-09-14-weekly-updates https://rivet.gg/blog/2025-09-21-weekly-updates https://rivet.gg/blog/2025-09-24-vbare-simple-schema-evolution-with-maximum-performance +https://rivet.gg/blog/2025-09-28-weekly-updates https://rivet.gg/blog/2025-1-12-rivet-inspector https://rivet.gg/blog/2025-10-01-railway-selfhost https://rivet.gg/blog/godot-multiplayer-compared-to-unity @@ -40,6 +41,7 @@ https://rivet.gg/changelog/2025-09-12-performance-lifecycle-updates https://rivet.gg/changelog/2025-09-14-weekly-updates https://rivet.gg/changelog/2025-09-21-weekly-updates https://rivet.gg/changelog/2025-09-24-vbare-simple-schema-evolution-with-maximum-performance +https://rivet.gg/changelog/2025-09-28-weekly-updates https://rivet.gg/changelog/2025-1-12-rivet-inspector https://rivet.gg/changelog/2025-10-01-railway-selfhost https://rivet.gg/changelog/godot-multiplayer-compared-to-unity @@ -86,6 +88,7 @@ https://rivet.gg/docs/general/self-hosting https://rivet.gg/docs/general/studio https://rivet.gg/docs/general/system-architecture https://rivet.gg/docs/general/webhooks +https://rivet.gg/docs/index https://rivet.gg/docs/integrations https://rivet.gg/docs/integrations/better-auth https://rivet.gg/docs/integrations/cloudflare-workers diff --git a/site/src/app/(v2)/(content)/docs/page.tsx b/site/src/app/(v2)/(content)/docs/page.tsx deleted file mode 100644 index ea336b7342..0000000000 --- a/site/src/app/(v2)/(content)/docs/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { redirect } from "next/navigation"; - -export default function DocsPage() { - redirect("/docs/actors"); -} diff --git a/site/src/content/docs/index.mdx b/site/src/content/docs/index.mdx new file mode 100644 index 0000000000..f2192a83d0 --- /dev/null +++ b/site/src/content/docs/index.mdx @@ -0,0 +1,53 @@ +import { faNodeJs, faReact, faActor } from "@rivet-gg/icons"; + +# Overview + +TODO: Brief overview + +## Features + +- Stateful Workloads: TODO +- Realtime: TODO +- Scalability: TODO +- Multi-Region Storage: TODO + + +## Tools + + + + Set up actors with Node.js, Bun, and web frameworks + + + Set up actors with Node.js, Bun, and web frameworks + + + Set up actors with Node.js, Bun, and web frameworks + + + +## Use Cases + + + + Set up actors with Node.js, Bun, and web frameworks + + + Set up actors with Node.js, Bun, and web frameworks + + + Set up actors with Node.js, Bun, and web frameworks + + + +## Support + + + + Set up actors with Node.js, Bun, and web frameworks + + + Set up actors with Node.js, Bun, and web frameworks + + + diff --git a/site/src/sitemap/mod.ts b/site/src/sitemap/mod.ts index 9dd1ec715e..76c3347816 100644 --- a/site/src/sitemap/mod.ts +++ b/site/src/sitemap/mod.ts @@ -57,6 +57,7 @@ import { faVercel, faSquareRootVariable, faCloudflare, + faCloud, } from "@rivet-gg/icons"; // Goals: @@ -71,641 +72,666 @@ import { // - People who want to run Open Source export const sitemap = [ + { - title: "Documentation", + title: "Overview", href: "/docs", sidebar: [ { - title: "Actors", - //icon: faActorsBorderless, + title: "Overview", + href: "/docs", + icon: faSquareInfo, + }, + { + title: "Use Cases", + collapsible: true, + pages: [ + { title: "Agents", href: "/docs/what-are-actors", }, + { title: "Realtime", href: "/docs/what-are-agents", }, + { title: "Multiplayer Apps", href: "/docs/what-are-actors", }, + { title: "Background Jobs", href: "/docs/what-are-actors", }, + { title: "Rate Limiting", href: "/docs/what-are-actors", }, + ] + }, + { + // TOOD: These are product pages + // - https://tanstack.com/query/latest + // - https://docs.restate.dev/use-cases/ai-agents + title: "Tools", + pages: [ + { title: "Actors", href: "/docs/what-are-actors", }, + { title: "Workflows", href: "/docs/what-are-workflows", }, + { title: "Agent Orchestration", href: "/docs/what-are-agents", }, + ] + }, + { + title: "Deploy", + pages: [ + // can use this for reference: https://www.rivet.dev/docs/self-hosting/railway + { title: "Railway", href: "/docs/deploy/railway", }, // 2 + { title: "Vercel", href: "/docs/deploy/vercel", }, // 3 + { title: "Freestyle", href: "/docs/deploy/vercel", }, // 1 (done) + { title: "Supabase", href: "/docs/deploy/supabase", }, // 4 + { title: "AWS ECS", href: "/docs/deploy/aws-ecs", }, // 8 + { title: "GCP Cloud Run", href: "/docs/deploy/gcp-run", }, // 7 + { title: "Kubernetes", href: "/docs/deploy/kubernetes", }, // 6 (see versioning & runner keys) + { title: "Hetzner", href: "/docs/deploy/vm", }, // Will be almost the same as VM & Bare Metal + { title: "VM & Bare Metal", href: "/docs/deploy/vm", }, // 5 (use systemd) + ] + }, + { + title: "Reference", pages: [ { - title: "Overview", - href: "/docs/actors", - icon: faSquareInfo, - }, - { - title: "Quickstart", - icon: faForward, + title: "Cloud", + icon: faCloud, collapsible: true, - href: "/docs/actors/quickstart", pages: [ { - title: "Node.js & Bun", - href: "/docs/actors/quickstart/backend", - icon: faNodeJs, - }, - { - title: "React", - href: "/docs/actors/quickstart/react", - icon: faReact, - }, - { - title: "Next.js", - href: "/docs/actors/quickstart/next-js", - icon: nextjs, - }, - { - title: "Cloudflare Workers", - href: "/docs/actors/quickstart/cloudflare-workers", - icon: faCloudflare, + title: "Overview", + href: "/docs/cloud", + // icon: faSquareInfo, }, ], }, { - title: "State", - href: "/docs/actors/state", - icon: faFloppyDisk, - }, - { - title: "Actions", - href: "/docs/actors/actions", - icon: faBolt, - }, - { - title: "Events", - href: "/docs/actors/events", - icon: faTowerBroadcast, - }, - { - title: "Schedule", - href: "/docs/actors/schedule", - icon: faClock, - }, - { - title: "More", + title: "Self-Hosting", + icon: faServer, collapsible: true, pages: [ { - title: "Clients", - href: "/docs/actors/clients", - icon: faCode, + title: "Overview", + href: "/docs/self-hosting", + // icon: faSquareInfo, + }, + { + title: "Install", + href: "/docs/self-hosting/install", + // icon: faDownload, }, { - title: "Lifecycle & Config", - icon: faSlidersHSquare, + title: "Concepts", collapsible: true, pages: [ { - title: "Lifecycle", - href: "/docs/actors/lifecycle", - //icon: faRotate, - }, - { - title: "Input Parameters", - href: "/docs/actors/input", - //icon: faFileImport, + title: "Connect Backend", + href: "/docs/self-hosting/connect-backend", + // icon: faNetworkWired, }, { - title: "Keys", - href: "/docs/actors/keys", - //icon: faKey, + title: "Configuration", + href: "/docs/self-hosting/configuration", + // icon: faGear, }, { - title: "Metadata", - href: "/docs/actors/metadata", - //icon: faTag, - }, - { - title: "Helper Types", - href: "/docs/actors/helper-types", - //icon: faCode, + title: "Multi-Region", + href: "/docs/self-hosting/multi-region", + // icon: faGlobe, }, ], }, { - title: "Communication", - icon: faArrowRightArrowLeft, + title: "Platforms", collapsible: true, pages: [ { - title: "Authentication", - href: "/docs/actors/authentication", - //icon: faFingerprint, - }, - { - title: "Connections", - href: "/docs/actors/connections", - //icon: faNetworkWired, + title: "Docker Container", + href: "/docs/self-hosting/docker-container", }, { - title: "Actor-Actor Communication", - href: "/docs/actors/communicating-between-actors", - //icon: faArrowsTurnToDots, + title: "Docker Compose", + href: "/docs/self-hosting/docker-compose", }, { - title: "Fetch & WebSocket Handler", - href: "/docs/actors/fetch-and-websocket-handler", - //icon: faLink, + title: "Railway", + href: "/docs/self-hosting/railway", }, - ], - }, - { - title: "State Management", - icon: faDatabase, - collapsible: true, - pages: [ { - title: "Ephemeral Variables", - href: "/docs/actors/ephemeral-variables", - //icon: faMemory, + title: "Kubernetes", + href: "/docs/self-hosting/kubernetes", }, { - title: "Sharing & Joining State", - href: "/docs/actors/sharing-and-joining-state", - //icon: faMerge, + title: "AWS Fargate", + href: "/docs/self-hosting/aws-fargate", }, { - title: "External SQL", - href: "/docs/actors/external-sql", - //icon: faDatabase, + title: "Google Cloud Run", + href: "/docs/self-hosting/google-cloud-run", }, - ], - }, - { - title: "Architecture", - icon: faSitemap, - collapsible: true, - pages: [ { - title: "Scaling & Concurrency", - href: "/docs/actors/scaling", - //icon: faMaximize, + title: "Hetzner", + href: "/docs/self-hosting/hetzner", }, ], }, - { - title: "Testing", - href: "/docs/actors/testing", - icon: faVialCircleCheck, - }, + //{ + // title: "Advanced", + // pages: [ + // // TODO: Scaling + // // TODO: Architecture + // // TODO: Networking (exposed ports, how data gets routed to actors, etc) + // ], + //}, ], }, + // { + // title: "Rivet Inspector", + // href: "/docs/general/studio", + // icon: faPalette, + // }, + { + title: "Docs for LLMs", + href: "/docs/general/docs-for-llms", + icon: faSquareBinary, + }, + // { + // title: "System Architecture", + // href: "/docs/general/system-architecture", + // icon: faLayerGroup, + // }, + ], + }, + ], + }, + { + title: "Actors", + href: "/docs/actors", + //icon: faActorsBorderless, + sidebar: [ + { + title: "Overview", + href: "/docs/actors", + icon: faSquareInfo, + }, + { + title: "Quickstart", + icon: faForward, + collapsible: true, + href: "/docs/actors/quickstart", + pages: [ + { + title: "Node.js & Bun", + href: "/docs/actors/quickstart/backend", + icon: faNodeJs, + }, + { + title: "React", + href: "/docs/actors/quickstart/react", + icon: faReact, + }, + { + title: "Next.js", + href: "/docs/actors/quickstart/next-js", + icon: nextjs, + }, + { + title: "Cloudflare Workers", + href: "/docs/actors/quickstart/cloudflare-workers", + icon: faCloudflare, + }, ], }, { - title: "Integrations", - // IMPORTANT: Also update integrations/index.mdx + title: "Concepts", pages: [ { - title: "Overview", - href: "/docs/integrations", - icon: faSquareInfo, + title: "State", + href: "/docs/actors/state", + icon: faFloppyDisk, }, { - title: "Frontend & Clients", - icon: faCode, + title: "Actions", + href: "/docs/actors/actions", + icon: faBolt, + }, + { + title: "Events", + href: "/docs/actors/events", + icon: faTowerBroadcast, + }, + { + title: "Schedule", + href: "/docs/actors/schedule", + icon: faClock, + }, + { + title: "Lifecycle & Config", + icon: faSlidersHSquare, collapsible: true, pages: [ { - title: "JavaScript", - href: "/docs/clients/javascript", - icon: faNodeJs, + title: "Lifecycle", + href: "/docs/actors/lifecycle", + //icon: faRotate, }, { - title: "React", - href: "/docs/clients/react", - icon: faReact, + title: "Input Parameters", + href: "/docs/actors/input", + //icon: faFileImport, }, { - title: "Next.js", - href: "/docs/clients/next-js", - icon: nextjs, + title: "Keys", + href: "/docs/actors/keys", + //icon: faKey, }, { - title: "Rust", - href: "/docs/clients/rust", - icon: faRust, + title: "Metadata", + href: "/docs/actors/metadata", + //icon: faTag, }, { - title: "OpenAPI", - href: "/docs/clients/openapi", - icon: faFileImport, + title: "Helper Types", + href: "/docs/actors/helper-types", + //icon: faCode, }, ], }, { - title: "Backend", - icon: faServer, + title: "Communication", + icon: faArrowRightArrowLeft, collapsible: true, pages: [ { - title: "Hono", - href: "/docs/integrations/hono", - }, - { - title: "Express", - href: "/docs/integrations/express", + title: "Authentication", + href: "/docs/actors/authentication", + //icon: faFingerprint, }, { - title: "Elysia", - href: "/docs/integrations/elysia", + title: "Connections", + href: "/docs/actors/connections", + //icon: faNetworkWired, }, { - title: "tRPC", - href: "/docs/integrations/trpc", + title: "Actor-Actor Communication", + href: "/docs/actors/communicating-between-actors", + //icon: faArrowsTurnToDots, }, { - title: "Next.js", - href: "/docs/integrations/next-js", - }, - { - title: "Cloudflare Workers", - href: "/docs/integrations/cloudflare-workers", + title: "Fetch & WebSocket Handler", + href: "/docs/actors/fetch-and-websocket-handler", + //icon: faLink, }, ], }, { - title: "Auth", - icon: faKey, + title: "Data Management", + icon: faDatabase, collapsible: true, pages: [ { - title: "Better Auth", - href: "/docs/integrations/better-auth", + title: "Ephemeral Variables", + href: "/docs/actors/ephemeral-variables", + //icon: faMemory, }, - ], - }, - { - title: "Misc", - collapsible: true, - pages: [ { - title: "Vitest", - href: "/docs/integrations/vitest", + title: "Sharing & Joining State", + href: "/docs/actors/sharing-and-joining-state", + //icon: faMerge, }, { - title: "Pino", - href: "/docs/integrations/pino", + title: "External SQL", + href: "/docs/actors/external-sql", + //icon: faDatabase, }, ], }, - ], - }, - //{ - // title: "Self-Hosting", - // // IMPORTANT: Also update integrations/index.mdx - // pages: [ - // { - // title: "Overview", - // icon: faInfoSquare, - // href: "/docs/general/self-hosting", - // }, - // { - // title: "Hosting Providers", - // icon: faServer, - // collapsible: true, - // pages: [ - // { - // title: "Railway", - // href: "/docs/hosting-providers/railway", - // }, - // // TODO: AWS ECS - // // TODO: Vercel - // { - // title: "Cloudflare Workers", - // href: "/docs/hosting-providers/cloudflare-workers", - // }, - // { - // title: "Rivet Cloud (Enterprise)", - // href: "/docs/hosting-providers/rivet-cloud", - // }, - // - // // TODO: Hetzner - // // TODO: AWS - // // TODO: Cloudflare Workers - // // TODO: Railway - // // TODO: Coolify - // // TODO: Rivet - // ], - // }, - // { - // title: "Drivers", - // icon: faScrewdriverWrench, - // collapsible: true, - // pages: [ - // { - // title: "Redis", - // href: "/docs/drivers/redis", - // }, - // { - // title: "File System", - // href: "/docs/drivers/file-system", - // }, - // { - // title: "Memory", - // href: "/docs/drivers/memory", - // }, - // { - // title: "Build Your Own", - // href: "/docs/drivers/build-your-own", - // }, - // ], - // }, - // ], - //}, - { - title: "Reference", - pages: [ - { - title: "Rivet Studio", - href: "/docs/general/studio", - icon: faPalette, - }, { - title: "Docs for LLMs", - href: "/docs/general/docs-for-llms", - icon: faSquareBinary, - }, - { - title: "System Architecture", - href: "/docs/general/system-architecture", - icon: faLayerGroup, - }, - { - title: "More", + title: "Architecture", + icon: faSitemap, collapsible: true, pages: [ { - title: "CORS", - href: "/docs/general/cors", - icon: faShareNodes, - }, - { - title: "Logging", - href: "/docs/general/logging", - icon: faListUl, + title: "Scaling & Concurrency", + href: "/docs/actors/scaling", + //icon: faMaximize, }, ], }, - ], + ] }, ], }, + + { + title: "Workflows", + href: "/docs/workflows", + //icon: faActorsBorderless, + sidebar: [ + ] + }, + + { + title: "Agents", + href: "/docs/agents", + //icon: faActorsBorderless, + sidebar: [ + ] + }, + + { - title: "Self-Hosting", - href: "/docs/self-hosting", + title: "Integrations", + href: "/docs/integrations", + // IMPORTANT: Also update integrations/index.mdx sidebar: [ { - title: "General", - pages: [ - { - title: "Overview", - href: "/docs/self-hosting", - icon: faSquareInfo, - }, - { - title: "Install", - href: "/docs/self-hosting/install", - icon: faDownload, - }, - { - title: "Connect Backend", - href: "/docs/self-hosting/connect-backend", - icon: faNetworkWired, - }, - { - title: "Configuration", - href: "/docs/self-hosting/configuration", - icon: faGear, - }, - { - title: "Multi-Region", - href: "/docs/self-hosting/multi-region", - icon: faGlobe, - }, - ], + title: "Overview", + href: "/docs/integrations", + icon: faSquareInfo, }, { - title: "Platforms", + title: "Backend", + // icon: faServer, + // collapsible: true, pages: [ { - title: "Docker Container", - href: "/docs/self-hosting/docker-container", - }, - { - title: "Docker Compose", - href: "/docs/self-hosting/docker-compose", + title: "Hono", + href: "/docs/integrations/hono", }, { - title: "Railway", - href: "/docs/self-hosting/railway", + title: "Express", + href: "/docs/integrations/express", }, { - title: "Kubernetes", - href: "/docs/self-hosting/kubernetes", + title: "Elysia", + href: "/docs/integrations/elysia", }, { - title: "AWS Fargate", - href: "/docs/self-hosting/aws-fargate", + title: "tRPC", + href: "/docs/integrations/trpc", }, { - title: "Google Cloud Run", - href: "/docs/self-hosting/google-cloud-run", + title: "Next.js", + href: "/docs/integrations/next-js", }, { - title: "Hetzner", - href: "/docs/self-hosting/hetzner", + title: "Cloudflare Workers", + href: "/docs/integrations/cloudflare-workers", }, ], }, - //{ - // title: "Advanced", - // pages: [ - // // TODO: Scaling - // // TODO: Architecture - // // TODO: Networking (expoed ports, how data gets routed to actors, etc) - // ], - //}, - ], - }, - { - title: "Enterprise Cloud", - href: "/docs/cloud", - sidebar: [ - { - title: "Overview", - href: "/docs/cloud", - icon: faSquareInfo, - }, { - title: "Install CLI", - href: "/docs/cloud/install", - icon: faDownload, - }, - { - title: "Getting Started", + title: "Auth", + // icon: faKey, + // collapsible: true, pages: [ { - title: "Functions", - href: "/docs/cloud/functions", - icon: faFunction, - }, - { - title: "Actors", - href: "/docs/cloud/actors", - icon: faActorsBorderless, - }, - { - title: "Containers", - href: "/docs/cloud/containers", - icon: faServer, + title: "Better Auth", + href: "/docs/integrations/better-auth", }, ], }, { - title: "Runtime", + title: "Misc", + // collapsible: true, pages: [ { - title: "Networking", - href: "/docs/cloud/networking", - icon: faNetworkWired, - }, - { - title: "Environment Variables", - href: "/docs/cloud/environment-variables", - icon: faLeaf, + title: "Vitest", + href: "/docs/integrations/vitest", }, { - title: "Durability & Rescheduling", - href: "/docs/cloud/durability", - icon: faRecycle, + title: "Pino", + href: "/docs/integrations/pino", }, ], }, + ], + }, + + { + title: "API Reference", + href: "/docs/api", + //icon: faActorsBorderless, + sidebar: [ { - title: "Reference", + title: "Advanced", + collapsible: true, pages: [ { - title: "Configuration", - href: "/docs/cloud/config", - icon: faSquareSliders, - }, - { - title: "CLI", - href: "/docs/cloud/cli", - icon: faSquareTerminal, + title: "Clients", + href: "/docs/actors/clients", + icon: faCode, }, { - title: "CI/CD", - href: "/docs/cloud/continuous-delivery", - icon: faCodePullRequest, + title: "Testing", + href: "/docs/actors/testing", + icon: faVialCircleCheck, }, { - title: "Tokens", - href: "/docs/cloud/tokens", - icon: faKey, + title: "CORS", + href: "/docs/general/cors", + icon: faShareNodes, }, { - title: "Local Development", - href: "/docs/cloud/local-development", - icon: faCode, - }, - { - title: "Edge Regions", - href: "/docs/cloud/edge", - icon: faGlobe, + title: "Logging", + href: "/docs/general/logging", + icon: faListUl, }, + ], + }, + { + title: "Clients", + // icon: faCode, + // collapsible: true, + pages: [ { - title: "Billing", - href: "/docs/cloud/pricing", - icon: faCoin, + title: "JavaScript", + href: "/docs/clients/javascript", + icon: faNodeJs, }, { - title: "Troubleshooting", - href: "/docs/cloud/troubleshooting", - icon: faClipboardListCheck, + title: "React", + href: "/docs/clients/react", + icon: faReact, }, { - title: "FAQ", - href: "/docs/cloud/faq", - icon: faBlockQuestion, + title: "Next.js", + href: "/docs/clients/next-js", + icon: nextjs, }, - ], - }, - //{ - // title: "Use Cases", - // pages: [ - // { - // title: "Game Servers", - // href: "/docs/cloud/solutions/game-servers", - // }, - // ], - //}, - //{ - // title: "Self-Hosting", - // pages: [ - // { - // title: "Overview", - // href: "/docs/cloud/self-hosting", - // icon: faSquareInfo, - // }, - // { - // title: "Single Container", - // href: "/docs/cloud/self-hosting/single-container", - // icon: faDocker, - // }, - // { - // title: "Docker Compose", - // href: "/docs/cloud/self-hosting/docker-compose", - // icon: faDocker, - // }, - // { - // title: "Manual Deployment", - // href: "/docs/cloud/self-hosting/manual-deployment", - // icon: faGear, - // }, - // { - // title: "Client Config", - // href: "/docs/cloud/self-hosting/client-config", - // icon: faSliders, - // }, - // { - // title: "Server Config", - // href: "/docs/cloud/self-hosting/server-config", - // icon: faSliders, - // }, - // { - // title: "Networking", - // href: "/docs/cloud/self-hosting/network-modes", - // icon: faNetworkWired, - // }, - // ], - //}, - { - title: "Advanced", - pages: [ { - title: "Limitations", - href: "/docs/cloud/limitations", + title: "Rust", + href: "/docs/clients/rust", + icon: faRust, }, - ], - }, - { - title: "API", - pages: [ { - title: "Overview", - collapsible: true, - pages: [ - { - title: "Overview", - href: "/docs/cloud/api", - }, - { - title: "Errors", - href: "/docs/cloud/api/errors", - }, - ], + title: "OpenAPI", + href: "/docs/clients/openapi", + icon: faFileImport, }, - ...(apiData.groups as SidebarItem[]).map((x) => { - x.collapsible = true; - return x; - }), ], }, - ], + ] }, + + // { + // title: "Enterprise Cloud", + // href: "/docs/cloud", + // sidebar: [ + // { + // title: "Overview", + // href: "/docs/cloud", + // icon: faSquareInfo, + // }, + // { + // title: "Install CLI", + // href: "/docs/cloud/install", + // icon: faDownload, + // }, + // { + // title: "Getting Started", + // pages: [ + // { + // title: "Functions", + // href: "/docs/cloud/functions", + // icon: faFunction, + // }, + // { + // title: "Actors", + // href: "/docs/cloud/actors", + // icon: faActorsBorderless, + // }, + // { + // title: "Containers", + // href: "/docs/cloud/containers", + // icon: faServer, + // }, + // ], + // }, + // { + // title: "Runtime", + // pages: [ + // { + // title: "Networking", + // href: "/docs/cloud/networking", + // icon: faNetworkWired, + // }, + // { + // title: "Environment Variables", + // href: "/docs/cloud/environment-variables", + // icon: faLeaf, + // }, + // { + // title: "Durability & Rescheduling", + // href: "/docs/cloud/durability", + // icon: faRecycle, + // }, + // ], + // }, + // { + // title: "Reference", + // pages: [ + // { + // title: "Configuration", + // href: "/docs/cloud/config", + // icon: faSquareSliders, + // }, + // { + // title: "CLI", + // href: "/docs/cloud/cli", + // icon: faSquareTerminal, + // }, + // { + // title: "CI/CD", + // href: "/docs/cloud/continuous-delivery", + // icon: faCodePullRequest, + // }, + // { + // title: "Tokens", + // href: "/docs/cloud/tokens", + // icon: faKey, + // }, + // { + // title: "Local Development", + // href: "/docs/cloud/local-development", + // icon: faCode, + // }, + // { + // title: "Edge Regions", + // href: "/docs/cloud/edge", + // icon: faGlobe, + // }, + // { + // title: "Billing", + // href: "/docs/cloud/pricing", + // icon: faCoin, + // }, + // { + // title: "Troubleshooting", + // href: "/docs/cloud/troubleshooting", + // icon: faClipboardListCheck, + // }, + // { + // title: "FAQ", + // href: "/docs/cloud/faq", + // icon: faBlockQuestion, + // }, + // ], + // }, + // //{ + // // title: "Use Cases", + // // pages: [ + // // { + // // title: "Game Servers", + // // href: "/docs/cloud/solutions/game-servers", + // // }, + // // ], + // //}, + // //{ + // // title: "Self-Hosting", + // // pages: [ + // // { + // // title: "Overview", + // // href: "/docs/cloud/self-hosting", + // // icon: faSquareInfo, + // // }, + // // { + // // title: "Single Container", + // // href: "/docs/cloud/self-hosting/single-container", + // // icon: faDocker, + // // }, + // // { + // // title: "Docker Compose", + // // href: "/docs/cloud/self-hosting/docker-compose", + // // icon: faDocker, + // // }, + // // { + // // title: "Manual Deployment", + // // href: "/docs/cloud/self-hosting/manual-deployment", + // // icon: faGear, + // // }, + // // { + // // title: "Client Config", + // // href: "/docs/cloud/self-hosting/client-config", + // // icon: faSliders, + // // }, + // // { + // // title: "Server Config", + // // href: "/docs/cloud/self-hosting/server-config", + // // icon: faSliders, + // // }, + // // { + // // title: "Networking", + // // href: "/docs/cloud/self-hosting/network-modes", + // // icon: faNetworkWired, + // // }, + // // ], + // //}, + // { + // title: "Advanced", + // pages: [ + // { + // title: "Limitations", + // href: "/docs/cloud/limitations", + // }, + // ], + // }, + // { + // title: "API", + // pages: [ + // { + // title: "Overview", + // collapsible: true, + // pages: [ + // { + // title: "Overview", + // href: "/docs/cloud/api", + // }, + // { + // title: "Errors", + // href: "/docs/cloud/api/errors", + // }, + // ], + // }, + // ...(apiData.groups as SidebarItem[]).map((x) => { + // x.collapsible = true; + // return x; + // }), + // ], + // }, + // ], + // }, + // { // title: "Integrations", // href: "/integrations",