/junior

Python CLI for interacting with local folders and files using AI. Much like 'devin' but for the command-line.

Primary LanguagePythonMIT LicenseMIT


Junior is a command-line tool that provides automated support for working with your current local folder, like code development or document management. This tool can generate code snippets, refactor project structures, generate file analysis and documentation, add methods to an existing class, generate unit tests, create a dockerFile for any project, and much more. Plugins can also be used to extend the functionality. The final intention is to make it as autonomous as posible, much like 'devin', but for the command-line.

Features

  • Code Generation: 'junior' can generate code snippets in multiple languages based on user input.

  • Project Structure Generation: It can generate smart project structures for different types of applications.

  • Code Execution: 'junior' can execute custom actions defined by the user based on input commands. Plugins can be used to execute almost any type of action.

  • Context Awareness: It can understand the context of a project and provide appropriate support.

Usage examples

The following are some examples of how to use 'junior':

  • To generate a README file for a project folder:

    junior "document this project"
  • To generate a README file for a project folder in Japanese:

    junior "document this project in Japanese"
  • To ask a question about a project folder:

    junior "how many lines of code does this project have?"
  • To ask anything about a project folder:

    junior "what's the purpose of the system_helper.py file?"
  • To create a colorful presentation and show it on your browser:

    junior "show me a cheerful presentation about what this project is about within 7 slides"
  • To add unit tests for the react component on your folder:

    junior "create unit tests for my components"
  • Try with other queries or create your own actions!

License

This project is licensed under the MIT License.