jim-at-jibba / dtc

Daily developer tools CLI written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to DevTools CLI πŸ› οΈ

Twitter: jimgbest

A collection of tools that you would normally reach for a browser for.

BASE64 DECODE

Written in Go and leaning heavily on Cobra and the suite of tools from Charm:

πŸ‘· This project is WIP and will have more added to it in the future.

Install

go install github.com/jim-at-jibba/dtc@latest

Commands

UUID

Generate UUID v4

The output of this command is automatically copied to the clipboard πŸ“‹

Example
dtc uuid generate

Takes count flag to generate mulitple UUIDs at a time

dtc uuid generate --count=100

UUID Generate UUID Generate

Base64

The output of this command is automatically copied to the clipboard πŸ“‹

Encode

Encode and Decode base64 strings in both standard and URL compatible formats

Example

Standard

dtc base64 encode

URL Compatible

dtc base64 encode -u

BASE64 ENCODE

Decode

Encode and Decode base64 strings in both standard and URL compatible formats

Example

Standard

dtc base64 decode

URL Compatible

dtc base64 decode -u

BASE64 DECODE

File Share

The output of this command is automatically copied to the clipboard πŸ“‹

Ephemeral file sharing, the link provided will expire, after a given time or when the file is downloaded. Makes use of https://file.io

Note that there's a limit of 100mb on files

Example

Defaults to 14 days expiry

dtc file-share

Pass in an expiry time frame

dtc file-share

# current dir, expires in 3 days
dtc file-share --expiry=3d

# expires in 4 weeks
dtc file-share --expiry=4w

FILE SHARE

JWT Debugger

Debug JWT - Validity is not tested!

The output of this command is automatically copied to the clipboard πŸ“‹

Example
dtc jwt-debugger

JWT DEBUGGER

Lorem Ipsum generator

The output of this command is automatically copied to the clipboard πŸ“‹

Example
dtc lorem-ipsum
## Author

πŸ‘€ James Best

Show your support

Give a ⭐️ if this project helped you!

About

Daily developer tools CLI written in Go

License:Other


Languages

Language:Go 100.0%