After looking inside the case of a travel router I was using as a PirateBox, I was shocked just how much space wasn't being used up. This got me thinking about how I could make it even smaller and the Pocket PirateBox is the result.

This little guide explains how to make a self powered credit card sized PirateBox for anonymous offline file-sharing and communications. All the parts are cheap and easy to find.

You could easily modify this to run LibraryBox (which has Mesh Networking built in) or perhaps even the Personal Onion Router To Assure Liberty to have on demand TOR access.


- TP-LINK TL-MR3020 3G/4G Wireless N150 Portable Router
- Adafruit PowerBoost 500 Basic - 5V USB Boost @ 500mA from 1.8V+
- Kingston FCR-MRG2 USB MicroSDHC card reader
- MicroSD card (16GB+ recommended)
- Mini USB Type B Plug Male 180 Degree Connector
- Plastic identity badge holder (or whatever case you want)
- Adafruit Lithium Ion Polymer Battery - 3.7v 500mAh (size up to you)
- Basic single core wires
- Insulating tape


- Soldering iron
- Desolder pump
- Solder wick/tape (optional)
- Wire cutters / strippers
- Hot glue gun (optional)


Step 1. First you need to get a MicroSD card and set up your PirateBox. Follow this how-to and come back once you're up and running. Remember we're using the MR3020 so follow those specific instructions.

Step 2. Unplug all the connectors from your router and put the MicroSD card somewhere safe. Do not erase/overwrite the contents of the card or you will fuck your router up. It will be very difficult to restore.

Step 3. Take a little screwdriver or something similar and pry off the top grey part of the case. Be careful not to damage the board inside when you're poking around. (view photo)

Step 4. Remove the board from the casing. There is some glue on the underside so be careful not to yank it out. (view photo)

Step 5. Desolder the connections for the ethernet and USB ports and remove the connectors. We won't be needing them anymore, so you can bend and break to get them free. Just be careful. (view photo)

Step 6. Now we need to wire the USB MicroSD card reader to the board. This part was very challenging for me and quite fiddly. First, solder the correct wire colors to the metallic connection areas on the USB MicroSD reader. Then you have to solder in those wires to the correct areas on the board. I used to help me here. (view photo)

Once in place, I bent the card reader over and thankfully it fit perfectly in a little nook on the board. I then added some hot glue to keep it in place. Be careful to check that none of the exposed wires are touching.

Oh yeah I also added some insulation tape around the MicroSD reader to stop possible shorting.

Step 7. Power up and cross your fingers! If it boots up properly and you can connect, move on to the next step.

Step 8. We now have to add a custom mini USB connector to our Adafruit PowerBoost board. What this does is makes sure the power output from the battery is at 5v and plays well with the router board. (view photo)

This is also pretty fiddly work so be patient. The wires are very short (especially for ground). I soldered the wires in a right angle configuration so it would fit into the plastic pouch, but you can obviously do it however you want.

Step 9. The moment of truth. Connect the PowerBoost USB connector into the MR3020, then connect the battery to the JST connector on the PowerBoost.

It should (hopefully) power up and start working. Stuff it into whatever case you want and off you go! (view photo)