**Here's the English translation of the previous text:**
---
**X (formerly Twitter) is indeed the only major social network that has open-sourced (at least a significant part of) its recommendation algorithm.** Other platforms (Meta/Facebook+Instagram, TikTok, YouTube, LinkedIn, etc.) do not do this. Here's why it turned out this way.
### Why X did it
- **Elon Musk’s ideology**: After buying Twitter in 2022, Musk repeatedly criticized the previous management for turning the algorithm into a “black box” that allegedly had political bias and censorship. He promised **maximum transparency** as part of his mission to protect freedom of speech. The algorithm was open-sourced in 2023 (repository `twitter/the-algorithm`), and in 2026 an updated version was released (related to Grok/xAI).
- This is part of Musk’s philosophy: code transparency should lead to rapid product improvement through the community and reduce user distrust.
- X is a relatively “young” platform under new ownership, which can afford such experiments. Plus, it’s a good PR move.
### Why other social networks don’t open their code
1. **Trade secret and competitive advantage**
The algorithm is the main asset. It determines how much time users spend in the app, what posts they see, and therefore how much money the platform earns from advertising. Opening the code would allow competitors to copy or bypass the best practices.
2. **Protection against abuse**
Open code is easy to study and **game**: spam, bots, engagement farming, propaganda, harmful content. Companies spend billions on moderation and fear that hackers or state actors will use the knowledge against them.
3. **Business model**
Meta, ByteDance (TikTok), Google are public or huge corporations accountable to shareholders and regulators. They prefer to keep everything under internal control. Open-sourcing complicates monetization and personalization (data + algorithm = profit).
4. **Regulatory and legal risks**
Full openness could lead to lawsuits (bias, discrimination, privacy violations). It’s easier to keep everything closed and respond only to regulator requests (such as the DSA in Europe).
### Are there fully open alternatives?
Yes, but they are niche and much smaller in scale:
- **Mastodon**, **Pixelfed**, **Lemmy**, and other Fediverse projects — fully open source and decentralized.
- Bluesky also has an open protocol (AT Protocol).
- However, they don’t compete in audience size with X, Instagram, or TikTok.
**In short**: X open-sourced its code not because it’s “technically the right thing,” but because it aligns with the owner’s views and his strategy of building trust/transparency. For everyone else, it’s pure economics and control. Full openness of a large commercial algorithm is rare because the risks usually outweigh the benefits.
---
Would you like me to translate anything else or adjust the translation?