A collection of tools that you would normally reach for a browser for.
Written in Go and leaning heavily on Cobra and the suite of tools from Charm:
go install github.com/jim-at-jibba/dtc@latest
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
The output of this command is automatically copied to the clipboard 📋
Encode and Decode base64 strings in both standard and URL compatible formats
Encode and Decode base64 strings in both standard and URL compatible formats
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
Debug JWT - Validity is not tested!
The output of this command is automatically copied to the clipboard 📋
The output of this command is automatically copied to the clipboard 📋
Example
dtc lorem-ipsum
👤 James Best
- Website: jamesbest.uk
- Twitter: @jimgbest
- Github: @jim-at-jibba
Give a ⭐️ if this project helped you!