What I'm thinking now is to implement a really simple cut down CMS which offers things like voting/commenting/etc. This would supply a good framework with search facilities/user management/etc out of the box.