This commit is contained in:
mike
2025-12-11 01:21:46 +01:00
parent ac343050a8
commit 43a408d962
10 changed files with 108 additions and 68 deletions

View File

@@ -7,13 +7,13 @@ Command-line completion powered by local LLMs. Press `Tab` twice and get intelli
### One-Line Install (Recommended)
```bash
curl -sSL https://git.appmodel.nl/Tour/finish/raw/branch/main/docs/install.sh | bash
curl -sSL https://git.appmodel.nl/tour/finish/raw/branch/main/docs/install.sh | bash
```
### Manual Installation
```bash
git clone https://git.appmodel.nl/Tour/finish.git finish
git clone https://git.appmodel.nl/tour/finish.git finish
cd finish
./finish.sh install
source ~/.bashrc
@@ -59,7 +59,7 @@ finish config
Change the endpoint or model:
```bash
finish config set endpoint http://192.168.1.100:1234/v1/chat/completions
finish config set endpoint http://plato.lan:1234/v1/chat/completions
finish config set model your-model-name
```
@@ -100,7 +100,7 @@ finish command --dry-run "your command"
The fastest way to get started:
```bash
curl -sSL https://git.appmodel.nl/Tour/finish/raw/branch/main/docs/install.sh | bash
curl -sSL https://git.appmodel.nl/tour/finish/raw/branch/main/docs/install.sh | bash
source ~/.bashrc # or ~/.zshrc for zsh
finish model
```
@@ -118,7 +118,7 @@ source ~/.bashrc
#### APT (Debian/Ubuntu)
Download the `.deb` package from [releases](https://git.appmodel.nl/Tour/finish/releases):
Download the `.deb` package from [releases](https://git.appmodel.nl/tour/finish/releases):
```bash
sudo dpkg -i finish_*.deb
@@ -153,7 +153,7 @@ finish model # Configure your LLM endpoint
### From Source
```bash
git clone https://git.appmodel.nl/Tour/finish.git finish
git clone https://git.appmodel.nl/tour/finish.git finish
cd finish
chmod +x finish.sh
sudo ln -s $PWD/finish.sh /usr/local/bin/finish
@@ -210,7 +210,7 @@ Add custom providers by editing `finish.sh` and adding entries to `_finish_model
Clone and link for development:
```bash
git clone https://git.appmodel.nl/Tour/finish.git finish
git clone https://git.appmodel.nl/tour/finish.git finish
cd finish
ln -s $PWD/finish.sh $HOME/.local/bin/finish
finish install
@@ -284,7 +284,7 @@ After creating a release, update the Homebrew formula:
1. Calculate SHA256 of the release tarball:
```bash
curl -sL https://git.appmodel.nl/Tour/finish/archive/v0.5.0.tar.gz | sha256sum
curl -sL https://git.appmodel.nl/tour/finish/archive/v0.5.0.tar.gz | sha256sum
```
2. Update `homebrew/finish.rb` with the new SHA256 and version