How isixe/metathief works
Project type and purpose
• MetaThief is a full-stack, server-rendered web application built with Next.js 13 (app directory).
• Its purpose is to let users enter a URL, fetch that page’s metadata (meta tags, favicons, etc.), and display results via a simple API and UI.
File structure
• app/ → Next.js 13 routes and pages (app/page.tsx, app/api/meta/route.ts)
• hooks/ → custom React hooks (use-mobile, use-toast)
• lib/ → utility functions for parsing/fetching (utils.ts)
• public/ → static assets (images, favicon)
• styles/ + tailwind.config.ts → global styling setup
• config files: next.config.mjs, tsconfig.json, ESLint/Prettier
README for additional insights
• Features: extract meta tags, fetch favicons, simple API.
• Dev commands: pnpm run dev → starts Next.js on port 3000.
Detail
• Shared modules: lib/utils.ts, hooks/use-toast
• Configuration boundary: next.config.mjs, tailwind.config.ts