Skip to content

v1.0.0

Latest

Choose a tag to compare

@rckmath rckmath released this 12 Feb 03:20

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, file command, 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 dataurl

Or download the script directly:

curl -fsSL https://raw.githubusercontent.com/rckmath/dataurl/main/dataurl -o ~/.local/bin/dataurl
chmod +x ~/.local/bin/dataurl