This DIY from Chris Robinson of NODE will show you how to build your own Linux computer from a USB charger. It uses a Raspberry Pi, a compatible ODROID board, and runs on Raspbian OS.
In this article, I will tell you about how you can make a small Linux computer from a USB charger.

In the past, Chris has made projects like portable Raspberry Pi -powered Linux terminals, and the Linux computer project is even smaller. This Linux computer fits inside a modified USB charger plug and runs on very low power.
This design uses the ODROID-W development board, which is compatible with Raspberry Pi and Raspbian. Additionally, you will need a USB charger with US, UK and EU attachments so you can use it in all countries. Other materials include a Wi-Fi adapter, a micro SD card and a few other small things.
Assembling all of this together isn't too difficult if you have a basic knowledge of soldering.
You just need to plug in the charger and stay within WiFi range. Chris writes that you can use it for applications like running a personal file/media server, a TOR relay, a Bitcoin node, your personal VPN, a silent motion alarm with an RPi Camera, a pentesting tool, or just remote Linux usage.
Besides WiFi, you can use a USB Ethernet to connect it. Since you will be working with electrical components, follow Chris' instructions carefully.
So, if you're interested in building this little Linux computer from a USB charger, follow this link for a detailed tutorial. Good luck.
