Skip to content

Commit 42fe827

Browse files
committed
docs: GoReleaser, GitHub Actions CI, and README
1 parent 97fc023 commit 42fe827

3 files changed

Lines changed: 55 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
release:
10+
runs-on: macos-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-go@v5
14+
with:
15+
go-version: stable
16+
- uses: goreleaser/goreleaser-action@v6
17+
with:
18+
args: release --clean
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2
2+
3+
builds:
4+
- env:
5+
- CGO_ENABLED=0
6+
goos:
7+
- darwin
8+
goarch:
9+
- amd64
10+
- arm64
11+
ldflags:
12+
- -s
13+
- -w
14+
15+
brews:
16+
- repository:
17+
owner: Astro-Han
18+
name: homebrew-tap
19+
homepage: https://github.com/Astro-Han/diffpane
20+
description: Real-time TUI diff viewer for AI coding agents
21+
license: MIT
22+
23+
checksum:
24+
name_template: checksums.txt
25+
26+
release:
27+
github:
28+
owner: Astro-Han
29+
name: diffpane

README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
Real-time TUI diff viewer for AI coding agents.
44

5-
Split your terminal. Left: your AI agent. Right: `diffpane` showing every change as it happens.
6-
7-
## Features
8-
9-
- **Live diff** — watches your git worktree and shows changes in real time
10-
- **Session baseline** — records HEAD at startup, auto-resets on commit
11-
- **Follow mode** — auto-jumps to the latest changed file (on by default)
12-
- **Zero dependencies** — single binary, `brew install` and go
5+
Watch what your AI agent is changing, in real-time, right next to your terminal.
136

147
## Install
158

@@ -26,23 +19,21 @@ cd your-project
2619
diffpane
2720
```
2821

22+
Split your terminal. Left: run your AI agent. Right: `diffpane` shows what changed.
23+
2924
## Keys
3025

3126
| Key | Action |
3227
|-----|--------|
33-
| `j` / `k` | Scroll diff |
34-
| `n` / `p` | Next / previous file |
28+
| `j`/`k` | Scroll diff |
29+
| `n`/`p` | Next/prev file |
3530
| `f` | Toggle follow mode |
3631
| `Tab` | File list |
3732
| `q` | Quit |
3833

3934
## How it works
4035

41-
`diffpane` records your current `git HEAD` when it starts (the "baseline"). It watches for file changes and shows a live unified diff of everything that changed since the baseline. When you `git commit`, the baseline auto-resets so you only see new changes.
42-
43-
## Status
44-
45-
Under development. Not yet functional.
36+
diffpane records your current git HEAD when it starts (the "baseline"). It watches for file changes and shows you a live diff of everything that changed since the baseline. When you `git commit`, the baseline auto-resets so you only see new changes.
4637

4738
## License
4839

0 commit comments

Comments
 (0)