dataurlify/README.md
2025-06-25 21:10:14 -07:00

904 B

dataurlify

Convert files to data: URLs

Build Status

Demonstration Video

Examples

It's as easy as

dataurlify file.txt

The data url will be stored in file.txt.data.txt


To convert multiple files

dataurlify image1.png image2.jpg

The data urls will be stored in image1.png.data.txt and image2.jpg.data.txt


To bulk convert files

Note

You may need a proper shell (like bash) for bulk conversion to properly work

dataurlify *.png

The data urls will be stored in *.png.data.txt where *.png is all the png files the shell can find in the directory.


To bulk convert files (with subfolder scanning)

Not implemented at the moment, might implement the -r argument