jaywete

module
v0.0.0-...-21f3eac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2026 License: MIT

README

Jaywete

A small CLI that decodes JWT header and payload data in a REPL.

Install with Go

Install the jwt binary into your $GOBIN (or $GOPATH/bin) and run it from your PATH.

go install codeberg.org/maveonair/jaywete/cmd/jwt@latest
jwt

Build from source

git clone https://codeberg.org/maveonair/jaywete.git
cd jaywete
go build ./cmd/jwt

This produces a jwt binary in the repo root, which you can run directly:

./jwt

Run from source

go run ./cmd/jwt

Usage

Start the REPL and paste a JWT token. Use exit or quit to leave.

jwt> eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.signature
Header:
{
  "alg": "none",
  "typ": "JWT"
}

Payload:
{
  "iat": 1516239022,
  "name": "John Doe",
  "sub": "1234567890"
}

Help

jwt --help

License

MIT. See LICENSE.

Directories

Path Synopsis
cmd
jwt command
internal
jwtdecode
Package jwtdecode provides JWT decoding and JSON formatting helpers for the CLI.
Package jwtdecode provides JWT decoding and JSON formatting helpers for the CLI.
output
Package output provides CLI formatting helpers and help text.
Package output provides CLI formatting helpers and help text.
repl
Package repl implements the interactive JWT decoding loop.
Package repl implements the interactive JWT decoding loop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL