# LemmyNet/lemmy

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/lemmynet-lemmy).**

14,277 stars · 942 forks · Rust · agpl-3.0

## Links

- GitHub: https://github.com/LemmyNet/lemmy
- Homepage: https://join-lemmy.org
- awesome-repositories: https://awesome-repositories.com/repository/lemmynet-lemmy.md

## Topics

`activitypub` `chat` `fediverse` `lemmy` `link-aggregator` `reddit` `rust`

## Description

Lemmy is a self-hosted, federated discussion platform that enables the operation of independent, decentralized social networking servers. By implementing the ActivityPub protocol, it allows autonomous instances to exchange content, synchronize user interactions, and participate in a global, distributed network without centralized control.

The platform distinguishes itself through a decoupled architecture that separates the backend API from the frontend, facilitating the development of custom interfaces while maintaining unified user handles and cross-platform communication. It provides granular administrative and moderation tools, including public action auditing, role delegation, and the ability to manage federated connections, which allows administrators to enforce local community standards across the broader network.

The system supports a comprehensive suite of social features, including threaded conversations, content voting, and hierarchical discussion management. It is designed for scalability, utilizing asynchronous background processing and horizontal service partitioning to handle federation workloads and traffic efficiently. Administrators can further secure and customize their instances through integrated traffic controls, language filtering, and support for anonymous network routing.

The project provides containerized deployment workflows and automated database migration management to simplify the maintenance of self-hosted environments.

## Tags

### Web Development

