Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twitchax/augre
An LLM-powered (CodeLlama or OpenAI) local diff code review tool.
https://github.com/twitchax/augre
Last synced: about 2 months ago
JSON representation
An LLM-powered (CodeLlama or OpenAI) local diff code review tool.
- Host: GitHub
- URL: https://github.com/twitchax/augre
- Owner: twitchax
- License: mit
- Created: 2023-09-20T23:52:15.000Z (almost 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T04:36:52.000Z (12 months ago)
- Last Synced: 2024-05-02T02:03:15.355Z (5 months ago)
- Language: Rust
- Size: 43 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![Build and Test](https://github.com/twitchax/augre/actions/workflows/build.yml/badge.svg)](https://github.com/twitchax/augre/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/twitchax/augre/branch/main/graph/badge.svg?token=35MZN0YFZF)](https://codecov.io/gh/twitchax/augre)
[![Version](https://img.shields.io/crates/v/augre.svg)](https://crates.io/crates/augre)
[![Crates.io](https://img.shields.io/crates/d/augre?label=crate)](https://crates.io/crates/augre)
[![GitHub all releases](https://img.shields.io/github/downloads/twitchax/augre/total?label=binary)](https://github.com/twitchax/augre/releases)
[![Rust](https://img.shields.io/badge/rust-nightly-blue.svg?maxAge=3600)](https://github.com/twitchax/augre)
[![License:MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)# augre
An LLM-powered (CodeLlama or OpenAI) local diff code review tool.
## Binary Usage
### Install
Windows:
```powershell
$ iwr https://github.com/twitchax/augre/releases/latest/download/augre_x86_64-pc-windows-gnu.zip
$ Expand-Archive augre_x86_64-pc-windows-gnu.zip -DestinationPath C:\Users\%USERNAME%\AppData\Local\Programs\augre
```Mac OS (Apple Silicon):
```bash
$ curl -LO https://github.com/twitchax/augre/releases/latest/download/augre_aarch64-apple-darwin.zip
$ unzip augre_aarch64-apple-darwin.zip -d /usr/local/bin
$ chmod a+x /usr/local/bin/augre
```Linux:
```bash
$ curl -LO https://github.com/twitchax/augre/releases/latest/download/augre_x86_64-unknown-linux-gnu.zip
$ unzip augre_x86_64-unknown-linux-gnu.zip -d /usr/local/bin
$ chmod a+x /usr/local/bin/augre
```Cargo:
```bash
$ cargo install augre
```### Help Docs
```bash
$ augre -h
Usage: augre [OPTIONS] [COMMAND]Commands:
review Performs a code review of the current `git diff HEAD^`
ask Gives a response to the specified prompt
stop Stop all of the background services
help Print this message or the help of the given subcommand(s)Options:
-d, --data-path The path to the data directory [default: .augre]
-m, --mode The default operation mode [default: openai]
-y, --yes Whether to skip the confirmation prompt
-h, --help Print help
-V, --version Print version
```## Example Config
Save config as `.augre/config.toml` in the directory that needs to be reviewed
```toml
mode = "LocalGpu"
model_url = "https://huggingface.co/TheBloke/CodeLlama-13B-Instruct-GGML/resolve/main/codellama-13b-instruct.ggmlv3.Q3_K_M.bin"
cria_port = 3000
```## License
MIT