Skip to content

lukeskywalker22/Codementator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codementator

Codementator is a helpful AI assistant to assist you while you code, either with friends or solo. The AI helps you add important comments to aid other collaborators in understanding your incomprehensible code. It can also be used to explain the code indepthly.

Website: https://codementator.streamlit.app/Code-Generator

To run the code:

  1. In the same folder, add a text file with your OpenAI API Key (OPENAI_API_KEY="sk-1234..") and name it env.txt.
  2. Run the file and then type streamlit run [file_name].py in terminal.

or you can access it at https://codementator.streamlit.app/Code-Generator

Utilising it:

Code Commentator

Normal mode vs Advanced mode:

image

Copy and paste your code into the textbox, and select a coding language, and choose whether to get the AI to explain or comment your code.

Advanced mode allows you to tweak the temperature and the frequency of comments appearing in the code (Add to every line, add comments, and remove comments).

image

Code Generator

The code generator allows you to generate code in whatever language you'd like.

image

Code Insulter Feedback:

:)

How it works:

Our code commentator makes use LangChain to access GPT-3.5 to indepthly explain and annotate code.

About

An app that uses AI to add comments to your code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages