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
14 changes: 0 additions & 14 deletions .github/dependabot.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/automerge.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: release
on:
push:
tags:
- 'v*'
- "v*"

permissions:
contents: write
packages: write

jobs:
release:
uses: ivoronin/github-workflows/.github/workflows/release.yml@main
uses: ivoronin/github-workflows/.github/workflows/release.yml@a56926c483d814dd0ab9543491d07ac64fd49b2f # main
with:
language: go
language: zig
brew: true
secrets: inherit
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
test:
uses: ivoronin/github-workflows/.github/workflows/test.yml@main
uses: ivoronin/github-workflows/.github/workflows/test.yml@a56926c483d814dd0ab9543491d07ac64fd49b2f # main
with:
language: go
language: zig
51 changes: 5 additions & 46 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,48 +1,7 @@
# Binaries
bin/
.zig-cache/
zig-out/
dist/
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary
*.test

# Coverage
*.out
coverage.html

# IDE / AI
.idea/
.vscode/
zig-pkg/
/release/
.claude/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Go
vendor/

# wch recordings
*.wch.jsonl

# Python
.venv/
__pycache__/
*.pyc
*.pyo
.ruff_cache/
*.egg-info/

# Node
node_modules/

# Docs (keep only README)
*.md
!README.md
.wayfinder/
20 changes: 0 additions & 20 deletions .golangci.yml

This file was deleted.

55 changes: 11 additions & 44 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,16 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2

before:
hooks:
- go mod tidy

builds:
- main: ./cmd/{{ .ProjectName }}
binary: "{{ .ProjectName }}"
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X main.version={{ .Version }}
- builder: zig
binary: wch
flags:
- -Doptimize=ReleaseSafe
- "-Dversion={{ .Version }}"
targets:
- x86_64-linux
- aarch64-linux
- x86_64-macos
- aarch64-macos

archives:
- formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE
- README.md

checksum:
name_template: checksums.txt

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- '^chore:'

snapshot:
version_template: "{{ incpatch .Version }}-next"
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

35 changes: 35 additions & 0 deletions CONTEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Watch TUI

`wch` repeatedly runs one command and keeps recent output available in a terminal interface.

## Language

**Run**:
One execution attempt of the watched command, with its completion time and captured output.
_Avoid_: Sample, result

**Output**:
The normalized, display-ready form of one run.
_Avoid_: Picture, pane content

**History**:
The retained sequence of distinct runs, ordered from oldest to newest.
_Avoid_: Log, archive

**History cursor**:
A stable selection that can be resolved while its run remains in history.
_Avoid_: Anchor, index

**Live mode**:
The mode that follows the newest run.

**History mode**:
The mode that shows one selected run instead of following the newest run.

**Viewport**:
The scrollable visible region of output.
_Avoid_: Pane, picture

**Status bar**:
The bottom row that reports mode, run time, history position, and available keys.
_Avoid_: Dock, footer
Loading
Loading