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.

chore: add Apple Watch demo video and gallery

libokaiea8ca97a8375
diff --git a/Codync-iOS/Views/YouTubePlayerView.swift b/Codync-iOS/Views/YouTubePlayerView.swift
index 452de3e7..381f244f 100644
--- a/Codync-iOS/Views/YouTubePlayerView.swift
+++ b/Codync-iOS/Views/YouTubePlayerView.swift
@@ -21,34 +21,80 @@ struct YouTubePlayerView: UIViewRepresentable {
}
}
+private struct DemoVideoItem: Identifiable, Hashable {
+ let id: String // YouTube video ID
+ let title: String
+ let subtitle: String
+ let icon: String
+}
+
+private let demoVideos: [DemoVideoItem] = [
+ DemoVideoItem(id: "A5ki29svIc4", title: "App Overview", subtitle: "Full walkthrough on Mac & iPhone", icon: "play.rectangle"),
+ DemoVideoItem(id: "9klpDsbHwJU", title: "Real Device Demo", subtitle: "iCloud sync between Mac, iPhone & Watch", icon: "iphone.and.arrow.forward"),
+ DemoVideoItem(id: "N-qhrJugoZo", title: "Apple Watch", subtitle: "Live session monitoring on your wrist", icon: "applewatch"),
+]
+
struct DemoVideoSheet: View {
@Environment(\.dismiss) private var dismiss
+ @State private var selectedVideo: DemoVideoItem?
var body: some View {
NavigationStack {
- YouTubePlayerView(videoId: "A5ki29svIc4")
- .ignoresSafeArea(edges: .bottom)
- .navigationTitle("Demo")
- .navigationBarTitleDisplayMode(.inline)
- .toolbar {
- ToolbarItem(placement: .topBarLeading) {
- Button {
- if let url = URL(string: "https://youtu.be/A5ki29svIc4") {
- UIApplication.shared.open(url)
- }
- } label: {
- HStack(spacing: 4) {
- Image(systemName: "arrow.up.forward")
- .font(.system(size: 11, weight: .semibold))
- Text("YouTube")
- .font(.system(size: 14, weight: .medium))
- }
+ List(demoVideos) { video in
+ Button {
+ selectedVideo = video
+ } label: {
+ HStack(spacing: 14) {
+ Image(systemName: video.icon)
+ .font(.system(size: 20))
+ .foregroundStyle(.white)
+ .frame(width: 36, height: 36)
+ VStack(alignment: .leading, spacing: 2) {
+ Text(video.title)
+ .font(.system(size: 16, weight: .semibold))
+ .foregroundStyle(.white)
+ Text(video.subtitle)
+ .font(.system(size: 13))
+ .foregroundStyle(.secondary)
}
+ Spacer()
+ Image(systemName: "play.circle.fill")
+ .font(.system(size: 22))
+ .foregroundStyle(.secondary)
}
- ToolbarItem(placement: .topBarTrailing) {
- Button("Done") { dismiss() }
- }
+ .padding(.vertical, 4)
+ }
+ }
+ .listStyle(.plain)
+ .navigationTitle("Demos")
+ .navigationBarTitleDisplayMode(.inline)
+ .toolbar {
+ ToolbarItem(placement: .topBarTrailing) {
+ Button("Done") { dismiss() }
}
+ }
+ .navigationDestination(item: $selectedVideo) { video in
+ YouTubePlayerView(videoId: video.id)
+ .ignoresSafeArea(edges: .bottom)
+ .navigationTitle(video.title)
+ .navigationBarTitleDisplayMode(.inline)
+ .toolbar {
+ ToolbarItem(placement: .topBarTrailing) {
+ Button {
+ if let url = URL(string: "https://youtu.be/\(video.id)") {
+ UIApplication.shared.open(url)
+ }
+ } label: {
+ HStack(spacing: 4) {
+ Image(systemName: "arrow.up.forward")
+ .font(.system(size: 11, weight: .semibold))
+ Text("YouTube")
+ .font(.system(size: 14, weight: .medium))
+ }
+ }
+ }
+ }
+ }
}
.preferredColorScheme(.dark)
}
diff --git a/Codync-web/app/components/demo-video.tsx b/Codync-web/app/components/demo-video.tsx
index 7eb676fb..bdabbdf4 100644
--- a/Codync-web/app/components/demo-video.tsx
+++ b/Codync-web/app/components/demo-video.tsx
@@ -1,62 +1,120 @@
"use client";
-import { motion } from "framer-motion";
+import { useState } from "react";
+import { motion, AnimatePresence } from "framer-motion";
-const DEMO_VIDEO_ID = "A5ki29svIc4";
-const WATCH_DEMO_VIDEO_ID = "N-qhrJugoZo";
+const VIDEOS = [
+ {
+ id: "A5ki29svIc4",
+ title: "App Overview",
+ description: "Full walkthrough of Codync on Mac & iPhone",
+ orientation: "landscape" as const,
+ },
+ {
+ id: "9klpDsbHwJU",
+ title: "Real Device Demo",
+ description: "iCloud sync between Mac, iPhone & Watch",
+ orientation: "portrait" as const,
+ },
+ {
+ id: "N-qhrJugoZo",
+ title: "Apple Watch",
+ description: "Live session monitoring on your wrist",
+ orientation: "portrait" as const,
+ },
+];
export default function DemoVideo() {
- return (
- <section className="px-6 py-16">
- <div className="max-w-5xl mx-auto">
- <motion.h2
- initial={{ opacity: 0 }}
- whileInView={{ opacity: 1 }}
- viewport={{ once: true }}
- className="text-2xl font-bold text-white text-center mb-8"
- >
- See it in action
- </motion.h2>
+ const [activeVideo, setActiveVideo] = useState<string | null>(null);
- <div className="flex flex-col md:flex-row items-center md:items-stretch justify-center gap-8">
- {/* Main demo — landscape */}
- <motion.div
- initial={{ opacity: 0, y: 20 }}
- whileInView={{ opacity: 1, y: 0 }}
+ return (
+ <>
+ <section className="px-6 py-16">
+ <div className="max-w-4xl mx-auto">
+ <motion.h2
+ initial={{ opacity: 0 }}
+ whileInView={{ opacity: 1 }}
viewport={{ once: true }}
- transition={{ duration: 0.6 }}
- className="relative w-full md:flex-1 aspect-video rounded-2xl overflow-hidden border border-neutral-800 bg-neutral-950"
+ className="text-2xl font-bold text-white text-center mb-8"
>
- <iframe
- src={`https://www.youtube.com/embed/${DEMO_VIDEO_ID}`}
- title="Codync Demo"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
- className="absolute inset-0 w-full h-full"
- />
- </motion.div>
+ See it in action
+ </motion.h2>
- {/* Watch demo — vertical Shorts */}
+ <div className="grid grid-cols-1 sm:grid-cols-3 gap-4">
+ {VIDEOS.map((video, i) => (
+ <motion.button
+ key={video.id}
+ initial={{ opacity: 0, y: 20 }}
+ whileInView={{ opacity: 1, y: 0 }}
+ viewport={{ once: true }}
+ transition={{ duration: 0.4, delay: i * 0.1 }}
+ onClick={() => setActiveVideo(video.id)}
+ className="group relative rounded-2xl border border-neutral-800 bg-neutral-950 overflow-hidden text-left transition-colors hover:border-neutral-600"
+ >
+ <div className="relative aspect-video overflow-hidden">
+ <img
+ src={`https://img.youtube.com/vi/${video.id}/hqdefault.jpg`}
+ alt={video.title}
+ className="w-full h-full object-cover transition-transform duration-300 group-hover:scale-105"
+ />
+ <div className="absolute inset-0 flex items-center justify-center bg-black/30 group-hover:bg-black/20 transition-colors">
+ <div className="w-12 h-12 rounded-full bg-white/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform">
+ <svg viewBox="0 0 24 24" fill="#000" className="w-5 h-5 ml-0.5">
+ <path d="M8 5v14l11-7z" />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <div className="p-4">
+ <p className="text-sm font-semibold text-white">{video.title}</p>
+ <p className="text-xs text-neutral-500 mt-1">{video.description}</p>
+ </div>
+ </motion.button>
+ ))}
+ </div>
+ </div>
+ </section>
+
+ {/* Modal */}
+ <AnimatePresence>
+ {activeVideo && (
<motion.div
- initial={{ opacity: 0, y: 20 }}
- whileInView={{ opacity: 1, y: 0 }}
- viewport={{ once: true }}
- transition={{ duration: 0.6, delay: 0.15 }}
- className="flex flex-col items-center"
+ initial={{ opacity: 0 }}
+ animate={{ opacity: 1 }}
+ exit={{ opacity: 0 }}
+ transition={{ duration: 0.2 }}
+ className="fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm p-4"
+ onClick={() => setActiveVideo(null)}
>
- <p className="text-xs text-neutral-500 font-medium mb-2">Apple Watch</p>
- <div className="relative w-[200px] md:w-[220px] aspect-[9/16] rounded-2xl overflow-hidden border border-neutral-800 bg-neutral-950">
+ <motion.div
+ initial={{ scale: 0.9, opacity: 0 }}
+ animate={{ scale: 1, opacity: 1 }}
+ exit={{ scale: 0.9, opacity: 0 }}
+ transition={{ duration: 0.2 }}
+ onClick={(e) => e.stopPropagation()}
+ className={
+ VIDEOS.find((v) => v.id === activeVideo)?.orientation === "portrait"
+ ? "relative w-full max-w-[360px] aspect-[9/16] rounded-2xl overflow-hidden"
+ : "relative w-full max-w-3xl aspect-video rounded-2xl overflow-hidden"
+ }
+ >
<iframe
- src={`https://www.youtube.com/embed/${WATCH_DEMO_VIDEO_ID}`}
- title="Codync Apple Watch Demo"
+ src={`https://www.youtube.com/embed/${activeVideo}?autoplay=1`}
+ title="Codync Demo"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
className="absolute inset-0 w-full h-full"
/>
- </div>
+ <button
+ onClick={() => setActiveVideo(null)}
+ className="absolute top-3 right-3 w-8 h-8 rounded-full bg-black/60 flex items-center justify-center text-white hover:bg-black/80 transition-colors"
+ >
+ ✕
+ </button>
+ </motion.div>
</motion.div>
- </div>
- </div>
- </section>
+ )}
+ </AnimatePresence>
+ </>
);
}
diff --git a/Codync-web/app/components/hero.tsx b/Codync-web/app/components/hero.tsx
index 5a767fe0..aad5f1df 100644
--- a/Codync-web/app/components/hero.tsx
+++ b/Codync-web/app/components/hero.tsx
@@ -17,6 +17,15 @@ export default function Hero() {
transition={{ duration: 0.6 }}
className="relative z-10 flex flex-col items-center text-center"
>
+ <motion.p
+ initial={{ opacity: 0, y: -10 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ duration: 0.5 }}
+ className="mb-6 text-sm sm:text-base text-neutral-400 font-medium tracking-wide"
+ >
+ Now you can vibe code with Claude Code while running 🏃‍♂️⌚
+ </motion.p>
+
<motion.img
src="/icon.png"
alt="Codync"