Right. As much as I love Calibre, I don't think it's the right tool for this particular job. I'm afraid that your best bet is to make your own application.
If you have more experience in Python than, say, PHP, you could start by looking at CherryPy, which is the Python-based webserver framework I use for small to medium custom projects. There's others, of course.
|