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 (

Download RemoteLink Agent

Install the agent on machines you want to control remotely. It connects back to your server and waits for a viewer session.

{platforms.map((platform) => (
{platform.name} {platform.description}

{platform.filename}

{platform.available && 'size' in platform &&

{platform.size}

}
{platform.available && platform.downloadPath ? ( ) : ( )} {platform.note && (

{platform.note}

)}
))}

Agent Features

{features.map((feature) => (

{feature.title}

{feature.description}

))}
Installation Instructions

Linux — run once (portable)

  1. Download remotelink-agent-linux
  2. Make it executable: chmod +x remotelink-agent-linux
  3. Get an enrollment token from Admin → Agent enrollment
  4. Run: ./remotelink-agent-linux --server https://your-server --enroll YOUR_TOKEN --run-once

Linux — permanent install (reconnects on reboot)

  1. Run without --run-once — config is saved to /etc/remotelink/agent.json
  2. Create a systemd service or add to crontab with @reboot

Windows — silent mass deploy (coming soon)

  1. Build RemoteLink-Setup.exe on a Windows machine using the NSIS installer script in the agent source
  2. Deploy silently: RemoteLink-Setup.exe /S /SERVER=https://your-server /ENROLL=YOUR_TOKEN
  3. The installer registers a Windows Service that auto-starts on boot
) }