GPT‑4o Language Translator

GPT‑4o Language Translator

GPT‑4o Language Translator is an open‑source web application built with Next.js and TypeScript. It provides a sleek interface for translating text using OpenAI’s new GPT‑4o model. The app includes a user-friendly frontend styled with Tailwind CSS and Radix UI components, and handles backend translation via the OpenAI SDK. It’s built for modularity and performance, with strict typing, reusable UI components, and efficient styling workflows

Key Features

  • Translates text using OpenAI’s GPT‑4o model via the @ai‑sdk/openai package
  • Next.js full‑stack architecture with TypeScript
  • Elegant UI built with Tailwind CSS and Radix UI
  • Modular, reusable component structure (Button, Card, Input, Select, Textarea)
  • Strict code and linting standards using ESLint and Next.js best practices
  • Configurable environment variables for API key and optional Redis (Upstash)
  • Lightweight and performant; optimized CSS via PostCSS and Tailwind