IRC
is a social media platform. The fact that it predates Github by two decades doesn’t mean it’s not social media. I don’t know know what you’re actually opposed to. A blanket disapproval of “social media” isn’t particularly meaningful, so there’s nothing of substance in your complaint to respond to.
I have no idea why you think browsers are a tool to facilitate surveillance to a greater extent than dedicated clients. If a nation state or corporation can compromise your browser, they can realistically compromise your entire OS.