Repository navigation
Initial release of dataurl — a CLI tool to convert any file into a Data URL (RFC 2397).
Highlights
- 5-tier MIME type detection (extension map, magic numbers,
filecommand, content inspection, fallback) - 60+ file types supported out of the box
- Single self-contained bash script — no external dependencies
- macOS and Linux compatible
Install
brew tap rckmath/tap && brew install dataurlOr download the script directly:
curl -fsSL https://raw.githubusercontent.com/rckmath/dataurl/main/dataurl -o ~/.local/bin/dataurl
chmod +x ~/.local/bin/dataurl