import Link from 'next/link' import { Clock, CheckCircle2, ArrowRight, Plug, FileText, Map, MessageSquare, Sparkles, BookOpen, } from 'lucide-react' import type { ComponentProps } from 'react' function DockerLogo(props: ComponentProps<'svg'>) { return ( ) } function NpmLogo(props: ComponentProps<'svg'>) { return ( ) } function RailwayLogo({ className, ...props }: ComponentProps<'svg'>) { return ( ) } const methods = [ { icon: DockerLogo, title: 'Docker', tag: 'Recommended', description: 'Everything included — MongoDB, MeiliSearch, and RAG API run automatically.', href: '/docs/local/docker', time: '~5 min', prereqs: ['Docker Desktop'], steps: ['Clone the repository', 'Copy .env.example to .env', 'Run docker compose up'], }, { icon: NpmLogo, title: 'npm', description: 'Manual setup with Node.js. Requires separate MongoDB and MeiliSearch instances.', href: '/docs/local/npm', time: '~20 min', prereqs: ['Node.js v20.19+', 'MongoDB instance'], steps: [ 'Clone and install dependencies', 'Configure .env and start MongoDB', 'Run npm run backend', ], }, { icon: RailwayLogo, title: 'Railway', tag: 'One-click', description: 'Deploy to the cloud instantly. No local setup, no Docker, no servers to manage.', href: '/docs/remote/railway', time: '~3 min', prereqs: ['Railway account', 'GitHub account'], steps: ['Click the deploy button', 'Connect your GitHub', 'Set environment variables'], }, ] const resources = [ { icon: FileText, title: 'Changelog', description: 'Latest releases', href: '/changelog', }, { icon: Map, title: '2026 Roadmap', description: "What's planned", href: '/blog/2026-02-18_2026_roadmap', }, { icon: MessageSquare, title: 'Discord', description: 'Get help', href: 'https://discord.librechat.ai', }, ] export function QuickStartHub() { return ( ) }