USB ports are everywhere these days, so why not put one in your guitar? This project from PCMag describes how to embed a USB audio interface in your guitar. This digitises your guitar's signal ready for recording on your PC's hard drive.
The project requires the following bits and pieces: an M-Audio Session USB interface, a USB panel jack, a Switchcraft 11A jack, a Switchcraft 12B jack, some aluminium sheet and screws. The total cost of parts is about $80 (not including the guitar).