An easy way to identify high performing covalent organic frameworks for hydrogen storage.