Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

680 B
Raw Blame
import { matchers, routes, type VercelConfig } from "@vercel/config/v1";

const ROUTER_HOST = "app.t3.codes";

const LATEST_ORIGIN = "https://latest.app.t3.codes";

export const config: VercelConfig = {
  buildCommand:
    "vp run --filter @akeru/web build && node ../../scripts/apply-web-brand-assets.ts production",
  git: {
    deploymentEnabled: false,
  },
  installCommand:
    "npm install -g vite-plus && vp install --ignore-scripts --filter '@akeru/scripts...' --filter '@akeru/web...'",
  routes: [
    {
      src: "/(.*)",
      has: [matchers.host(ROUTER_HOST)],
      dest: `${LATEST_ORIGIN}/$1`,
    },
  ],
  rewrites: [routes.rewrite("/(.*)", "/index.html")],
};