dataurl

Parse and generate data URLs from files and text

cargomacoslinuxwindows
Try with needOr install directly
Source

About

CLI tool and Rust crate for parsing and generating data URLs

Commands

dataurl

Examples

Convert a file to a data URL$ dataurl /path/to/image.png
Create a data URL from text with MIME type$ dataurl -t text/plain -c 'Hello World'
Decode a data URL and output its content$ dataurl -d 'data:text/plain;base64,SGVsbG8gV29ybGQ='