Just search Amazon or eBay for "project box", and you'll get tons of results for normal project boxes that don't look as crappy as using electrical junction boxes, and are available in smaller sizes
Of course, those are just for scrubs like us who don't have 3d printers to print up custom boxes (though some effort would be needed to waterproof one acceptably, for OP's project).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I thought I posted here already...
Just search Amazon or eBay for "project box", and you'll get tons of results for normal project boxes that don't look as crappy as using electrical junction boxes, and are available in smaller sizes
Of course, those are just for scrubs like us who don't have 3d printers to print up custom boxes (though some effort would be needed to waterproof one acceptably, for OP's project).