Lemmy
Federated, open-source link aggregator and Reddit alternative built on the ActivityPub protocol.
Why consider Lemmy?
Lemmy is a self-hosted, federated link aggregator and community platform similar to Reddit. It uses the ActivityPub protocol to interconnect with other Fediverse instances.
Learn Lemmy by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide10 sections
What is Lemmy?
Lemmy is an open-source, federated link aggregator and community discussion platform developed with Rust and TypeScript. It operates as a privacy-respecting, self-hostable alternative to commercial link aggregation platforms like Reddit and Hacker News.
Built on the ActivityPub decentralization protocol, Lemmy connects thousands of independently operated community instances (servers) into the Fediverse—a decentralized social network. Users on any Lemmy instance can subscribe to communities on other servers, vote on posts and comments, and interact across instance boundaries without centralized platform ownership.
Who Is It For?
- Community Builders: Launching niche discussion forums around technology, gaming, news, or hobbies with complete ownership of rules and data.
- Privacy Advocates: Participating in decentralized social discussion without submitting personal data to advertising-funded platforms.
- Open-Source Advocates: Running federated infrastructure that cannot be sold, acquired, or shut down by a single corporate entity.
Key Features
- Federation via ActivityPub: Interconnect with other Lemmy instances and compatible Fediverse platforms (Mastodon, Misskey, Pleroma).
- Community moderation tools: Moderators can pin posts, remove spam, ban users, and configure community-specific posting rules.
- Cross-posting and content aggregation: Share links, text posts, and image posts across federated communities.
- Advanced content ranking with multiple sort modes: Hot, Top, New, Active, Most Comments, and Scaled scoring algorithms.
- Mobile-friendly apps: Official Lemmy apps plus third-party clients (Jerboa for Android, Voyager for iOS).
Deploying Lemmy with Docker Compose
# 1. Clone the official Lemmy deployment repositorygit clone https://github.com/LemmyNet/lemmy-ansible.gitcd lemmy-ansibleOr use the official Docker Compose approach:
mkdir lemmy && cd lemmywget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/docker-compose.ymlwget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/lemmy.hjsonConfigure lemmy.hjson with your domain name and federation settings:
{ hostname: "lemmy.example.com" admin_username: "admin" admin_password: "your_secure_admin_password" database: { password: "secure_database_password" }}Start the stack:
docker compose up -dPractical Use Cases
1. Technology Community Hub
A tech enthusiast launches lemmy.tech-community.net, hosting curated communities for Rust, Linux, and DevOps discussions — fully federated with other technology-focused Lemmy instances.
2. Local Neighborhood Forum
A city neighborhood association runs a private Lemmy instance for local residents to discuss events, services, and community announcements.
3. Cross-Instance Fediverse Participation
A Mastodon user follows a Lemmy community directly from their Mastodon account, receiving Lemmy post updates in their Mastodon timeline via ActivityPub federation.
Troubleshooting and Limitations
- Domain and SSL Requirements: Lemmy requires a public FQDN (domain name) with HTTPS for federation to work; configure Nginx with Let's Encrypt before registering with the Lemmy instance list.
- Federation Delays: Cross-instance federation can take minutes to propagate; remote community subscriptions may lag during high-activity periods.
Official Resources
- Official Website: https://join-lemmy.org
- GitHub Repository: https://github.com/LemmyNet/lemmy
- Documentation: https://join-lemmy.org/docs
Related tools
More options with a similar category or technology profile.