This is not a copy of delicious, but I wrote this yesterday in a hurry. http://selficious.appspot.com - It imported my bookmarks and I use it to manage them and my future ones (add, edit, delete). The code will of course be opensource. I just need to clean it a lil' bit :)
All right, the code is online. I'm not really proud of it, but it seems to work just fine. There are tons of features to add/fix and I hope that you'll give a hand: https://github.com/initpy/selficious