How w00j00ng/goproj works
This repository is a collection of independent Go command-line tools, not one application. Each tool starts from its own CLI entry point and provides a separate developer workflow: password-hash generation/verification, JWT inspection/signing/verification, local listener inspection, HTTP request inspection, synthetic test-value generation, or time conversion. The graph shows sampled command wiring and documented capabilities. Some implementations—especially the password package and the smaller utilities—were not excerpted, so their internal relationships are intentionally not inferred.
Main entry points: cmd/root.go Bcrypt CLI · cmd/root.go Scrypt CLI · cmd/root.go Query CLI · cmd/root.go JWT commands
Components 32
Password tools
- Bcrypter entry
bcrypter/main.go - Bcrypt CLI
bcrypter/cmd/root.go - Bcrypt verification
bcrypter/cmd/verify.go - Bcrypt clipboard
bcrypter/cmd/clipboard.go - Clipboard fallback
bcrypter/cmd/clipboard_unsupported.go - Bcrypt hashes
- Scrypter entry
scrypter/main.go - Scrypt CLI
scrypter/cmd/root.go - Scrypt verification
scrypter/cmd/verify.go - Scrypt clipboard
scrypter/cmd/clipboard.go - Clipboard fallback
scrypter/cmd/clipboard_unsupported.go - Better Auth scrypt
JWT tool
- JWT entry
jwter/main.go - JWT commands
jwter/cmd/root.go - Decode and verify
jwter/cmd/decode.go - JWT encoding
jwter/cmd/encode.go - Token operations
jwter/token/token.go - Signature and claims
jwter/token/verify.go - Algorithm registry
jwter/token/algorithms.go - HS256
jwter/algorithm/hs256/hs256.go - ES256
jwter/algorithm/es256/es256.go
Port inspection
- Portwho entry
portwho/main.go - Query CLI
portwho/cmd/root.go - Inspection service
portwho/internal/inspect/service.go - Query and results
portwho/internal/inspect/model.go - OS collectors
portwho/internal/platform/provider_linux.go - macOS native collector
portwho/internal/platform/native_darwin.c - Output rendering
portwho/internal/render/render.go
Developer utilities
- HTTP inspector
helloworld/main.go - Synthetic ID values
jumin/main.go - Time conversion
timetool/main.go
Other components
- Developer
Connections 36
- Developer → Bcrypter entry: runs CLI
- Bcrypter entry → Bcrypt CLI: executes
bcrypter/main.go - Developer → Bcrypt CLI: requests hash
- Bcrypt CLI → Bcrypt hashes: generates hashes
- Bcrypt CLI → Bcrypt verification: dispatches verify
- Bcrypt CLI → Bcrypt clipboard: copies optionally
- Bcrypt CLI → Clipboard fallback: uses unsupported fallback
- Developer → Scrypter entry: runs CLI
- Scrypter entry → Scrypt CLI: executes
scrypter/main.go - Developer → Scrypt CLI: requests hash
- Scrypt CLI → Better Auth scrypt: generates hashes
scrypter/cmd/root.go - Scrypt CLI → Scrypt verification: dispatches verify
scrypter/cmd/root.go - Scrypt CLI → Scrypt clipboard: copies optionally
scrypter/cmd/root.go - Scrypt CLI → Clipboard fallback: uses unsupported fallback
- Developer → JWT entry: runs CLI
- JWT entry → JWT commands: executes
jwter/main.go - Developer → JWT commands: chooses command
- JWT commands → Decode and verify: dispatches decode
jwter/cmd/root.go - JWT commands → JWT encoding: dispatches encode
jwter/cmd/root.go - Decode and verify → Token operations: decodes token
jwter/cmd/decode.go - Decode and verify → Signature and claims: verifies claims
jwter/cmd/decode.go - JWT encoding → Token operations: encodes token
jwter/cmd/encode.go - Token operations → Algorithm registry: selects algorithm
jwter/token/algorithms.go - Algorithm registry → HS256: registers
jwter/token/algorithms.go - Algorithm registry → ES256: registers
jwter/token/algorithms.go - Developer → Portwho entry: runs CLI
- Portwho entry → Query CLI: executes
portwho/main.go - Developer → Query CLI: queries listeners
- Query CLI → OS collectors: creates provider
portwho/cmd/root.go - Query CLI → Inspection service: runs query
portwho/cmd/root.go - Query CLI → Output rendering: renders result
portwho/cmd/root.go - Inspection service → Query and results: uses query model
portwho/internal/inspect/service.go - OS collectors → macOS native collector: platform alternative
- Developer → HTTP inspector: inspects requests
- Developer → Synthetic ID values: generates test values
- Developer → Time conversion: converts time