The tunable molecular structure, large surface area, and porosity of covalent organic frameworks (COFs), a class of crystalline polymers with potential applications in energy, semiconductor devices, sensors, filtration systems, and drug delivery, have been made possible by a rapid, inexpensive, and scalable method developed by materials scientists at Rice University.