dtool is a command line tool collection to assist development:
- hex / UTF-8 string conversion
- timestamp / date conversion
- number 2/8/10/16 conversion
- hex / base58 conversion
- hex / base58check conversion
- hex / base64 conversion
- url encode / decode
- number codec
- hash (MD5, SHA-1, SHA-2, SHA-3, RIPEMD-160)
- hex / binary conversion
- UTF-8 string / unicode conversion
- HTML entity encode / decode
- regex match
New features
- HTML entity encode / decode
- regex match
Example
UTF-8 string to hex:
dtool s2h abc
0x616263
HTML entity encode:
dtool he <b>
<b>
Installation
cargo install dtool
Involvement
BTW, I’m planning to submit the tool to homebrew core which asks for 75+ stars. I’d appriciate it if you star the github project: GitHub - guoxbin/dtool: A command-line tool collection to assist development written in RUST