Skip to content
Merged
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
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ A lightweight Go web server that displays git diffs from the current directory a

Like `jq`, it is a single tiny binary without dependencies, making it easy to install and use anywhere.

![Screenshot](screenshot.png)

## Installation

### Supported Platforms
Expand All @@ -20,33 +22,33 @@ Download the binary for your platform from the [release page](https://github.com

**For Linux (amd64):**
```bash
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.1/diff-server_v0.0.1_linux_amd64
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.2/diff-server_v0.0.2_linux_amd64
sudo chmod +x /usr/local/bin/diff-server
```

**For Linux (arm64):**
```bash
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.1/diff-server_v0.0.1_linux_arm64
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.2/diff-server_v0.0.2_linux_arm64
sudo chmod +x /usr/local/bin/diff-server
```

**For Linux (386):**
```bash
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.1/diff-server_v0.0.1_linux_386
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.2/diff-server_v0.0.2_linux_386
sudo chmod +x /usr/local/bin/diff-server
```

#### macOS

**For macOS (Apple Silicon/arm64):**
```bash
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.1/diff-server_v0.0.1_darwin_arm64
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.2/diff-server_v0.0.2_darwin_arm64
sudo chmod +x /usr/local/bin/diff-server
```

**For macOS (Intel/amd64):**
```bash
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.1/diff-server_v0.0.1_darwin_amd64
sudo curl -fsL -o /usr/local/bin/diff-server https://github.com/kitproj/diff-server/releases/download/v0.0.2/diff-server_v0.0.2_darwin_amd64
sudo chmod +x /usr/local/bin/diff-server
```

Expand All @@ -67,8 +69,6 @@ cd diff-server
go build -o diff-server .
```

![Screenshot](screenshot.png)

## Usage

### Starting the Server
Expand Down
Loading