There is a very nice online service called texercises where you can collect, tag and search exercise problems written with LaTeX and then combine them easily to a custom exercise sheet. Since I often have to work offline I want something a similar solution which runs completely on my computer (I don't need the sharing aspect of texercises, it's just for my private collections).
So is there something similar for offline use? How do you solve the problem of organizing, collecting, tagging, searching and combining exercise problems for yourself?
Edit There is also the following german site http://smart.uni-bayreuth.de/ However you cannot host your own exercises and you cannot use it offline as well.