An AI-powered Shakespeare sonnet generator and translator that brings the Bard's poetic style into multiple languages.
- Generate Shakespearean-style sonnets on various themes
- Translate sonnets into 20+ languages
- Modern, responsive design
- One-click copy functionality
- Real-time generation and translation
live-demo.mp4
Visit the live application: Shakespearean Made Easy
- Vite.js
- GitHub Models (Azure AI)
- HTML5/CSS3
- JavaScript (ES6+)
- Vercel
- Font Awesome Icons
Art, Beauty, Desire, Friendship, Jealousy, Love, Loss, Mortality, Nature, Poetry, Time
Arabic, Bengali, Chinese (Simplified), Chinese (Traditional), English, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Marathi, Portuguese, Punjabi, Russian, Spanish, Tamil, Telugu, Urdu, Vietnamese
- Install Node.js:
Install Node.js for your operating system. Verify the installation by runningnode -v
andnpm -v
in your terminal.
- Clone the repository:
git clone https://github.com/karenwky/shakespearean-made-easy.git
- Navigate to the project directory:
cd shakespearean-made-easy
- Install dependencies:
npm install
- Create a
.env
file in the root directory and add your GitHub personal access token (PAT) or Azure production key:VITE_GITHUB_TOKEN=your_api_key
- Start the development server:
npm run dev
npm run build
The built files will be in the dist
directory.
Contributions are welcomed! Here are some areas we'd love to see improved:
- Error Handling
- Error message shown in box value text, e.g.,
Too many requests, please try again later.
- Re-enable "GO" button for running request again
- Error message shown in box value text, e.g.,
- Separate CSS file ✅ (PR#2)
- Separate file to maintain theme and translation language selection list
- Dropdowns for selecting foundation models
- Reposition copy buttons to align horizontally with h2, in the upper right corner of the box class
- Auto regenerate GitHub personal access token
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Shakespeare's timeless works for inspiration
- GitHub Models for powering the sonnet generation and translation
- Cursor for AI coding assistant
The application is fully responsive and works on:
- Desktop computers
- Tablets
- Mobile devices