[PR #94] [MERGED] [lemmy] Add Support for Lemmy #95

Closed
opened 2025-10-31 16:57:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/feeddeck/feeddeck/pull/94 **Author:** [@ricoberger](https://github.com/ricoberger) **Created:** 12/2/2023 **Status:** ✅ Merged **Merged:** 12/2/2023 **Merged by:** [@ricoberger](https://github.com/ricoberger) **Base:** `main` ← **Head:** `lemmy-add-support-for-lemmy` --- ### 📝 Commits (1) - [`e643f32`](https://github.com/feeddeck/feeddeck/commit/e643f32d9f7851e8b9d5af315d13b3860ea30229) [lemmy] Add Support for Lemmy ### 📊 Changes **17 files changed** (+711 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. <!-- Keep PR title verbose enough and add prefix telling about what source it touches e.g "[rss] Add feature xyz" or if the the PR is not realated to a source use "[core]", e.g. "[core] Fix xyz". If you add a breaking change within your PR you should add ":warning:" to the title, e.g. ":warning: [core] My breaking change" --> <!-- Description of what have been changed. Please also reference an issue, when available. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-10-31 16:57:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/feeddeck#95