import Link from 'next/link' import { ArrowRight, Search, Star, Sparkles, Zap, Shield, Heart } from 'lucide-react' import { getStats } from '@/lib/db' import { AwesomeIcon } from '@/components/ui/awesome-icon' // Make this page dynamic to avoid pre-rendering during build export const dynamic = 'force-dynamic' export const revalidate = 0 export default function Home() { // Provide fallback stats if database doesn't exist (e.g., during Docker build) let stats: { totalLists: number; totalRepositories: number; totalReadmes: number; lastUpdated: string | null } = { totalLists: 100, totalRepositories: 10000, totalReadmes: 10000, lastUpdated: null } // Try to get real stats from database, fall back to defaults if not available try { stats = getStats() } catch (error) { // Database not available (e.g., during build) - use fallback stats if (process.env.NODE_ENV !== 'production') { console.warn('Database not available, using fallback stats') } } return (
Your gateway to the world's most{' '} curated collections. Lightning-fast search, beautiful interface, and always up-to-date.
{/* CTA Buttons */}Pro tip: Press{' '} ⌘ K {' '}or{' '} Ctrl K {' '}to search from anywhere
Built with cutting-edge technology to deliver the best experience
Powered by SQLite FTS5 for instant full-text search across thousands of repositories
Automated updates every 6 hours via GitHub Actions. Never miss a new awesome list
Faceted filtering by language, stars, topics. Find exactly what you need
Stunning purple/pink/gold theme with smooth animations and responsive design
Install as an app on any device. Works offline with service worker support
Only the best lists from the awesome ecosystem. Quality over quantity
Join thousands of developers exploring the best curated content