Danshensu inhibits SARS-CoV-2 by targeting its main protease as a specific covalent inhibitor and discovery of bifunctional compounds eliciting antiviral and anti-inflammatory activity.