Here, using the Sonogashira coupling technique, a new fluorescent tetraphenylethene (TPE) and borondipyrromethene (BODIPY)-based CMP (TPE-BODIPY-CMP) was built and developed for usage in supercapacitors and Cu2+ ion detection. XPS, ssNMR, and FTIR techniques were used to validate the presence of the functional groups, aromatic carbons, and atoms [Si, B, C, N, O, and F] in the TPE-BODIPY-CMP framework. In the TPE-BODIPY-CMP, the calculated pore size, SBET, and carbon residue were 1.52–2.82 nm, 300 m2 g−1, and 67%, respectively. as per our electrochemical test, the capacitance stability [83.23% after 5000 cycles], and specific capacity of 176 F g−1 (0.5 A g−1) for TPE-BODIPY-CMP. We performed photoluminescence (PL) experiments on TPE-BODIPY-CMP to evaluate its capacity in cation detection [Cu2+, Pb2+, Al3+, Cr3+, Ni2+, Ce3+, Mg2+, Hg2+, Fe3+, Fe2+, Zn2+, and Ag+] and a limit of detection (LOD) of TPE-BODIPY-CMP toward Cu2+ ions was 2.5 × 10−7 M.