Covalent triazine frameworks (CTFs) are emerging as promising platform for photocatalysis, yet their highly symmetric structure leads to significant charge recombination. Herein, we employed a facile non-metallic boron (B) modification with precisely controlled doping site to introduce asymmetric local electron distribution in CTFs, achieving a 15-fold activity enhancement for CO