This project is a web application that leverages the power of vanilla JavaScript, HTML, and CSS to create an intuitive and user-friendly interface. The primary function of the app is to translate user input into English, French, and Spanish.
The application utilizes GPT 3.5 Turbo, making calls to Language Models (LLMs) over Portkey. This ensures efficient and accurate translations. Additionally, the project uses Vite to substitute environment variables and to avoid Cross-Origin Resource Sharing (CORS) issues by using the Vite server proxy.
To use the application, follow the steps below:
- Clone the repository to your local machine.
- Install the necessary dependencies by running
npm install
orbun install
- Start the Vite server by running
npm run dev
orbun dev
- Open your browser and navigate to
http://localhost:5173
. - Enter your text in the input field and select the language you want to translate to.
- Click the 'Translate' button to get your translation.
We welcome contributions to this project! If you're interested in improving the UI or adding new features, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature_branch
). - Make your changes in this branch.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature_branch
). - Create a new Pull Request.
Before contributing, please ensure your code adheres to the project's coding standards and conventions. If you have any questions or need further clarification, feel free to open an issue.
This project is licensed under the terms of the MIT license. This means you are free to use, modify, and distribute the project as you see fit (subject to the terms outlined in the license).
For more information, please refer to the LICENSE file in the project root.
Thank you for your interest in our project! We look forward to seeing your contributions.