You can find the complete PirateBox source code on our PirateBox-Dev GitHub page. See below for more details.