Poem Generator with Abstract Art

A beautiful web application that generates poems with subtle abstract art backgrounds. The app uses AI to create personalized poems based on user prompts, displayed over gentle, non-distracting abstract backgrounds.

Features

  • AI-powered poem generation using OpenAI
  • Subtle abstract art backgrounds that complement the text
  • Responsive design with elegant typography
  • Multiple poem styles and themes
  • Clean, minimalist interface

Structure

  • backend/index.ts - Main Hono server with API endpoints
  • frontend/index.html - Main HTML template
  • frontend/index.tsx - React frontend application
  • frontend/style.css - Custom styles and animations
  • shared/types.ts - Shared TypeScript interfaces

Usage

  1. Enter a theme, mood, or topic for your poem
  2. Click "Generate Poem" to create a unique poem
  3. Enjoy the poem displayed over a subtle abstract background
  4. Generate new poems with different themes

Environment Variables

  • OPENAI_API_KEY - Required for poem generation