Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(web): serve the desktop demo at /demo/desktop, badge on top

leepokai429a742a1b5a
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index dd67d8ab..ed8e6f0b 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -14,7 +14,7 @@
"scripts": {
"dev": "node tools/account-config.mjs dev && electron-vite dev",
"build": "electron-vite build",
- "build:demo": "vite build --config vite.demo.config.ts",
+ "build:demo": "vite build --config vite.demo.config.ts && mv ../../web/public/demo/desktop/index.html ../../web/public/demo/desktop.html",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "node --test --experimental-strip-types src/shared/*.test.ts src/renderer/views/thread/*.test.ts",
"icons": "swift tools/export-symbols.swift",
diff --git a/web/app/components/hero.tsx b/web/app/components/hero.tsx
index fbaf0920..311bbddf 100644
--- a/web/app/components/hero.tsx
+++ b/web/app/components/hero.tsx
@@ -32,25 +32,27 @@ export default function Hero() {
<section className="relative overflow-hidden px-4 pt-14 pb-20 sm:px-6 md:pt-20 md:pb-28">
<Halftone corner="top-right" className="w-[44rem] max-w-[90vw] text-neutral-50 opacity-[0.12]" />
<Halftone corner="top-left" className="w-[30rem] max-w-[70vw] text-neutral-50 opacity-[0.08]" />
+ <motion.div {...rise(0)} className="relative mb-10 flex justify-center md:mb-14">
+ <a
+ href={PRODUCT_HUNT}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="flex items-center gap-3 transition hover:opacity-80"
+ >
+ {/* eslint-disable-next-line @next/next/no-img-element -- live badge served by Product Hunt */}
+ <img
+ src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1267264&theme=dark"
+ alt="Codync on Product Hunt"
+ width={250}
+ height={54}
+ className="h-10 w-auto"
+ />
+ <span className="text-sm font-medium text-neutral-300">#16 Product of the Day</span>
+ </a>
+ </motion.div>
<div className="relative mx-auto grid max-w-6xl grid-cols-1 items-center gap-14 md:grid-cols-[1.15fr_1fr] md:gap-8">
<div className="flex flex-col items-start text-left">
<motion.div {...rise(0)} className="flex flex-col items-start gap-4">
- <a
- href={PRODUCT_HUNT}
- target="_blank"
- rel="noopener noreferrer"
- className="flex items-center gap-3 transition hover:opacity-80"
- >
- {/* eslint-disable-next-line @next/next/no-img-element -- live badge served by Product Hunt */}
- <img
- src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1267264&theme=dark"
- alt="Codync on Product Hunt"
- width={250}
- height={54}
- className="h-10 w-auto"
- />
- <span className="text-sm font-medium text-neutral-300">#16 Product of the Day</span>
- </a>
<span className="inline-flex items-center gap-2 rounded-full bg-neutral-900 py-1.5 pr-4 pl-1.5 text-sm">
<span className="rounded-full bg-neutral-50 px-2.5 py-0.5 text-xs font-semibold whitespace-nowrap text-neutral-950">100% free</span>
<span className="text-neutral-300">No hidden fees, no paid tier</span>
diff --git a/web/app/components/mac-window.tsx b/web/app/components/mac-window.tsx
index 113a36e5..49d5ee47 100644
--- a/web/app/components/mac-window.tsx
+++ b/web/app/components/mac-window.tsx
@@ -6,7 +6,8 @@ import { useLayoutEffect, useRef, useState } from "react";
const MIN_WIDTH = 960;
const RATIO = 1096 / 1600;
-// The file itself, not the folder: Vercel doesn't serve a folder's index.html from public/.
+// The page is public/demo/desktop.html, served at /demo/desktop like every other page (Vercel
+// serves clean URLs and no folder index.html); its assets live in public/demo/desktop/.
// The real desktop app (apps/desktop, `npm run build:demo`) on an in-memory host, in a Mac window.
// The app hides the title bar on macOS, so the window draws the traffic lights.
export default function MacWindow() {
@@ -29,7 +30,7 @@ export default function MacWindow() {
>
{width ? (
<iframe
- src="/demo/desktop/index.html"
+ src="/demo/desktop"
title="Codync for Mac, live demo: Ship room, where Pacer, Reviewer and Scout discuss an isoWeek fix"
loading="lazy"
className="absolute top-0 left-0 origin-top-left border-0"
diff --git a/web/public/demo/desktop/index.html b/web/public/demo/desktop.html
similarity index 100%
rename from web/public/demo/desktop/index.html
rename to web/public/demo/desktop.html