Twitter_auth-with-couchdb is a project mainly written in Ruby, it's free.
Twitter Auth, CouchDB flavor
TwitterAuth is an awesome gem written by mbleigh, which you can check out here.
CouchRest is an awesome gem, which you can check out here
This was a proof of concept for using them together. Really very little needed to be changed.