#lemmy #user #reddit #back-end #augmentation #fediverse #flairs

bin+lib flair

Flair is an augmentation for Lemmy, adding user flairs like Reddit

3 releases

0.0.2 Sep 6, 2023
0.0.1 May 1, 2023
0.0.0 May 1, 2023

#1328 in HTTP server

MIT license

20KB
246 lines

Flair

An augmentation for Lemmy that adds user flair support to the backend.

API Reference

Get a user's flairs

  GET /user
Parameter Type Description
id number Required. Lemmy user ID

Add a user to database

  POST /user

Body

{
    special: bool,
    ref_id: string,
    pos: number
    flair: number // Reference to flair ID
    path?: string
}

Dependencies

~48MB
~800K SLoC