You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Coma Grayce 2f6fb51c49
Merge remote-tracking branch 'upstream/main' into downstream
1 day ago
.github Try to use correct tags. 5 days ago
ansible Version v0.7.47 1 day ago
docker Version v0.7.47 1 day ago
docs Merge branch 'main' into federation-authorisation 2 days ago
server Merge remote-tracking branch 'upstream/main' into downstream 1 day ago
ui Merge remote-tracking branch 'upstream/main' into downstream 1 day ago
.dockerignore Fugg. DDD: 2 weeks ago
.gitattributes Adding repo language in gitattributes. 11 months ago
.gitignore Merge remote-tracking branch 'upstream/main' into bump_to_v0.7.38 1 week ago
.travis.yml Only deploy on tags. 2 weeks ago
LICENSE Initial commit 1 year ago Minor thingy. 2 weeks ago Adding release notes. 3 days ago Split code into cargo workspaces (#67) 4 weeks ago

( ͡° ͜ʖ ͡°)

Lenny is a fork of a link aggregator — Lemmy. Sadly, it only exist because of disrespectful behavior of the original author.

To maintain stability, this fork has a little no changes, but:

  • the main reason, completely removed “slur filter” — the ugliest way to block words;
  • a bit cleaned up UI — removed “sponsors” page and useless right-down panel;
  • a new default theme — Pleroma, based on light theme of the Pleroma project;
  • allowed <sub>text</sub> and <sup>text</sup> HTML tags as ~text~ and ^text^ upstreamed!;
  • a muffin logo (by MLP Vector Club).

The Lemmy Problem

static ref SLUR_REGEX: Regex = RegexBuilder::new(r"(fag(g|got|tard)?|maricos?|cock\s?sucker(s|ing)?|\bn(i|1)g(\b|g?(a|er)?(s|z)?)\b|dindu(s?)|mudslime?s?|kikes?|mongoloids?|towel\s*heads?|\bspi(c|k)s?\b|\bchinks?|niglets?|beaners?|\bnips?\b|\bcoons?\b|jungle\s*bunn(y|ies?)|jigg?aboo?s?|\bpakis?\b|rag\s*heads?|gooks?|cunts?|bitch(es|ing|y)?|puss(y|ies?)|twats?|feminazis?|whor(es?|ing)|\bslut(s|t?y)?|\btr(a|@)nn?(y|ies?)|ladyboy(s?)|\b(b|re|r)tard(ed)?s?)").case_insensitive(true).build().unwrap();


We are never going to remove the slur filter completely (or add an option to that effect), because we dont want to make it easy for right-wingers to use Lemmy. We can talk about removing or changing specific words, but in general I dont think there is anything wrong with writing “b*tch” or something like that.

I’ll have to think about this. Hard-coding it means I don’t have to do a database migration every time someone comes up with a new slur. And putting it in a DB table means someone could very easily remove it by deleting every row of that table, which isn’t good. I want to make it very difficult for racist trolls to use the most updated version of Lemmy.

This is bullshit.


The easiest way to build this project is using Podman (or Docker).

Take a look at shtripok/rust-musl-builder container. You can use it both in coding process and building production images.

Here is an example how to setup a coding environment:

git clone && cd lenny
podman pull shtripok/rust-musl-builder:arm
podman run -it --rm -v ./:/home/rust/src:Z shtripok/rust-musl-builder:arm /bin/bash
cd server && cargo build

To build a production container image:

podman build -t lenny -f ./docker/prod/Dockerfile .

To use public container registry:

podman pull