Inspiration

Large language models have been good at coding, but knowing the relationship between the original and refactored code is essential for code refactoring. So I wanted to build an app that can utilize the power of Gemini AI to refactor code and show the relationship clearly.

What it does

  • Convert code between various programming languages and natural languages
  • Utilizes Google's Generative AI (Gemini API) for accurate translations
  • Built with Tauri for a lightweight, cross-platform desktop application
  • Vanilla TypeScript for improved performance and type safety
  • Integrated Ace Editor for a rich code editing experience
  • Smooth loading indicators with NProgress
  • Light and Dark Themes

How we built it

Challenges we ran into

  • The prompt for Gemini AI needs to be very clear so that it can generate code correctly in different cases.
  • Tauri is a fairly new framework, so development with it requires a lot of effort.

Accomplishments that we're proud of

  • The app is very tiny in size and fast as a web-based app, thanks to Tauri and the use of vanilla TypeScript.
  • The GUI is simple and very easy-to-use, users can understand it on the first look.
  • The app utilizes the flexibility of Gemini AI by giving users the option to choose custom source and target languages and give additional context information while keeping the ease of use.

What we learned

  • Tauri framework with Rust language.
  • GitHub project maintenance and binary distribution.

What's next for Code Converter

  • Better prompt for Gemini AI
  • Support for mobile platforms

Built With

Share this project:

Updates