mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 15:12:10 -05:00
[PR #94] [MERGED] [lemmy] Add Support for Lemmy #95
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/94
Author: @ricoberger
Created: 12/2/2023
Status: ✅ Merged
Merged: 12/2/2023
Merged by: @ricoberger
Base:
main← Head:lemmy-add-support-for-lemmy📝 Commits (1)
e643f32[lemmy] Add Support for Lemmy📊 Changes
17 files changed (+711 additions, -6 deletions)
View changed files
📝
app/fonts/FDIcons.ttf(+0 -0)📝
app/lib/models/source.dart(+16 -0)📝
app/lib/utils/fd_icons.dart(+2 -0)📝
app/lib/widgets/item/details/item_details.dart(+6 -0)➕
app/lib/widgets/item/details/item_details_lemmy.dart(+87 -0)📝
app/lib/widgets/item/details/utils/item_youtube/item_youtube_video_web.dart(+29 -5)📝
app/lib/widgets/item/preview/item_preview.dart(+6 -0)➕
app/lib/widgets/item/preview/item_preview_lemmy.dart(+71 -0)📝
app/lib/widgets/source/add/add_source.dart(+5 -0)➕
app/lib/widgets/source/add/add_source_lemmy.dart(+130 -0)📝
app/templates/iconfont/config.json(+14 -0)📝
app/templates/iconfont/iconfont.afdesign(+0 -0)➕
app/templates/iconfont/lemmy.svg(+7 -0)📝
app/test/widgets/item/preview/utils/item_title_test.dart(+3 -1)📝
supabase/functions/_shared/feed/feed.ts(+10 -0)➕
supabase/functions/_shared/feed/lemmy.ts(+323 -0)📝
supabase/functions/_shared/models/source.ts(+2 -0)📄 Description
This commit adds support to add Lemmy RSS feeds to FeedDeck. A user can provide the url of an Lemmy instance, the url of a community or of an user.
The special thing of the Lemmy source in opposite to the normal RSS source is, that we parse the provided link form a feed item, to check if it contains a image, video or YouTube url, to apply some special formatting.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.