Description: Jemma is a command-line tool that provides code assistance using the Google Gemini API. It's free and easy to use.
Installation:
pip install .Configuration:
Before using Jemma, you need to configure your Google Gemini API key:
jemma-configure You will be prompted to enter your API key. This key should be stored in the ~/.jemma/config file. Alternatively, you can set the GEMINI_API_KEY environment variable.
Usage:
Jemma offers two main functionalities:
-
Interactive Code Session (
jemma -s): Start an interactive coding session where you can ask questions and receive code suggestions.jemma -s
-
Codebase Explanation (
jemma -e): Get a detailed explanation of your current codebase, including frameworks, languages, critical logic, and potential issues.jemma -e README.md
(Replace
README.mdwith your desired output file name).
Note: The .current_chat.txt file stores the current chat history. This file is used to maintain context during an interactive session.
-
Fix configuration and improve the use of the configuration file
-
Fix edit with line enumeration
-
Add support for multiple models (Gemini Pro, etc.)
-
Add support for non Gemini models
-
Implement configuration via command-line arguments
-
Create command for starting new projects
-
Improve error handling and logging
-
Add unit tests
-
MIT license
