Basic Usage • Configuration • Contributing • Alternatives • License
Deu Ruim is a command line interface (CLI) made to help beginners to fix your console commands using LLM.
This project is inspired by The Fuck.
You'll need to have Ollama preinstalled on your machine to run the CLI and the qwen2.5-coder model installed.
To install ollama, run:
curl -fsSL https://ollama.com/install.sh | shNote
If you use Windows or Mac, please, access the Ollama download page directly.
After that, you'll need to pull the qwen2.5-coder model:
ollama run qwen2.5-coderAfter that, you'll need to configure some environment variables in your terminal:
OLLAMA_API_KEY=<YOUR_API_KEY>
OLLAMA_API_URL=<YOUR_API_BASE_URL>
Tip
To generate your public API key, use ollama serve
Simply run:
deu-ruim <command>And wait the magic happens.
deu-ruim sl
Run ls [Y/n]: deu-ruim "git brnch"
Run git branch [Y/n]:Warning
The performance and speed depends on from which model you're using.
I'm working to transform the project model agnostic and bring some life saviors, for example, having to put quotation marks on commands with spaces.
You can follow the changelog in changelog.d directory. I'll create a documentation with changelogs too, to make it easier to follow 😊.
See Contributing session if you want to help the project advance faster.
Thank you for your interest in contributing to the Deu Ruim project!
If you discover a bug, first check the GitHub issues page to see if issues have already been reported.
Please use the "Bug Report" template and provide detailed information about the problem, including steps to reproduce it. Suggesting Features
If you want to suggest a new feature or improvement, first check the GitHub issues page to ensure a similar suggestion hasn't already been made.
Before submitting code changes, check if there are similar pull requests already open. This will prevent duplicate efforts. Please follow these guidelines:
Requirements for Merging a Pull Request
The requirements to accept a pull request are as follows:
- Adhere to project coding standards, formatting, and linting rules. Make sure you check the guidelines for each component.
- Write comprehensive tests and ensure all tests pass.
- Maintain or improve test coverage.
- Generate changelog with towncrier.
Some powerful alternatives with unique features:
-
The Fuck, a powerful tool that corrects errors in previous console commands.
-
Warp, a terminal combined with AI.
This project is licensed under the MIT license.
