feat(mastodon): add Mastodon home timeline source#62
Open
johanneswilm wants to merge 12 commits into
Open
Conversation
Add support for Mastodon home timelines as a feed source. - New com.saulhdev.feeder.manager.mastodon package with OAuth registration, token exchange, secure EncryptedSharedPreferences storage, API client, and status-to-article parser. - New SourceListPage menu item to add a Mastodon account. - MastodonAddPage + MastodonCallbackPage handle the OAuth flow using nf-mastodon://callback deep links. - Feed model extended with sourceType column (DB migration 8→9) so Mastodon sources are identified cleanly instead of misusing URL schemes. - RssLocalSync dispatches Mastodon feeds to MastodonFeedSync and keeps the RSS path unchanged. - New preference 'Max Mastodon items per feed' (default 20) to prevent the timeline from overwhelming RSS sources. - Strings added in English and French.
…writing edits The edit page is shown inside a ListDetailPaneScaffold and the ViewModel is activity-scoped, so the cached StateFlow can contain stale values after saving. Load the feed directly from the repository when the page opens, and stop resetting editState on every viewState emission so user toggles are not overwritten before save.
… words The blocked-words filter only applied to articles fetched after the word was added. When a word is added or removed, scan existing enabled articles and delete those whose title/description/content contain any blocked word.
The nav_bar_bg view uses ?attr/bottomSheetNavBarColor, which is not defined in the system's bottom-sheet dialog theme overlay and caused an inflation crash when opening the filter sheet. Use a direct translucent color instead.
johanneswilm
marked this pull request as ready for review
July 11, 2026 07:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for Mastodon home timelines as a content source in Neo Feed.
What it does:
Database: adds sourceType, requireLink, requireImage and excludeReplies columns via migrations 8→9, 9→10 and 10→11. Existing RSS feeds default to 'rss'.
Closes the request to add Mastodon home-timeline support to Neo Feed.