Skip to content

Commit 7d59696

Browse files
committed
brew bucket config
0 parents  commit 7d59696

File tree

4 files changed

+82
-0
lines changed

4 files changed

+82
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
test:
5+
strategy:
6+
matrix:
7+
runs-on: ["macOS-latest", "ubuntu-latest"]
8+
9+
runs-on: ${{ matrix.runs-on }}
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
14+
- name: Install tools
15+
run: |
16+
brew install --build-bottle --verbose Formula/jwtui.rb && jwtui -h

Formula/jwtui.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Documentation: https://docs.brew.sh/Formula-Cookbook
2+
# https://rubydoc.brew.sh/Formula
3+
class jwtui < Formula
4+
desc "A Terminal UI for decoding/encoding JSON Web Tokens"
5+
homepage "https://github.com/jwt-rs/jwt-ui"
6+
if OS.mac?
7+
url "https://github.com/jwt-rs/jwt-ui/releases/download/0.0.1/jwtui-macos.tar.gz"
8+
sha256 "$hash_mac"
9+
else
10+
url "https://github.com/jwt-rs/jwt-ui/releases/download/0.0.1/jwtui-linux.tar.gz"
11+
sha256 "$hash_linux"
12+
end
13+
version "0.0.1"
14+
license "MIT"
15+
16+
def install
17+
bin.install "jwtui"
18+
ohai "You're done! Run with \"jwtui\""
19+
ohai "For runtime flags, see \"jwtui --help\""
20+
end
21+
end

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Deepu K Sasidharan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# JWT UI - A Terminal UI for decoding/encoding JSON Web Tokens
2+
3+
```
4+
____.__ _____________ ____ ___.___
5+
| / \ / \__ ___/ | | \ |
6+
| \ \/\/ / | | ______ | | / |
7+
/\__| |\ / | | /_____/ | | /| |
8+
\________| \__/\ / |____| |______/ |___|
9+
\/
10+
```
11+
12+
**This repo holds Homebrew Tap and Formula for [JWT UI](https://github.com/jwt-rs/jwt-ui)**
13+
14+
# Install with
15+
16+
```
17+
brew tap jwt-rs/jwt-ui
18+
brew install jwt-ui
19+
20+
# If you need to be more specific, use:
21+
brew install jwt-rs/jwt-ui/jwt-ui
22+
```
23+
24+
Visit [https://github.com/jwt-rs/jwt-ui](https://github.com/jwt-rs/jwt-ui) for more details

0 commit comments

Comments
 (0)