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 aa57d81268
Merge pull request #20 from innereq/bump_to_v0.8.0
5 days ago
.github HECK. 3 weeks ago
ansible Version v0.8.0 6 days ago
api_tests Adding optional community_name field to search. Fixes #1057 2 weeks ago
config Adding some comments to defaults.hjson (#1207) 6 days ago
docker Version v0.8.0 6 days ago
docs Adding references to lemmy types from docs. (#1203) 1 week ago
lemmy_api Merge remote-tracking branch 'upstream/main' into bump_to_v0.8.0 5 days ago
lemmy_apub reee 5 days ago
lemmy_db Fixing post community filter. Fixes #1187 1 week ago
lemmy_rate_limit Move websocket code into workspace (#107) 4 weeks ago
lemmy_structs Adding optional community_name field to search. Fixes #1057 2 weeks ago
lemmy_utils Merge remote-tracking branch 'upstream/main' into bump_to_v0.8.0 5 days ago
lemmy_websocket Move websocket code into workspace (#107) 4 weeks ago
migrations Fixing hot_rank_active fast triggers. Fixes #1190 1 week ago
migrations_testing/2020-01-13-025151_create_materialized_views Isomorphic docker (#1124) 1 month ago
query_testing Isomorphic docker (#1124) 1 month ago
src Fixing clippy. 6 days ago
tests Changing one more darkly to browser. #1163 2 weeks ago
.dockerignore Bleh. 4 weeks ago
.gitignore Merge remote-tracking branch 'upstream/main' into bump_to_v0.7.59 4 weeks ago
.rustfmt.toml Isomorphic docker (#1124) 1 month ago
Cargo.lock Adding API and APUB URL checks for banners and icons. Fixes #1199 (#1200) 1 week ago
Cargo.toml Updating deps. 1 week ago
LICENSE Initial commit 1 year ago
README.md Merge remote-tracking branch 'upstream/main' into downstream 2 weeks ago
RELEASES.md Adding to releases.md 6 days ago
clean.sh Isomorphic docker (#1124) 1 month ago
db-init.sh Isomorphic docker (#1124) 1 month ago
diesel.toml Isomorphic docker (#1124) 1 month ago
install.sh Isomorphic docker (#1124) 1 month ago
test.sh Isomorphic docker (#1124) 1 month ago

README.md

( ͡° ͜ʖ ͡°)

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;
  • new default themes — Pleroma, based on themes 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();

1c0cc78f3f

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.

https://github.com/LemmyNet/lemmy/pull/816#issuecomment-644694838

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.

https://github.com/LemmyNet/lemmy/issues/622#issuecomment-608707278

This is bullshit.

Development

For development environment you should have installed Rust toolchain and Node.js.

Backend

pacman -S rustup nodejs yarn npm
rustup update nightly
git clone https://github.com/innereq/lenny && cd lenny
cargo build

To build a production container you could use Podman or Docker.

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

Frontend

Frontend now is a separated standalone project.

git clone https://github.com/innereq/lenny-ui && cd lenny-ui
yarn
yarn build

To build a production container you could use Podman or Docker.

podman build -t lenny-ui .

Deploying

You can use our prebuilt container or build your own. Remember to choose a tag.

podman pull podman pull quay.io/innereq/lenny
podman pull podman pull quay.io/innereq/lenny-ui