- [Federated Social Servers](https://awesome-repositories.com/f/web-development/federated-social-servers.md) — Operates as a node in a decentralized social network, enabling content exchange across autonomous servers. ([source](https://join-lemmy.org/docs/users/05-censorship-resistance.html))
- [Federated Social Platforms](https://awesome-repositories.com/f/web-development/federated-social-platforms.md) — Hosts independent discussion platforms that communicate using open protocols for decentralized content sharing.
- [Federated Content Sharing](https://awesome-repositories.com/f/web-development/federated-social-platforms/federated-content-sharing.md) — Shares posts, comments, and user interactions with other compatible platforms to enable seamless network-wide communication. ([source](https://join-lemmy.org/docs/administration/administration.html))
- [Comment Synchronization](https://awesome-repositories.com/f/web-development/federated-social-servers/comment-synchronization.md) — Reflects replies made on other social platforms within the original discussion thread to keep conversations unified. ([source](https://join-lemmy.org/docs/users/06-fediverse-interaction.html))
- [Private Messaging Federation](https://awesome-repositories.com/f/web-development/federated-social-platforms/federated-content-sharing/private-messaging-federation.md) — Enables sending, updating, and deleting direct messages between users across different servers. ([source](https://join-lemmy.org/docs/contributors/05-federation.html))
- [Decoupled Architectures](https://awesome-repositories.com/f/web-development/backend-frontend-bridges/decoupled-architectures.md) — Separates the backend API from the frontend to facilitate custom interfaces while maintaining unified user handles. ([source](https://join-lemmy.org/docs/administration/separate_subdomains.html))
- [Frontend Interfaces](https://awesome-repositories.com/f/web-development/backend-to-frontend-bridges/frontend-interfaces.md) — Supports the development of custom user interfaces that connect to the backend API.

### Content Management & Publishing

- [Federated Engines](https://awesome-repositories.com/f/content-management-publishing/content-aggregation-curation/forums-communities/federated-engines.md) — Enables the operation of independent discussion communities with full control over data and cross-server federation. ([source](https://join-lemmy.org/docs/index.html))
- [Content Voting Systems](https://awesome-repositories.com/f/content-management-publishing/content-voting-systems.md) — Enables users to upvote or downvote posts and comments to determine their visibility and popularity within the community. ([source](https://join-lemmy.org/docs/users/03-votes-and-ranking.html))
- [Threaded Discussion Interfaces](https://awesome-repositories.com/f/content-management-publishing/threaded-discussion-interfaces.md) — Organizes comments into hierarchical threads to maintain context between replies in community discussions. ([source](https://join-lemmy.org/docs/users/03-votes-and-ranking.html))
- [Feed Filtering Heuristics](https://awesome-repositories.com/f/content-management-publishing/content-aggregation-curation/feed-filtering-heuristics.md) — Filters content visibility based on language tags at the instance level and user feed preferences. ([source](https://join-lemmy.org/docs/print.html))
- [Syndication Feed Generators](https://awesome-repositories.com/f/content-management-publishing/content-aggregation-curation/syndication-feed-generators.md) — Generates RSS and Atom feeds for posts and comments to allow external applications to track community activity. ([source](https://join-lemmy.org/docs/print.html))

### Networking & Communication

- [ActivityPub Implementations](https://awesome-repositories.com/f/networking-communication/activitypub-implementations.md) — Implements the ActivityPub protocol to enable decentralized social networking and cross-platform content federation.
- [Forum Software](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/communication-platforms/real-time-collaboration-suites/forum-software.md) — Provides a web-based application for operating independent discussion boards with granular moderation and user management.
- [Federated Protocols](https://awesome-repositories.com/f/networking-communication/federated-protocols.md) — Implements standard protocols for decentralized communication and content exchange between independent servers. ([source](https://join-lemmy.org/docs/administration/first_steps.html))
- [Reverse Proxies](https://awesome-repositories.com/f/networking-communication/networking/reverse-proxies.md) — Routes incoming web traffic to internal services while managing secure communication headers and encryption.
- [Group Membership Management](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/communication-paradigms/group-membership-management.md) — Tracks and synchronizes follower lists and community subscriptions across the federated network. ([source](https://join-lemmy.org/docs/contributors/05-federation.html))
- [Traffic Proxying](https://awesome-repositories.com/f/networking-communication/traffic-proxying.md) — Routes incoming web requests to the appropriate internal service to ensure traffic reaches the correct application component. ([source](https://join-lemmy.org/docs/administration/caddy.html))

### System Administration & Monitoring

- [Community Moderation Systems](https://awesome-repositories.com/f/system-administration-monitoring/moderation-tools/community-moderation-systems.md) — Provides comprehensive tools for managing discussions, filtering spam, and enforcing community standards in a federated environment. ([source](https://join-lemmy.org/docs/index.html))
- [Administrative Audit Logs](https://awesome-repositories.com/f/system-administration-monitoring/administrative-audit-logs.md) — Maintains public logs of administrative moderation actions to ensure transparency. ([source](https://join-lemmy.org/docs/users/05-censorship-resistance.html))
- [Unified Notification Feeds](https://awesome-repositories.com/f/system-administration-monitoring/alert-notification-systems/notification-retrieval-apis/unified-notification-feeds.md) — Combines all user alerts and moderation logs into one single feed to help users monitor account activity. ([source](https://join-lemmy.org/docs/contributors/09-api-v4.html))
- [Identity Customizers](https://awesome-repositories.com/f/system-administration-monitoring/administrative-operations/configuration-control-utilities/system-administration-tools/instance-settings/identity-customizers.md) — Allows administrators to customize site branding, descriptions, and operational details for a unique server presence. ([source](https://join-lemmy.org/docs/administration/first_steps.html))
- [Metrics Exporters](https://awesome-repositories.com/f/system-administration-monitoring/metrics-exporters.md) — Exposes internal performance data in standard formats for external monitoring tools. ([source](https://join-lemmy.org/docs/administration/prometheus.html))

### Data & Databases

- [Relational Database Persistence](https://awesome-repositories.com/f/data-databases/relational-database-persistence.md) — Uses relational databases to ensure consistent state management and reliable data persistence.
- [Database Backup Restoration](https://awesome-repositories.com/f/data-databases/data-governance-modeling/data-management-governance/backup-recovery-systems/database-backup-restoration.md) — Provides automated backup and restoration of database records and media files for data integrity. ([source](https://join-lemmy.org/docs/administration/backup_and_restore.html))
- [Database Schema Migrations](https://awesome-repositories.com/f/data-databases/database-management-systems/database-systems-management/database-management/database-schema-migrations.md) — Automates schema updates to ensure data store consistency during application upgrades. ([source](https://join-lemmy.org/docs/contributors/02-local-development.html))
- [Federated Forum Aggregators](https://awesome-repositories.com/f/data-databases/search-result-aggregators/federated-forum-aggregators.md) — Retrieves posts and comments from multiple federated instances in single requests to reduce network overhead. ([source](https://join-lemmy.org/docs/contributors/09-api-v4.html))
- [Cursor-Based Pagination](https://awesome-repositories.com/f/data-databases/data-access-querying/data-access-abstraction/cursor-based-pagination.md) — Uses encoded identifiers to move through large lists of data, ensuring consistent retrieval and preventing duplicates. ([source](https://join-lemmy.org/docs/contributors/09-api-v4.html))

### Security & Cryptography

- [Administrative Privilege Management](https://awesome-repositories.com/f/security-cryptography/administrative-privilege-management.md) — Provides administrative interfaces for managing elevated user roles and permissions across the platform. ([source](https://join-lemmy.org/docs/administration/first_steps.html))
- [Account Bans](https://awesome-repositories.com/f/security-cryptography/user-access-management/user-access-revocation/account-bans.md) — Bans users from communities or the entire platform and removes their content history to prevent malicious activity. ([source](https://join-lemmy.org/docs/users/04-moderation.html))
- [TLS Certificate Management](https://awesome-repositories.com/f/security-cryptography/governance-policy-frameworks/security-infrastructure/tls-certificate-management.md) — Automates the provisioning and management of security certificates to ensure encrypted communication. ([source](https://join-lemmy.org/docs/administration/install_docker.html))
- [Tor Gateways](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/network-security/network-routing-access-control/tor-gateways.md) — Routes traffic through anonymous networks to provide private access while maintaining public federation connectivity. ([source](https://join-lemmy.org/docs/administration/tor_hidden_service.html))
- [Rate Limiting & Abuse Prevention](https://awesome-repositories.com/f/security-cryptography/rate-limiting-abuse-prevention.md) — Enforces traffic caps based on client identifiers to protect system resources from abuse. ([source](https://join-lemmy.org/docs/contributors/04-api.html))

### Software Engineering & Architecture

- [Moderation Delegation](https://awesome-repositories.com/f/software-engineering-architecture/account-delegation-strategies/entity-delegations/moderation-delegation.md) — Assigns administrative privileges to specific users to distribute moderation responsibilities across the platform hierarchy. ([source](https://join-lemmy.org/docs/users/04-moderation.html))
- [Decoupled Architectures](https://awesome-repositories.com/f/software-engineering-architecture/decoupled-architectures.md) — Separates the backend API from the frontend to support custom interfaces and independent scaling.
- [Background Processing](https://awesome-repositories.com/f/software-engineering-architecture/background-processing.md) — Offloads resource-intensive tasks like federation and content ranking to background queues to maintain system responsiveness.
- [Content Flagging](https://awesome-repositories.com/f/software-engineering-architecture/project-management-governance/project-governance/licensing-legal/conduct-reporting/content-flagging.md) — Provides mechanisms for users to report content and hide unwanted posts to curate their experience. ([source](https://join-lemmy.org/docs/users/04-moderation.html))
- [Logic Decoupling](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/modular-decoupled-design/structural-design-paradigms/decoupled-logic-encapsulation/logic-decoupling.md) — Separates backend logic from the user interface to allow for the development of alternative frontends. ([source](https://join-lemmy.org/docs/contributors/04-api.html))
- [Content Ranking](https://awesome-repositories.com/f/software-engineering-architecture/sorting-algorithms/shell-sorts/content-sorting-rules/content-ranking.md) — Organizes posts and comments using popularity or controversy rankings to help users find relevant discussions. ([source](https://join-lemmy.org/docs/print.html))

### Business & Productivity Software

- [User Profile Management](https://awesome-repositories.com/f/business-productivity-software/user-profile-management.md) — Allows users to customize their public identity with display names, bios, and avatars. ([source](https://join-lemmy.org/docs/users/01-getting-started.html))
- [Forum Publishing Engines](https://awesome-repositories.com/f/business-productivity-software/content-publishing/forum-publishing-engines.md) — Submits content to external discussion forums by formatting data to meet specific community system requirements. ([source](https://join-lemmy.org/docs/users/06-fediverse-interaction.html))

### DevOps & Infrastructure

- [Self-Hosted Infrastructure](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-infrastructure.md) — Supports self-hosted server environments that maintain full control over user data and platform configuration.
- [Component Scaling](https://awesome-repositories.com/f/devops-infrastructure/cluster-scaling-orchestrators/component-scaling.md) — Enables horizontal scaling of specific service components like federation and background tasks to handle increased traffic. ([source](https://join-lemmy.org/docs/administration/horizontal_scaling.html))
- [Horizontal Scaling Tools](https://awesome-repositories.com/f/devops-infrastructure/horizontal-scaling-tools.md) — Partitions web, federation, and background services into independent processes to enable horizontal scaling.
- [Reverse Proxy Configurations](https://awesome-repositories.com/f/devops-infrastructure/reverse-proxy-configurations.md) — Routes incoming web traffic through proxy servers while preserving headers for secure inter-server communication. ([source](https://join-lemmy.org/docs/administration/install_docker.html))
- [Workload Partitioning](https://awesome-repositories.com/f/devops-infrastructure/traffic-management/workload-partitioning.md) — Partitions federation queues into parallel processes to optimize throughput and delivery reliability. ([source](https://join-lemmy.org/docs/administration/horizontal_scaling.html))

### Education & Learning Resources

- [Cross-Platform Subscriptions](https://awesome-repositories.com/f/education-learning-resources/professional-development-career/career-development/community-operations-engagement/community-infrastructure-platforms/cross-platform-subscriptions.md) — Allows users to follow discussions hosted on independent platforms to participate in cross-platform conversations. ([source](https://join-lemmy.org/docs/users/06-fediverse-interaction.html))

### User Interface & Experience

- [Browser-Based Interfaces](https://awesome-repositories.com/f/user-interface-experience/browser-based-interfaces.md) — Provides a browser-based client that renders server-side content for interactive discussion threads. ([source](https://join-lemmy.org/docs/administration/administration.html))

### Development Tools & Productivity

- [API Client Libraries](https://awesome-repositories.com/f/development-tools-productivity/api-client-libraries.md) — Provides a structured interface for third-party applications to access information through standard web requests. ([source](https://join-lemmy.org/docs/contributors/04-api.html))
