Skip to main content

Dev Assistant client

Project description

Dev Assistant

Welcome to the Dev Assistant plugin for ChatGPT.

What is it?

Dev Assistant is a plugin for ChatGPT that assists us developers by executing tasks directly on our clients.

Dev Assistant Client (this repo) is a Python package that is basically the core component of the project. It receives instructions from ChatGPT via Dev Assistant plugin, executes it on any of your clients and send the response back.

Features

The Dev Assistant Local Client is designed to streamline your development process by offering a range of functionalities:

  • File Management: Create, read, update, and delete files. List the contents of a directory. You can manage your files without leaving your conversation with ChatGPT.

  • Git Version Control: Initialize a Git repository, add changes to the staging area, commit changes, and push changes to a remote repository. Get the status of the Git repository. You can manage your Git repositories directly through ChatGPT.

  • Terminal Commands Execution: Execute commands directly in the terminal. You can run any command in your terminal directly from ChatGPT.

Requirements

Installation

  • Create a Dev Assistant account at devassistant.tonet.dev
  • Generate a token at https://devassistant.tonet.dev/user/api-tokens for ChatGPT and save it. You will need it later.
  • Install the local client:
    • Install Python
    • Run pip install dev-assistant-client in your terminal
  • Install the ChatGPT plugin:
    • In the ChatGPT Plugins Store, click on "Install an unverified plugin" at the bottom of the Plugin store dialog window, paste https://devassistant.tonet.dev and click on "Find plugin".
    • ChatGPT will ask you to enter your credentials. Enter the token generated in the second step and click on "Install plugin".
    • Activate the plugin in the list of installed plugins and you are ready to start!

Usage

Once installed, just run the following:

dev-assistant

If the CLI is not already authenticated, it will open a browser window where you will be provided with a token. Copy the token including the pipe, and return to the terminal.

If everything runs well, you will see the Dev Assistant CLI presentation and a exclusive CLIENT ID, like this:

# dev-assistant

    .-----.   Dev Assistant
    | >_< |   v0.1.28
    '-----'   https://devassistant.tonet.dev

31/07/2023 00:43:19     Connecting...
31/07/2023 00:43:20     Connected.      CLIENT ID 654c5jf7-7993-4b44-ae92-ec51t88339cd
...

You can now ask ChatGPT to access your development environment and execute commands on your behalf by passing the CLIENT ID, or just let ChatGPT discover it by itself.

You can stop the client just doing a CRTL+C in the terminal at any time.

Contributing

We welcome contributions! If you have an idea for an improvement or have found a bug, please open an issue. Feel free to fork the repository and submit a pull request if you'd like to contribute code. Please follow the code style and conventions used in the existing codebase.

Development

  • Fork the repository
  • Clone your fork
  • Go to the project folder
  • Install Dev Assistant Client in local mode with pip install -e .
  • Run dev-assistant in your terminal
  • Make your changes
  • Test your changes
  • Commit your changes
  • Push your changes
  • Open a pull request
  • 🎉

License

The Dev Assistant Local Client is open-source software, licensed under the MIT license.

Support

If you encounter any problems or have any questions, don't hesitate to open an issue on GitHub. We're here to help!

Acknowledgements

A big thank you to all contributors and users for your support! We couldn't do it without you.

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dev_assistant_client-0.2.33.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dev_assistant_client-0.2.33-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file dev_assistant_client-0.2.33.tar.gz.

File metadata

  • Download URL: dev_assistant_client-0.2.33.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1014-azure

File hashes

Hashes for dev_assistant_client-0.2.33.tar.gz
Algorithm Hash digest
SHA256 dad28afebe74383b9636c8cbf3755508ddda3345fefb20502ec4b64dce86f160
MD5 b633e52a3bfea877144ac88a600b6870
BLAKE2b-256 100243cce2afd3ed891d375a89f90b6df128c14d638fa2e91d1a8166d6a7bc64

See more details on using hashes here.

File details

Details for the file dev_assistant_client-0.2.33-py3-none-any.whl.

File metadata

File hashes

Hashes for dev_assistant_client-0.2.33-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa4217fc289c1a1dd1b0c43c197459ef50bd9f383831b6de7cb943d4c332b5f
MD5 cddfa11055e1d3576b27df34cb6f4080
BLAKE2b-256 96e9d542f1181fd936aa9f5eea182ef2639f7e741b3d06194c4376fa5ed3686d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page