The Moon is a Harsh Mistress by Robert A. Heinlein
On Luna - an open penal colony of the twenty-first century - a revolution is being plotted. The conspirators are a strange assortment: an engaging jack-of-all-trades, his luscious blonde girlfriend, and a lonely talking computer. Their aim - the overthrow of the hated Authority. Everything goes well until...