import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' import { Button } from '@/components/ui/button' import { Download, Monitor, Apple, Terminal, Shield, Cpu, HardDrive, Clock } from 'lucide-react' import Link from 'next/link' const platforms = [ { name: 'Windows', icon: Monitor, description: 'Windows 10/11 (64-bit)', filename: 'RemoteLink-Setup.exe', downloadPath: null, available: false, note: 'Coming soon — build on Windows with PyInstaller + NSIS', }, { name: 'macOS', icon: Apple, description: 'macOS 11+ (Apple Silicon & Intel)', filename: 'remotelink-agent-macos', downloadPath: null, available: false, note: 'Coming soon — build on macOS with PyInstaller', }, { name: 'Linux', icon: Terminal, description: 'x86_64 — Ubuntu, Debian, Fedora, Arch', filename: 'remotelink-agent-linux', downloadPath: '/downloads/remotelink-agent-linux', available: true, size: '19 MB', note: null, }, ] const features = [ { icon: Shield, title: 'Secure', description: 'All traffic routed through your own relay server' }, { icon: Cpu, title: 'Lightweight', description: 'Single binary, minimal CPU and memory usage' }, { icon: HardDrive, title: 'Portable', description: 'Run once with no install, or deploy as a service' }, ] export default function DownloadPage() { return (
Install the agent on machines you want to control remotely. It connects back to your server and waits for a viewer session.
{platform.filename}
{platform.available && 'size' in platform &&{platform.size}
}{platform.note}
)}{feature.title}
{feature.description}
remotelink-agent-linuxchmod +x remotelink-agent-linux./remotelink-agent-linux --server https://your-server --enroll YOUR_TOKEN --run-once--run-once — config is saved to /etc/remotelink/agent.json@rebootRemoteLink-Setup.exe on a Windows machine using the NSIS installer script in the agent sourceRemoteLink-Setup.exe /S /SERVER=https://your-server /ENROLL=YOUR_TOKEN