Skip to content

aayushai/TranspilerX

Repository files navigation

TranspilerX

Live Link

TranspilerX is a powerful web application that translates code between programming languages using the Gemini API and ReactJS. It offers an intuitive interface with syntax highlighting, simplifying the code transformation process for developers working across different languages.

Features

  • Multi-Language Support: Convert code between popular programming languages such as JavaScript, Python, Java, C++ etc.
  • Real-Time Conversion: Experience instant code conversion powered by the Gemini API.
  • Intuitive Interface: A user-friendly interface built with ReactJS.
  • Syntax Highlighting: Benefit from syntax highlighting in both input and output editors.
  • Responsive Design: Access a responsive design that enhances usability across devices.

Tech Stack

  • Frontend: ReactJS
  • API: Gemini API
  • Styling: Tailwind CSS
  • Libraries: Monaco Code Editor

Installation

To run the project locally, follow these steps:

  1. Clone the repo:

    git clone https://github.com/yourusername/TranspilerX.git
  2. Navigate to the project directory:

    cd TranspilerX
  3. Install dependencies:

    npm i
  4. Create a .env file in the root directory and add your API key:

    VITE_API_KEY=your_api_key_here
    //Generate your GEMINI API KEY from Google AI Studio website.
  5. Run the app locally:

    npm run dev

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements