Inspiration

In the ever-evolving field of Computer Science, both students and professionals often grapple with the complexities of coding languages, frequently requiring references and explanations for different pieces of code. We, as software engineers, have often faced similar dilemmas, yearning for a centralized hub where we could exchange code snippets, understand their workings, and even translate them into different languages. This is the motivation that led to the creation of CodeGenie - a comprehensive platform that caters to the needs of every coder.

What it does

CodeGenie is a web application designed to facilitate code sharing, understanding, translation, and generation. It serves as a one-stop solution for Computer Science students, software developers, and anyone who codes. Its unique features include:

  1. Code Sharing and Discussion: Users can exchange and discuss code snippets across numerous languages and frameworks, fostering an environment of learning and collaboration.
  2. Auto Code Generation: With a simple, one-line prompt, CodeGenie can generate precise code snippets, saving time and effort.
  3. Code Explanation: Whenever users encounter a piece of code they don't understand, CodeGenie's 'Explain Code' feature can provide a detailed explanation of the code's function.
  4. Code Translation: Users can convert code written in one language to another using the 'Translate Code' feature, making it easy to understand code snippets in unfamiliar languages.

How I built it

CodeGenie is built using HTML, CSS, and JavaScript for the frontend, Django for the backend, and SQLite as the database. I integrated the GPT-3 model from OpenAI, fine-tuning it to develop the various features. For a smooth and aesthetic coding experience, I incorporated CodeMirror's code editor into our web application.

Challenges I ran into

  1. Building a Question and Answer platform so users can interact with others
  2. Designing a modern, user-friendly interface
  3. Many small errors with Django

Accomplishments that I'm proud of

  1. Highly accurate code translation and generation
  2. Integrating the GPT3-API into my website
  3. Making an easy to use UI/UX

What I learned

I learned how to use Django to make a user-friendly website that solves many issues that beginning commuter programmers face.

What's next for CodeGenie

In the future, I plan to incorporate user profile viewing and image uploads. I will also add a chatroom where users can call each other and discuss topics.

Share this project:

Updates