Instead of telling you how to run your server, check out this project blow. I've personally not used it on a server, but I do use it on a linux thin-client I've been prototyping.
http://code.google.com/p/google-docs-fs
Not sure how extensible you mean by 'working'
edit: factz check
i remember I saw a script that synchronized Google drive files with a local folder. I'm not sure where it's at online, but if you Google it you can probably fine it. I also see a program "insync" for Ubuntu. You could maybe see if there's a port for other distros.
-edit- Found it Give that link a look.