Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ jobs:
with:
go-version: "1.20"

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
args: "--timeout=3m"

- name: Build
run: CGO_ENABLED=1 go build -tags "fts5"

Expand All @@ -30,4 +25,4 @@ jobs:
env:
PANDA_ENV: dev
PANDA_DATA_DIR_PATH: /panda/data
PANDA_DATABSE_NAME: panda.db
PANDA_DATABSE_NAME: panda.db
2 changes: 1 addition & 1 deletion .goreleaser-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ builds:

archives:
- id: panda-archive
format: tar.gz
formats: zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
Expand Down
5 changes: 2 additions & 3 deletions .goreleaser-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ builds:

archives:
- id: panda-archive
format: tar.gz
formats: zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
Expand All @@ -45,7 +45,6 @@ archives:
- LICENSE*

checksum:
name_template: 'checksums.txt'
disable: true

changelog:
Expand All @@ -55,7 +54,7 @@ release:
github:
owner: aavshr
name: panda
draft: true
draft: false
prerelease: auto
mode: append
name_template: "{{.ProjectName}} v{{.Version}}"
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
build:
go build -o panda --tags "fts5"

test:
go test -v -tags "fts5" ./...

run: build
-./panda
rm ./panda
40 changes: 36 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,47 @@ A terminal user interface for chatting with LLMs.
I started this project because I wanted something lightweight that I can run in my terminal to talk with LLMs.
I could not keep up the project with my work and the everchanging landscape of LLMs and their capabilities. I also realized that the terminal is not the right interface for this kind of thing.

However, I had to finish this and get a v0 out (have a bad habit of not being able to move on to a new side-project otherwise). Right now it can only talk to OpenAI's API (you need an OpenAI API Key) and is very basic in features.
However, I had to finish this and get a v0 out. Right now it can only talk to OpenAI's API (you need an OpenAI API Key) and is very basic in features.

![Screenshot](docs/images/screenshot.png)

### Usage
### Installation

#### Download Pre-built Binaries

Download the latest release for your platform from the [releases page](https://github.com/aavshr/panda/releases).

**macOS:**
```bash
# Extract the archive
unzip panda_<version>_Darwin_*.zip

# Remove macOS quarantine attribute (thank you Apple)
xattr -c panda

# Move to your PATH (usually /usr/local/bin but move it wherever you like in the PATH)
sudo mv panda /usr/local/bin/
```

Install with `go install github.com/aavshr/panda@latest` and run with `panda`.
**Linux:**
```bash
# Move to your PATH (usually /usr/local/bin but move it wherever you like in the PATH)
sudo mv panda /usr/local/bin/
```

#### Build from Source

You need to have Go installed (version 1.23 or higher).

```bash
git clone https://github.com/aavshr/panda.git
cd panda
make build
```

### Usage

Clone the repository and build with `make build` if you just want to build it yourself.
Run with `panda` after installation.

**Navigation**

Expand Down
61 changes: 0 additions & 61 deletions internal/ui/model_test.go

This file was deleted.

Loading