https://piglatintranslator.pro/
A modern, embeddable Pig Latin translation tool built with React and TypeScript. This application provides a sleek interface for translating between English and Pig Latin, with support for embedding the translator in other websites.
- 🔄 Bi-directional translation between English and Pig Latin
- 💅 Modern, responsive UI with beautiful gradients
- 🎯 Embeddable widget for third-party websites
- ⚡ Built with Vite for lightning-fast development
- 🎨 Styled with Tailwind CSS
- 📱 Mobile-friendly design
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/ChannelerH/pig-latin-translator.git
cd pig-latin-translator- Install dependencies:
npm install- Start the development server:
npm run devThe application will be available at http://localhost:5173
To create a production build:
npm run buildThe built files will be available in the dist directory.
You can embed the Pig Latin Translator in your website using an iframe. Visit the /embed-instructions page in the application for detailed instructions and code snippets.
Basic embedding example:
<iframe
src="https://piglatintranslator.pro/embed"
width="100%"
height="400"
frameborder="0"
style="border-radius: 12px; overflow: hidden;"
></iframe>src/
├── components/ # Reusable React components
│ └── EmbeddableTranslator.tsx
├── pages/ # Page components
│ ├── Embed.tsx
│ └── EmbedInstructions.tsx
├── utils/ # Utility functions
│ └── translator.ts # Translation logic
├── App.tsx # Main application component
└── main.tsx # Application entry point
- React 18
- TypeScript
- Vite
- Tailwind CSS
- React Router DOM
- Lucide React (for icons)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.