“…Since the first report on nitrogen-containing porous carbon (NCPC) in 2005 [ 1 ], an enormous amount of research has been performed to investigate new classes of NCPCs with higher conductivity, larger surface areas [ 2 , 3 ], and tunable pore sizes for potential applications in gas adsorption [ 4 , 5 , 6 ], catalysis [ 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 ], and energy storage and conversion devices [ 17 , 18 , 19 ]. When selecting the precursors for preparing NCPCs, aromatic conductive polypyrrole (PPy) is the preferred material due to its simple synthesis, high conductivity, environmental stability, and biocompatibility [ 20 , 21 , 22 , 23 , 24 , 25 ].…”