CubeX is a home-scale wastewater and solid waste treatment system that enables households to process all of their organic waste on site effortlessly. The CubeX is a fully automated unit with a small footprint that is connected to the sewage line, and can effectively eliminate the need for septic tank servicing. What makes the CubeX unique is that it means users can recover resources from their waste such as energy and fertilizer while processing water.