A green and sustainable approach was employed to synthesize N, O-codoped porous carbon nanorods with two-end-open characteristics. In this method, a crab shell was utilized as a template and activator, while egg white served as a carbon precursor. The resulting carbon nanorods sintered at 700 degrees C (CNRs-700), exhibited cross-linked pore channels, a high surface area, and abundant defects and active sites. These features imparted superior energy storage properties to the material, enabling its application as both an anode for lithium-ion batteries and a supercapacitor. The CNRs-700 demonst...