Skip to content

Commit

Permalink
feat: make ktea releasable
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-grgt committed Jan 23, 2025
1 parent 9c0b6e3 commit fd7059a
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
24 changes: 24 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ builds:
tags: prd
goos:
- darwin
- linux
goarch:
- arm64
- arm
Expand All @@ -25,12 +26,35 @@ brews:
- name: ktea
url_template: "https://github.com/jonas-grgt/ktea/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://github.com/jonas-grgt/ktea
description: Kafka Terminal UI
commit_author:
name: jonas-grgt
email: jonas.grgt@gmail.com
repository:
owner: jonas-grgt
name: ktea-brew
branch: main
token: "{{ .Env.KTEA_HOMEBREW_TOKEN }}"

nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
maintainer: Jonas Geiregat
homepage: https://github.com/jonas-grgt/ktea
description: Kafka Terminal UI
license: "Apache-2.0"
formats:
- deb
- rpm
- apk
- archlinux
bindir: /usr/bin
section: utils
contents:
- src: ./LICENSE
dst: /usr/share/doc/k9s/copyright
file_info:
mode: 0644

changelog:
sort: asc
Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<p>
<a href="https://github.com/jonas-grgt/ktea/releases"><img src="https://img.shields.io/github/release/jonas-grgt/ktea.svg" alt="Latest Release"></a>
<a href="https://github.com/jonas-grgt/ktea/actions"><img src="https://github.com/jonas-grgt/ktea/actions/workflows/ci.yml/badge.svg?branch=main" alt="Build Status"></a>
</p>

# ktea - kafka terminal client

ktea is a tool designed to simplify and accelerate interactions with Kafka clusters.

![demo.gif](demo.gif)

## Installation
### Mac
```sh
brew tap jonas-grgt/ktea
brew install ktea
```

### Linux
Binaries available at the release page.

### Windows
Coming soon
Binary file added demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions ktea.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Output demo.gif

# Set up a 1200x600 terminal with 46px font.
Set FontSize 12
Set Width 1200
Set Height 600
Set Padding 5

# Type a command in the terminal.
Type "ktea"
Enter

Wait+Screen /Topics/
Sleep 2s

# search
Type "/"
Type "shipping"
Sleep 0.5s
Enter

# open consumption page
Sleep 2s
Enter
Sleep 0.2s
Enter
Sleep 0.2s
Enter
Sleep 0.2s
Enter
Sleep 2.0s

# view record
Enter
Sleep 1s

# switch to headers
Right
Sleep 0.5s
Down
Sleep 0.5s
Down

Sleep 5s

0 comments on commit fd7059a

Please sign in to comment.