ffff
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
index.ts
https://hard--cdf4f6f23f6811f0a5a376b3cceeab13.web.val.run
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.
- 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
backend/index.ts
- Main Hono server with API endpointsfrontend/index.html
- Main HTML templatefrontend/index.tsx
- React frontend applicationfrontend/style.css
- Custom styles and animationsshared/types.ts
- Shared TypeScript interfaces
- Enter a theme, mood, or topic for your poem
- Click "Generate Poem" to create a unique poem
- Enjoy the poem displayed over a subtle abstract background
- Generate new poems with different themes
OPENAI_API_KEY
- Required for poem generation