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.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
feat(web): ask for a github star after a download starts
leepokai2dcc80587f59
diff --git a/web/app/download/[platform]/page.tsx b/web/app/download/[platform]/page.tsxnew file mode 100644index 00000000..90a867b3--- /dev/null+++ b/web/app/download/[platform]/page.tsx@@ -0,0 +1,52 @@+import type { Metadata } from "next";+import { notFound } from "next/navigation";+import GitHubStarButton from "../../components/github-star-button";+import Halftone from "../../components/halftone";+import { SiteFooter, SiteHeader } from "../../components/site-chrome";+import { DMG_FILE, WINDOWS_FILE } from "../../links";++const files: Record<string, string> = { mac: DMG_FILE, windows: WINDOWS_FILE };++export const dynamicParams = false;++export function generateStaticParams() {+ return Object.keys(files).map((platform) => ({ platform }));+}++export const metadata: Metadata = { title: "Thanks for downloading", robots: { index: false } };++// The download starts by itself (meta refresh to the file keeps this page on screen) while we ask for a star.+export default async function DownloadPage({ params }: { params: Promise<{ platform: string }> }) {+ const { platform } = await params;+ const file = files[platform];+ if (!file) notFound();++ return (+ <>+ <meta httpEquiv="refresh" content={`1;url=${file}`} />+ <SiteHeader />+ <main className="relative flex flex-1 items-center overflow-hidden px-4 py-24 sm:px-6">+ <Halftone corner="top-right" className="w-[36rem] max-w-[80vw] text-neutral-50 opacity-[0.14]" />+ <div className="relative mx-auto flex max-w-xl flex-col items-center text-center">+ <p className="text-sm text-neutral-500">Your download is starting…</p>+ <h1 className="mt-4 text-4xl font-semibold tracking-tighter text-neutral-50 md:text-5xl">+ Enjoying Codync? Give it a star.+ </h1>+ <p className="mt-4 text-neutral-400">+ Codync is free and open source. A star on GitHub is the easiest way to help other people find it.+ </p>+ <div className="mt-8">+ <GitHubStarButton />+ </div>+ <p className="mt-10 text-sm text-neutral-500">+ Download didn't start?{" "}+ <a href={file} className="text-neutral-300 underline underline-offset-4 transition hover:text-white">+ Try again+ </a>+ </p>+ </div>+ </main>+ <SiteFooter />+ </>+ );+}diff --git a/web/app/json-ld.tsx b/web/app/json-ld.tsxindex 8c7d94fb..99b06bdb 100644--- a/web/app/json-ld.tsx+++ b/web/app/json-ld.tsx@@ -1,4 +1,4 @@-import { APP_STORE, DMG, GITHUB, PRODUCT_HUNT } from "./links";+import { APP_STORE, DMG_FILE, GITHUB, PRODUCT_HUNT } from "./links";import { DESCRIPTION, SITE } from "./site";// Structured data so search and AI answer engines read Codync as a free, open-source app.@@ -29,7 +29,7 @@ const graph = {applicationCategory: "DeveloperApplication",operatingSystem: "macOS, Windows, Linux, iOS",image: `${SITE}/icon.png`,- downloadUrl: [DMG, APP_STORE],+ downloadUrl: [DMG_FILE, APP_STORE],installUrl: APP_STORE,license: "https://opensource.org/licenses/MIT",isAccessibleForFree: true,diff --git a/web/app/links.ts b/web/app/links.tsindex c3619e5f..56f13017 100644--- a/web/app/links.ts+++ b/web/app/links.ts@@ -1,5 +1,8 @@-export const DMG = "https://github.com/leepokai/Codync/releases/latest/download/codync-macos.dmg";-export const WINDOWS = "https://github.com/leepokai/Codync/releases/latest/download/codync-windows-x64.exe";+export const DMG_FILE = "https://github.com/leepokai/Codync/releases/latest/download/codync-macos.dmg";+export const WINDOWS_FILE = "https://github.com/leepokai/Codync/releases/latest/download/codync-windows-x64.exe";+// Download buttons open a thank-you page that starts the file and asks for a star.+export const DMG = "/download/mac";+export const WINDOWS = "/download/windows";export const APP_STORE = "https://apps.apple.com/app/codync/id6760984418";export const GITHUB = "https://github.com/leepokai/Codync";// YouTube id of the launch film.