This project is being discontinued. Use at your own risk! 😉
Datasink is an implementation of JEP-0136 (Message Archiving) written in perl (what else?).
JEP-0136 defines a storage protocol and common disk format for archiving of messages.
Datasink uses MySQL as storage backend. It’s been written mainly for having a chat history with JWChat as it can’t save to a local disk itself due to security restrictions (I guess it makes sense for a web client to store anything at the server side anyway) but can be used with any other client too (well, actually I don’t think there is any supporting this).
Important Note: This implementation is not in sync with the JEP at the moment. I’m trying to fix this for both, datasink and jwchat ASAP.