Dimension-matched Ni-CAT-1/g-C 3 N 4 heterojunctions are synthesized with exceptional visible-light photoactivity for hydrogen evolution. The high electrical conductivity of Ni-CAT-1 enables rapid electron transport and facilitates charge separation.