Identi.ca is pretty much an distributed implementation of Twitter and micro-blogging. It's written in PHP, is open source, is OpenID-enabled, and runs the Laconica software.