🐀 Building a federated link aggregator in rust
Go to file
Enzo Nocera 8a05c8f8be
fix: Cross-compilation to ARM64 (#4142)
* feat(docker/docs): explain how building lemmy works

Signed-off-by: Enzo NOCERA <enzo@nocera.eu>

* feat: add arm build

* review: rename script & fix typo

* feat(ci): allow cross platform compilation

* feat(ci): prettier

* fix(docker): fix base image name

* fix: add dockerfile in CI path

Signed-off-by: Enzo Nocera <enzo@nocera.eu>

* fix(docker): fix runner name

* fix(docker): fix builder base image

* fix(docker): fix builder base image platform

* fix(docker): avoid using the wrapper adduser/addgroup

* feat: avoid adding the whole docker directory in the build context

---------

Signed-off-by: Enzo NOCERA <enzo@nocera.eu>
Signed-off-by: Enzo Nocera <enzo@nocera.eu>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
2023-11-24 12:52:19 -05:00
.cargo Upgrade pictrs to 0.5.0-beta.2 (#4194) 2023-11-24 07:44:17 -05:00
.github Update QUESTION.yml, remove UI (#3807) 2023-08-03 05:12:21 -04:00
api_tests Upgrading deps. (#4196) 2023-11-24 10:29:41 +01:00
config Add upload_timeout to PictrsConfig (#4159) 2023-11-17 04:01:32 -05:00
crates Upgrade pictrs to 0.5.0-beta.2 (#4194) 2023-11-24 07:44:17 -05:00
docker fix: Cross-compilation to ARM64 (#4142) 2023-11-24 12:52:19 -05:00
migrations Setting rank column defaults to a small number. Fixes #4178 (#4191) 2023-11-23 20:39:46 -05:00
readmes Add Japanese README (#3620) 2023-07-17 11:05:14 -04:00
scripts Use rust 1.74.0 in CI and move clippy lints to Cargo.toml (#4170) 2023-11-21 08:51:22 -05:00
src Remove pictrs config section old_db (#4199) 2023-11-24 11:26:21 -05:00
.dockerignore fix: Cross-compilation to ARM64 (#4142) 2023-11-24 12:52:19 -05:00
.gitattributes Added gitattributes to normalize all files to lf (#3386) 2023-06-29 10:16:11 +02:00
.gitignore Add api tests for image endpoints (#4150) 2023-11-16 23:43:40 -05:00
.gitmodules WIP: Email localization (fixes #500) (#2053) 2022-03-24 15:25:51 +00:00
.rustfmt.toml Make lemmy_api_common wasm-compatible (#3587) 2023-07-14 10:45:18 +02:00
.woodpecker.yml fix: Cross-compilation to ARM64 (#4142) 2023-11-24 12:52:19 -05:00
Cargo.lock Upgrade pictrs to 0.5.0-beta.2 (#4194) 2023-11-24 07:44:17 -05:00
Cargo.toml Upgrade pictrs to 0.5.0-beta.2 (#4194) 2023-11-24 07:44:17 -05:00
CONTRIBUTING.md Fix contributing link (#3015) 2023-06-12 11:04:47 +02:00
diesel.toml Adding diesel enums for SortType and ListingType (#2808) 2023-04-17 15:19:51 -04:00
LICENSE Initial commit 2019-02-14 09:17:18 -08:00
README.md Fixing the desktop image on the README. (#4135) 2023-11-07 11:05:12 +01:00
RELEASES.md Change RELEASES.md to link to join-lemmy.org news (#3997) 2023-10-02 10:55:23 +02:00
SECURITY.md Add link to githubs new issue button for security advisories. Fixes #3734 (#4107) 2023-10-25 16:50:56 +02:00

GitHub tag (latest SemVer) Build Status GitHub issues Docker Pulls Translation status License GitHub stars Delightful Humane Tech

English | Español | Русский | 汉语 | 漢語 | 日本語

Lemmy

A link aggregator and forum for the fediverse.

Join Lemmy · Documentation · Matrix Chat · Report Bug · Request Feature · Releases · Code of Conduct

About The Project

Desktop Mobile
desktop mobile

Lemmy is similar to sites like Reddit, Lobste.rs, or Hacker News: you subscribe to forums you're interested in, post links and discussions, then vote, and comment on them. Behind the scenes, it is very different; anyone can easily run a server, and all these servers are federated (think email), and connected to the same universe, called the Fediverse.

For a link aggregator, this means a user registered on one server can subscribe to forums on any other server, and can have discussions with users registered elsewhere.

It is an easily self-hostable, decentralized alternative to Reddit and other link aggregators, outside of their corporate control and meddling.

Each Lemmy server can set its own moderation policy; appointing site-wide admins, and community moderators to keep out the trolls, and foster a healthy, non-toxic environment where all can feel comfortable contributing.

Why's it called Lemmy?

Built With

Features

  • Open source, AGPL License.
  • Self hostable, easy to deploy.
  • Clean, mobile-friendly interface.
    • Only a minimum of a username and password is required to sign up!
    • User avatar support.
    • Live-updating Comment threads.
    • Full vote scores (+/-) like old Reddit.
    • Themes, including light, dark, and solarized.
    • Emojis with autocomplete support. Start typing :
    • User tagging using @, Community tagging using !.
    • Integrated image uploading in both posts and comments.
    • A post can consist of a title and any combination of self text, a URL, or nothing else.
    • Notifications, on comment replies and when you're tagged.
      • Notifications can be sent via email.
      • Private messaging support.
    • i18n / internationalization support.
    • RSS / Atom feeds for All, Subscribed, Inbox, User, and Community.
  • Cross-posting support.
    • A similar post search when creating new posts. Great for question / answer communities.
  • Moderation abilities.
    • Public Moderation Logs.
    • Can sticky posts to the top of communities.
    • Both site admins, and community moderators, who can appoint other moderators.
    • Can lock, remove, and restore posts and comments.
    • Can ban and unban users from communities and the site.
    • Can transfer site and communities to others.
  • Can fully erase your data, replacing all posts and comments.
  • NSFW post / community support.
  • High performance.
    • Server is written in rust.
    • Front end is ~80kB gzipped.
    • Supports arm64 / Raspberry Pi.

Installation

Lemmy Projects

Support / Donate

Lemmy is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project.

Crypto

  • bitcoin: 1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK
  • ethereum: 0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01
  • monero: 41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV
  • cardano: addr1q858t89l2ym6xmrugjs0af9cslfwvnvsh2xxp6x4dcez7pf5tushkp4wl7zxfhm2djp6gq60dk4cmc7seaza5p3slx0sakjutm

Contributing

Translations

Contact

Code Mirrors

Credits

Logo made by Andy Cuccaro (@andycuccaro) under the CC-BY-SA 4.0 license.