Skip to main content

A CLI tool to help lazy coders get the work done with AI (commit messages, pull requests ...)

Project description

LazyCodr 🚀

A CLI tool designed to help lazy coders get their work done with AI! LazyCodr automates tasks such as generating pull requests, and more, using our beloved AI models.

YouTube Video Introduction

Features 💡

  • Generate pull request descriptions
  • Automate commit messages (incoming ...)
  • Easy configuration
  • Works with GitHub API
  • Powered by LLMs (for now only OpenAI)

Installation 💻

pip install lazycodr

Requirements 🔑

Before you can use LazyCodr, you'll need to create an OpenAI API key and a GitHub token. Here's how to do both:

OpenAI API Key

  1. Sign up for an account on the OpenAI website if you don't have one already.
  2. Once logged in, go to the API Keys page.
  3. Click on "Create an API key" and copy the generated key.

GitHub Token

  1. Log in to your GitHub account and go to the Personal Access Tokens page.
  2. Click on "Generate new token" in the top right corner.j
  3. Give your token a descriptive name and select the required scopes (for LazyCodr, you'll need repo and user scopes.
  4. Click "Generate token" at the bottom of the page and copy the generated token.

After you have both your OpenAI API key and GitHub token, you can configure LazyCodr by running the following command:

lazycodr config credentials

This command will prompt you to enter your API key and GitHub token, which will be securely stored for future use.

Now you're all set to use LazyCodr! 🚀

Usage 📚

  1. Configure LazyCodr with your OpenAI API key and GitHub token:
lazycodr config credentials
  1. Use LazyCodr to generate a pull request description:
lazycodr pr generate <repo_name> <pr_number>
  1. Use LazyCodr to generate README.md file for a git repo (it will pickup the ignored pattern from the .gitignore if it exists and you can also add additional ones with --ignore option):
lazycodr readme generate <repo_name> --ignore=pattern1 --ignore=pattern2 ...

Roadmap 🗺️

"A lazy programmer is a great programmer"

We're on a mission to make all of us even lazier 😅! There is no clear roadmap, but here are some ideas for LazyCodr's future:

🚀 Commit Message Generation:
Automatically generate meaningful commit messages based on your code changes, so you can save time and focus on coding.

🚀 Codebase Conversations:
Chat with your codebase to get AI-powered recommendations and insights about your code, helping you make informed decisions as you work.

🚀 AI-driven Guidance:
Receive step-by-step guidance from AI on how to write new features or implement specific functionality, making it easier to tackle challenging tasks.

🚀 [DONE] README Generation:
Automatically generate well-structured and informative README files for your projects, ensuring that your documentation is always up to date.

🚀 ... replace yourself entirely so you can take 10 jobs in parallel 🤑🤑🤑

Remember, even though I'm aiming to make you the laziest programmer possible 😜, I still appreciate your help. If you have any ideas, suggestions, or improvements, feel free to contribute and help make LazyCodr even better for your fellow lazy programmers.

Together, we can redefine the art of lazy programming!

Contributing 🤝

Contributions are welcome! Feel free to submit a pull request or open an issue.

License 📄

This project is licensed under the MIT License.

Happy coding! 🎉

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

lazycodr-0.2.3.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

lazycodr-0.2.3-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file lazycodr-0.2.3.tar.gz.

File metadata

  • Download URL: lazycodr-0.2.3.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1016-azure

File hashes

Hashes for lazycodr-0.2.3.tar.gz
Algorithm Hash digest
SHA256 09fb404f134f967335b31e0437cd5e8fbb3a52e8e8a9e51b572cf5b8bb74a6b7
MD5 df89aff67ea79c24357d48437ac463ff
BLAKE2b-256 b431ea0c963a08ac2f040244d3245d7d212d986c8b9644b6b7f64353c5701372

See more details on using hashes here.

File details

Details for the file lazycodr-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: lazycodr-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1016-azure

File hashes

Hashes for lazycodr-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c9656038253d540c37e19a8bb395c484ca4eb32d91de43b9b03f626523537bef
MD5 0c16c1832d8719578ede7610d4403d09
BLAKE2b-256 38b78afa6f56aa18febb09ff0bb22e804a0ad9535b73924586759ef60c86a04e

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