MCPcopy Create free account

hub / github.com/samuelclay/NewsBlur / functions

Functions5,735 in github.com/samuelclay/NewsBlur

↓ 3 callersMethodextract_listing_path_and_sort
Map a Reddit feed URL to an OAuth API listing path and sort. Examples: https://www.reddit.com/r/python/.rss -> ("r/pytho
utils/reddit_fetcher.py:100
↓ 3 callersFunctionextract_user_agent
(request)
utils/user_functions.py:135
↓ 3 callersMethodfeature_count
(self, feature, category)
apps/analyzer/classifier.py:38
↓ 3 callersMethodfeed
Retrieve the stories from a single feed.
archive/api/newsblur.py:100
↓ 3 callersMethodfeedSetFromFolderName
(@NonNull String folderName)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1906
↓ 3 callersMethodfeed_guid_hash_unsaved
(cls, feed_id, guid)
apps/rss_feeds/models.py:3608
↓ 3 callersMethodfetch_channel_icon_url
Fetch the YouTube channel thumbnail URL for use as a feed favicon.
utils/youtube_fetcher.py:165
↓ 3 callersMethodfetch_manually
(self, skip_save=False, return_document=False)
apps/rss_feeds/text_importer.py:115
↓ 3 callersMethodfetch_original_text
(self, force=False, request=None, debug=False)
apps/rss_feeds/models.py:4261
↓ 3 callersMethodfind_similar_feeds
(cls, feed_ids=None, offset=0, limit=5)
apps/rss_feeds/models.py:1321
↓ 3 callersMethodflat
(self)
apps/reader/models.py:2972
↓ 3 callersFunctionfollow_host
(hosts, streams, found, hostname, command=None, path=None)
utils/tlnb.py:126
↓ 3 callersFunctionformatRelativeTime
(date)
clients/browser-extension/src/shared/utils.js:167
↓ 3 callersMethodformat_db_time
(self, seconds)
utils/request_introspection_middleware.py:104
↓ 3 callersFunctionformat_size
(size_bytes)
utils/backups/offsite_verify.py:73
↓ 3 callersMethodfromCursor
(final Cursor cursor)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Story.java:184
↓ 3 callersMethodfromCursor
(Cursor cursor)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Feed.java:108
↓ 3 callersMethodgenerate_post_to_service_message
(self, truncate=None, include_url=True)
apps/social/models.py:2487
↓ 3 callersMethodgenerate_token
(self, mode)
apps/push/models.py:138
↓ 3 callersMethodgetCacheDir
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FileCache.java:188
↓ 3 callersMethodgetFeedIcon
Get custom icon for a feed, or null if none set.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:125
↓ 3 callersMethodgetFeedSet
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:260
↓ 3 callersMethodgetFeedsUnreadCount
(@NonNull StateFilter stateFilter, @Nullable String selection, @Nullable String[] selArgs)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1004
↓ 3 callersMethodgetFirstParentName
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Folder.java:66
↓ 3 callersMethodgetGroupUniqueName
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:570
↓ 3 callersMethodgetRootFolderIndex
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:642
↓ 3 callersMethodgetSavedSearch
Get the cached SavedSearch object at the given saved search list location.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:982
↓ 3 callersMethodgetServerUrl
* Get the configured server URL * @returns {Promise<string>} Server URL
clients/browser-extension/src/lib/storage.js:196
↓ 3 callersMethodgetSizeInBytes
(Bitmap bitmap)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/MemoryCache.java:58
↓ 3 callersFunctionget_briefing_provider
Get a provider instance and model ID for the given briefing model name.
apps/ask_ai/providers.py:614
↓ 3 callersMethodget_cached_scores
Fetch cached classification scores from Redis. Returns dict of {story_hash: int_score} for cached stories only.
apps/analyzer/models.py:877
↓ 3 callersMethodget_cost_estimate
Get cost estimate for AI classifiers, optionally scoped to a specific feed.
apps/analyzer/vlm_usage.py:17
↓ 3 callersMethodget_current_window
(self)
utils/ip_rate_tracker.py:434
↓ 3 callersMethodget_daily_totals
Get daily totals for analyses, subscriptions, and unique users.
apps/statistics/rtrending_webfeeds.py:104
↓ 3 callersMethodget_effective_auto_mark_read_days
Returns the effective auto_mark_read_days setting following inheritance: feed -> folder (walking up nested hierarchy) -> site-wide
apps/reader/models.py:1626
↓ 3 callersMethodget_feed
(self, url, skip_user_agent=False)
utils/feedfinder_forman.py:40
↓ 3 callersMethodget_last_usage
Get token usage from the last API call. Returns: Tuple of (input_tokens, output_tokens)
apps/ask_ai/providers.py:60
↓ 3 callersMethodget_or_create_user
(cls, user_id)
apps/media_player/models.py:93
↓ 3 callersFunctionget_prompt_scores_or_queue
Read cached AI prompt classifier scores (cache-read-only). Classification happens at FeedFetch time, not at read time. This function only rea
apps/reader/views.py:995
↓ 3 callersFunctionget_readonly
Return True if readonly mode is enabled.
newsblur_mcp/newsblur_mcp/cli/auth.py:268
↓ 3 callersMethodget_stats_for_prometheus
(cls)
apps/statistics/rtrending_webfeeds.py:127
↓ 3 callersMethodget_tokens_for_user
(cls, user_id)
apps/notifications/models.py:83
↓ 3 callersMethodget_trending_stories
Get top trending stories based on accumulated read time over past N days.
apps/statistics/rtrending.py:175
↓ 3 callersMethodget_unique_users_for_period
Get unique user count for a period using set union. More accurate than summing daily counts.
apps/statistics/rllm_costs.py:566
↓ 3 callersMethodget_usage_billing_spend
Get current billing cycle spend from MLLMCost MongoDB records. Returns (current_spend_usd, limit_usd, is_limit_reached) tuple.
apps/profile/models.py:122
↓ 3 callersMethodget_usage_message
(self)
apps/ask_ai/usage.py:68
↓ 3 callersMethodhideStorySearch
(boolean clearText)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:539
↓ 3 callersMethodindex_archive
Index a single archive document. Args: archive: MArchivedStory instance
apps/archive_extension/search.py:481
↓ 3 callersMethodindex_story_for_discover
(self, verbose=False)
apps/rss_feeds/models.py:3735
↓ 3 callersMethodisAuthenticated
* Check if user is authenticated * @returns {boolean} True if authenticated
clients/browser-extension/src/lib/api.js:84
↓ 3 callersMethodisNormalFolder
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:620
↓ 3 callersMethodisRowRootFolder
Determines if the row at the specified position is last of the special rows, under which un-foldered "root level" feeds are created as children. Thes
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:638
↓ 3 callersMethodisValid
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/CustomIcon.java:31
↓ 3 callersMethodis_feed_data
(self, text)
utils/feedfinder_forman.py:54
↓ 3 callersFunctionjson_encode
The main issues with django's default json serializer is that properties that had been added to an object dynamically are being ignored (and
utils/json_functions.py:43
↓ 3 callersFunctionk
(b,d,e,g,i,k)
clients/ios/static/zepto.js:2
↓ 3 callersFunctionk
(b,d,e,g,i,k)
clients/ios/Resources/zepto.js:2
↓ 3 callersMethodlatest_for_user
(cls, user_id, limit=10, offset=0)
apps/briefing/models.py:69
↓ 3 callersMethodlatest_premium_payment_amount
Most recent real (non-refunded, positive) payment amount, or None. Used to identify grandfathered $12/$24 subscribers (apps/profile/models.py)
apps/profile/models.py:3712
↓ 3 callersMethodlaunchReadingActivity
(FeedSet feedSet, String storyHash)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1078
↓ 3 callersMethodlhood
(self, doc_smoothing, voc_smoothing)
apps/analyzer/archive/lda.py:148
↓ 3 callersFunctionlist_avds
(runtime: RuntimeConfig)
clients/android/run_android.py:275
↓ 3 callersFunctionloadBlocklist
* Load blocklist
clients/browser-extension/src/options/options.js:249
↓ 3 callersFunctionloadDataStats
* Load data statistics
clients/browser-extension/src/options/options.js:306
↓ 3 callersFunctionmarkRegex
(mk, pattern, score)
clients/android/NewsBlur/app/src/main/assets/classifierHighlights.js:45
↓ 3 callersMethodmark_story_sent
Mark channels as sent for a story so notification triggers don't re-send.
apps/notifications/models.py:738
↓ 3 callersMethodmeasureDesiredWidth
(View view)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:723
↓ 3 callersMethodmidnightToday
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/StoryUtils.java:107
↓ 3 callersFunctionmidnight_today
(now=None)
utils/story_functions.py:102
↓ 3 callersMethodmigrate_openrss_feed_address
Persist the Open RSS /feed/ correction for a legacy feed cached at the preview path, so it migrates once instead of re-correcting on every fet
utils/feed_fetcher.py:952
↓ 3 callersMethodmove_feed_to_folder
(self, feed_id, in_folder=None, to_folder=None)
apps/reader/models.py:2914
↓ 3 callersMethodneedsSubscriptionAccess
(FeedSet feedSet, PrefsRepo prefsRepo)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:703
↓ 3 callersMethodnewInstance
(Feed feed, String folderName)
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/DeleteFeedFragment.java:37
↓ 3 callersFunctionnormalizeUrl
(url)
clients/browser-extension/src/shared/utils.js:113
↓ 3 callersMethodnormalize_attrs
(self, attrs)
utils/feedfinder_pilgrim.py:138
↓ 3 callersFunctionnormalize_reader_metrics_read_filter
(read_filter, query=False)
apps/reader/metrics.py:69
↓ 3 callersFunctionnormalize_reader_metrics_source
(source)
apps/reader/metrics.py:63
↓ 3 callersMethodopenExternalBrowserApp
(Context context, Uri uri, String packageName)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:680
↓ 3 callersMethodopenrss_corrected_address
Rewrite a legacy Open RSS preview address to its actual /feed/ form. Open RSS serves a human-readable preview at the bare path and the real
utils/feed_fetcher.py:201
↓ 3 callersFunctionparse_show_servers_state
(output: str)
utils/haproxy_batch_state.py:32
↓ 3 callersMethodpreCheck
Synchronously check a URL/View pair to ensure the view isn't showing a stale mapping. Useful for legacy listviews that aren't smart enough to un-map
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/ImageLoader.java:66
↓ 3 callersMethodprocess
(self)
apps/feed_import/models.py:145
↓ 3 callersMethodread
(JsonReader in)
clients/android/NewsBlur/app/src/main/java/com/newsblur/serialization/BooleanTypeAdapter.java:17
↓ 3 callersMethodredis_connection
(self)
utils/reddit_fetcher.py:528
↓ 3 callersMethodrefresh_feed
(self)
utils/feed_fetcher.py:946
↓ 3 callersMethodrefund_premium
(self, partial=False, provider=None)
apps/profile/models.py:1853
↓ 3 callersFunctionremoveActiveLinkClass
( forceRemoval )
media/js/mobile/jquery.mobile-1.0b1.js:2383
↓ 3 callersMethodrender
(self, context)
utils/templatetags/utils_tags.py:361
↓ 3 callersFunctionrepresentative_title_words
Pre-compute the significant-word set for a representative story title. Exposed so callers iterating many siblings against the same representative
apps/clustering/models.py:69
↓ 3 callersMethodrequire_archive
Raise ArchiveRequiredError if the user is not premium archive.
newsblur_mcp/newsblur_mcp/client.py:58
↓ 3 callersMethodresetEmptyState
Indicate that the DB was cleared.
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:329
↓ 3 callersMethodreturnPendingArchives
* Return archives to the front of the queue (on sync failure) * @param {object[]} archives - Archives to return
clients/browser-extension/src/lib/storage.js:95
↓ 3 callersMethodrss_url
(self, secret_token=None)
apps/rss_feeds/models.py:4816
↓ 3 callersMethodrunStorySearchNow
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:956
↓ 3 callersFunctionrun_cmd
( runtime: RuntimeConfig, cmd: list[str], description: str | None = None, *, cwd: Path | N
clients/android/run_android.py:193
↓ 3 callersMethodsafeFolderFeedIds
(@Nullable Folder folder)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:967
↓ 3 callersFunctionsave_token
Save token data to disk with restricted permissions (0600).
newsblur_mcp/newsblur_mcp/cli/auth.py:117
↓ 3 callersMethodschedule_count_tags_for_user
(cls, user_id)
apps/rss_feeds/models.py:4589
↓ 3 callersMethodscrollToTop
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:357
↓ 3 callersMethodsecure_image_thumbnails
(cls, urls, size=192)
apps/rss_feeds/models.py:2746
← previousnext →801–900 of 5,735, ranked by callers