🐀 Building a federated link aggregator in rust
Find a file
Freakazoid182 43f20881cb
Feature/custom emoji and tagline views (#4580)
* Add custom_emoji list route

* Add tagline list route

* Apply linting

* Remove unecessary TaglineView

* Add category filter for custom emoji

* Add create tagline endpoint

* Add update tagline endpoint

* Add delete tagline endpoint

* Format through lint.sh

* Remove custom_emojis and taglines from site resource

* Get random tagline on site requets

* Impl Crud for Tagline

Remove superfluous properties

* Move tagline endpoints under /admin

* Impl Crud for CustomEmoji

* Remove delete from tagline and custom emoji impls

* Check  markdown for tagline

* Validate markdown on tagline

* Make content fields non optional

Add error types for tagline validation

* Use process_markdown instead of process_markdown_opt

* Consolidate Tagline error types

* Remove unecessary clone

* Updat misleading comments

* Remove local_site_id from tagline and custom_emoji

* Update TaglineInserForm and TaglineUpdateForm

* Add ignore_page_limits for custom emojis

EmojiPicker needs to be able to retrieve all emojis in 1 call

* Update custom_emoji_view

Only keep get_all als helper function calling list with paging ignored

Only order on category when filtering on category

* Removing pointless get_all fn.

* remove tagline length checks

* make fields of TaglineInsertForm and TaglineUpdateForm mandatory

* move emoji order statement

* add comment for GetSiteResponse.tagline

---------

Co-authored-by: Freakazoid182 <>
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2024-09-19 05:15:04 -04:00
.github Add SleeplessOne1917 to CODEOWNERS (#4558) 2024-03-22 18:31:45 -04:00
api_tests Adding ability to restore content on user unban. (#4845) 2024-09-18 09:11:42 -04:00
config federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
crates Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
docker Upgrading arm image. (#4962) 2024-08-05 22:25:18 -04:00
migrations Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
readmes Removing cardano, this was never used. (#4588) 2024-04-03 10:38:57 +02:00
scripts Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
src Feature/custom emoji and tagline views (#4580) 2024-09-19 05:15:04 -04:00
.dockerignore Fix entrypoint in Dockerfile (#4202) 2023-11-26 16:50:31 -05:00
.gitattributes Added gitattributes to normalize all files to lf (#3386) 2023-06-29 10:16:11 +02:00
.gitignore Reenable API tests that were accidentally skipped (#4259) 2023-12-13 09:29:10 -05:00
.gitmodules WIP: Email localization (fixes #500) (#2053) 2022-03-24 15:25:51 +00:00
.rustfmt.toml Configure max comment width in clippy (#4738) 2024-05-23 08:46:26 -04:00
.woodpecker.yml Fixing woodpecker warnings 1. (#5011) 2024-09-10 17:42:20 -04:00
Cargo.lock SSO Support (#4881) 2024-09-18 14:52:33 +02:00
Cargo.toml Removing embedded pict-rs. (#5023) 2024-09-16 11:08:18 -04:00
cliff.toml Removing renovate from git cliff (#4858) 2024-06-21 17:38:44 -04: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 Removing cardano, this was never used. (#4588) 2024-04-03 10:38:57 +02:00
RELEASES.md Change RELEASES.md to link to join-lemmy.org news (#3997) 2023-10-02 10:55:23 +02:00
renovate.json Adding renovate automerge. (#4927) 2024-07-30 09:41:06 -04: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

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.
    • 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.

Lemmy is made possible by a generous grant from the NLnet foundation.

Crypto

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

Contributing

Read the following documentation to setup the development environment and start coding:

When working on an issue or pull request, you can comment with any questions you may have so that maintainers can answer them. You can also join the Matrix Development Chat for general assistance.

Translations

Community

Code Mirrors

Credits

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