|Coma Grayce 2f6fb51c49||1 day ago|
|.github||5 days ago|
|ansible||1 day ago|
|docker||1 day ago|
|docs||2 days ago|
|server||1 day ago|
|ui||1 day ago|
|.dockerignore||2 weeks ago|
|.gitattributes||11 months ago|
|.gitignore||1 week ago|
|.travis.yml||2 weeks ago|
|LICENSE||1 year ago|
|README.md||2 weeks ago|
|RELEASES.md||3 days ago|
|install.sh||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:
<sup>text</sup>HTML tags as
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 https://github.com/innereq/lenny && 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 quay.io/innereq/lenny