2 releases
0.6.1 | Sep 15, 2023 |
---|---|
0.6.0 | Sep 15, 2023 |
#2561 in Command line utilities
67KB
1.5K
SLoC
medea
medea is a command-line developers toolbox, written in Rust. Similar to projects like CyberChef and DevToys, it offers tools for quick text generation and processing, like creating hashes and parsing jwts. Being a command line application, medea is easy to install and offers extension through pipe chaining and bash scripting.
Features
- Text Generation
- UUID generation
- Random data generation
- Text Processing
- Hash generation
- Timestamp conversion
- Encoding and Decoding
- Base conversion
- JWT parsing and creation
Installation
Option 1: Download binary
You can grab the binary from the latest release: https://github.com/haondt/medea/releases
Option 2: Install with Cargo
cargo install haondt-medea
Option 3: Install manually
TODO: Installation script
Usage
The basic usage is medea [command] <options>
. See medea help
or medea help [command]
for more details. Here are some example usages:
# generate an HS256 hash
medea hash -a sha256 --hmac 'my secret' 'my data'
# generate some uuids
medea uuid -u 5
# convert timestamps
medea ts --to iso -z America/Los_Angeles 1678742400
# generate random data
medea rnd -t hex 16
Tests
Run tests with
cargo test
License
See LICENSE
Dependencies
~7–19MB
~207K SLoC