I'm running an open source project called BotQueue which allows you to control your 3D printer or CNC machine through the internet. I've found that a Raspberry Pi makes a great client/controller for connecting each machine. I'm using Raspbian as the OS and it is also rocking really hard.
Unfortunately, the installation and preparation of a vanilla Raspbian image takes literally hours with all the updates, installation, and compilation that need to happen to get all the right things working. I'd love to be able to make it easier for people to install my software on the Pi, and the easiest way I could think of is to include an ISO image they could just burn to their sd card that contains all the software pre-installed and ready to go.
I definitely don't want to roll my own distro, and I really want to continue using Raspbian. What I'm wondering is if there is a way to take a currently functioning sd card install and sanitize it to create an image that can be offered for download. It seems pretty obvious that I would use dd to create the image in the same way it is used to write the image, but how do I go about sanitizing the dozens (hundreds?) of files that are created during the use of a distro. Things like keys, configurations, cache files, etc. should all be removed.